joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401690
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4017f2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4017f2
mov eax, dword [ebp + 0x10]
cmp eax, 1
jb 0x4017f2
push esi
xor esi, esi
test eax, eax
je 0x4017e7
dec eax
push ebx
mov bl, byte [ebp + 0xa]
shr eax, 2
inc eax
push edi
lea edi, [ecx + 2]
mov dword [ebp + 0xc], eax
mov dl, byte [edi - 2]
cmp dl, 0x2b
jne 0x4016dc
mov dl, 0x3e
jmp 0x40170a
cmp dl, 0x2f
jne 0x4016e5
mov dl, 0x3f
jmp 0x40170a
cmp dl, 0x39
jg 0x4016ef
add dl, 4
jmp 0x40170a
cmp dl, 0x3d
je 0x401708
cmp dl, 0x5a
jg 0x4016fe
sub dl, 0x41
jmp 0x40170a
cmp dl, 0x7a
jg 0x401708
sub dl, 0x47
jmp 0x40170a
mov dl, 0x40
mov cl, byte [edi - 1]
cmp cl, 0x2b
jne 0x401716
mov cl, 0x3e
jmp 0x401744
cmp cl, 0x2f
jne 0x40171f
mov cl, 0x3f
jmp 0x401744
cmp cl, 0x39
jg 0x401729
add cl, 4
jmp 0x401744
cmp cl, 0x3d
je 0x401742
cmp cl, 0x5a
jg 0x401738
sub cl, 0x41
jmp 0x401744
cmp cl, 0x7a
jg 0x401742
sub cl, 0x47
jmp 0x401744
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
inc esi
mov al, byte [edi]
cmp al, 0x3d
je 0x40179d
mov bl, al
cmp bl, 0x2b
jne 0x401766
mov bl, 0x3e
jmp 0x40178f
cmp bl, 0x2f
jne 0x40176f
mov bl, 0x3f
jmp 0x40178f
cmp bl, 0x39
jg 0x401779
add bl, 4
jmp 0x40178f
cmp bl, 0x5a
jg 0x401783
sub bl, 0x41
jmp 0x40178f
cmp bl, 0x7a
jg 0x40178d
sub bl, 0x47
jmp 0x40178f
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [esi + edx], al
inc esi
mov al, byte [edi + 1]
cmp al, 0x3d
je 0x4017d9
cmp al, 0x2b
jne 0x4017ac
mov al, 0x3e
jmp 0x4017ce
cmp al, 0x2f
jne 0x4017b4
mov al, 0x3f
jmp 0x4017ce
cmp al, 0x39
jg 0x4017bc
add al, 4
jmp 0x4017ce
cmp al, 0x5a
jg 0x4017c4
sub al, 0x41
jmp 0x4017ce
cmp al, 0x7a
jg 0x4017cc
sub al, 0x47
jmp 0x4017ce
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [esi + edx], cl
inc esi
add edi, 4
dec dword [ebp + 0xc]
jne 0x4016d0
pop edi
pop ebx
mov byte [esi + edx], 0
mov eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc

Function at 0x403b30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push ecx
push 0x4039f0
push 0
push 0
mov dword [ecx], esi
call fcn.0040fd3c
add esp, 0x18
mov edi, eax
test esi, esi
jne 0x403ba4
test edi, edi
je 0x403ba4
push 0xffffffffffffffff
push edi
call dword [0x41d17c]
lea eax, [ebp - 8]
push eax
push edi
call dword [0x41d178]
test eax, eax
je 0x403ba4
cmp dword [ebp - 8], esi
jne 0x403ba4
push 0x1f4
call dword [0x41d180]
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0040fbae
mov esp, ebp
pop ebp
ret 4
Function at 0x404150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 8]
push esi
push 0
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 0xc]
push 0
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x920]
push eax
push 0x4039f0
push 0
push 0
mov dword [eax], 0x4041f0
call fcn.0040fd3c
mov esi, eax
add esp, 0x18
mov eax, 0x4041f0
test eax, eax
jne 0x4041d3
test esi, esi
je 0x4041d3
push 0xffffffffffffffff
push esi
call dword [0x41d17c]
lea eax, [ebp - 8]
push eax
push esi
call dword [0x41d178]
test eax, eax
je 0x4041d3
cmp dword [ebp - 8], 0
jne 0x4041d3
push 0x1f4
call dword [0x41d180]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040fbae
mov esp, ebp
pop ebp
ret

Function at 0x40dfc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x40dfe0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
lea ecx, [ecx]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x40e009
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x40e006
inc esi
cmp esi, edx
jb 0x40dff7
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x40e111
cmp ecx, 3
jbe 0x40e022
xor eax, eax
jmp 0x40e060
dec ecx
shl eax, cl
and eax, 7
je 0x40e060
movzx ecx, byte [eax + 0x422978]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x422970], 0
mov cl, byte [edx + 4]
je 0x40e04a
test cl, cl
je 0x40e04a
cmp cl, 0xff
jne 0x40e05d
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x40dff0
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x40e082
cmp cl, 0xff
je 0x40e082
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x40dff0
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x40e0de
movzx edx, byte [eax + 0x422978]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40e0ca
cmp dl, 0xff
jne 0x40e0de
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40e0a0
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x40dff0
pop esi
pop ebx
cmp ecx, 3
jbe 0x40e126
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4032e3
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x403ad8
call fcn.00403848
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x404380
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x403328
cmp eax, esi
jne 0x40331b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40332b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4032ff
xor esi, esi
inc esi
cmp dword [0x404384], esi
jne 0x40333d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x403377
cmp dword [0x404384], ebx
jne 0x403371
mov dword [0x404384], esi
push 0x4010f4
push 0x4010e8
call fcn.0040345c
pop ecx
pop ecx
test eax, eax
je 0x403377
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40344c
mov dword [0x404014], esi
cmp dword [0x404384], esi
jne 0x40339a
push 0x4010e4
push 0x4010dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x404384], 2
test edi, edi
jne 0x4033a7
xor eax, eax
mov ecx, 0x404380
xchg dword [ecx], eax
cmp dword [0x404388], 0
je 0x4033d3
push 0x404388
call fcn.004036a0
pop ecx
test eax, eax
je 0x4033d3
push ebx
push 2
push ebx
mov esi, dword [0x404388]
mov ecx, esi
call dword [0x4050f4]
call esi
push dword [0x404020]
push dword [0x40401c]
push dword [0x404018]
call fcn.00401560
add esp, 0xc
mov dword [0x404010], eax
cmp dword [0x404028], 0
jne 0x403431
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x404014], 0
jne 0x403445
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00566000
jmp 0x4032e3

Function at 0x403584
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403af8
call fcn.00403848
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4035e4
cmp eax, 0xffffffff
je 0x4035e4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4035dd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4035dd
cmp edx, 0x10000000
jae 0x4035dd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4035da
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403650
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40368e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403686
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403690
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403676
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4010b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e0252
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ecx, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
call fcn.004542a0
mov dword [esp + 0x38], 1
cmp dword [eax + 0x1c], 8
jb 0x401112
mov eax, dword [eax + 8]
jmp 0x401115
add eax, 8
push eax
push str._sdata
push esi
call dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0xc
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
jb 0x40113d
mov eax, dword [esp + 0x18]
push eax
call fcn.00460940
add esp, 4
xor ecx, ecx
mov word [esp + 0x18], cx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
call fcn.00401050
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x34
ret
Function at 0x404a20
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4e467a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
lea esi, [edi + 0xd1c]
lea eax, [esp + 0x1c]
mov dword [edi + 0xf04], 0
call fcn.00404ab0
lea eax, [esp + 8]
push eax
push 0
push edi
push 0x404c00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0xffffffff
call fcn.00404640
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1a4

Function at 0x404c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0xd18]
cmp eax, 1
jne 0x404cfa
push esi
call fcn.00405690
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0xbb9
mov ecx, edi
call dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x405100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xf04], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x404d0c
call fcn.004049b0
mov edx, dword [ebp + 0x10]
push edx
push 2
jmp 0x404d27
cmp eax, 3
jne 0x404d1e
call fcn.004049b0
mov eax, dword [ebp + 0x10]
push eax
push 3
jmp 0x404d27
test eax, eax
jne 0x404d3b
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push 0xbb9
mov ecx, edi
call dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405ad0
Capabilities:
Get routing table

Disassembly:
sub esp, 8
push edi
push 1
lea eax, [esp + 8]
xor edi, edi
push eax
push edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, 0x7a
jne 0x405b8c
mov ecx, dword [esp + 4]
push ebx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 1
lea edx, [esp + 0xc]
mov ebx, eax
push edx
push ebx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x405b82
push esi
xor esi, esi
cmp dword [ebx], edi
jbe 0x405b70
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
lea edi, [ebx + 8]
mov eax, dword [esp + 0x1c]
push eax
call ebp
cmp dword [edi - 4], eax
jne 0x405b3d
mov ecx, dword [esp + 0x20]
push ecx
call ebp
cmp dword [edi], eax
je 0x405b47
inc esi
add edi, 0x38
cmp esi, dword [ebx]
jb 0x405b26
jmp 0x405b6b
push 0x38
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [esi*8]
sub edx, esi
lea esi, [ebx + edx*8 + 4]
mov ecx, 0xe
mov edi, eax
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebx
mov eax, edi
pop edi
add esp, 8
ret 8
pop ebx
mov eax, edi
pop edi
add esp, 8
ret 8
mov eax, edi
pop edi
add esp, 8
ret 8

Function at 0x405ba0
Capabilities:
Get routing table

Disassembly:
sub esp, 8
push esi
push 1
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, 0x7a
jne 0x405c7b
mov ecx, dword [esp + 4]
push ebx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 1
lea edx, [esp + 0xc]
mov ebx, eax
push edx
push ebx
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x405c71
push edi
xor edi, edi
cmp dword [ebx], esi
jbe 0x405c5f
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
lea esi, [ebx + 8]
lea ebx, [ebx]
push str.255.255.255.255
call ebp
cmp dword [esi - 4], eax
jne 0x405c2c
push str.255.255.255.255
call ebp
cmp dword [esi], eax
jne 0x405c2c
mov eax, dword [esp + 0x1c]
push eax
call ebp
cmp dword [esi + 8], eax
jne 0x405c2c
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0xc], ecx
je 0x405c36
inc edi
add esi, 0x38
cmp edi, dword [ebx]
jb 0x405c00
jmp 0x405c5a
push 0x38
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [edi*8]
sub edx, edi
lea esi, [ebx + edx*8 + 4]
mov ecx, 0xe
mov edi, eax
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov eax, esi
pop esi
add esp, 8
ret 8
pop ebx
mov eax, esi
pop esi
add esp, 8
ret 8
mov eax, esi
pop esi
add esp, 8
ret 8
Function at 0x405c90
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x19c
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x405cf2
test esi, esi
jne 0x405cd7
push 0x43c
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCincludexstring
push str.invalid_null_pointer
call fcn.0045e230
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ce0
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.00402160
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x405d32
test esi, esi
jne 0x405d1a
push 0x43c
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCincludexstring
push str.invalid_null_pointer
call fcn.0045e230
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405d20
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.00402160
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
test esi, esi
jne 0x405d5d
push 0x43c
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCincludexstring
push str.invalid_null_pointer
call fcn.0045e230
add esp, 0xc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405d62
sub eax, edx
push eax
push esi
mov ecx, ebx
call fcn.00402160
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.00460640
add esp, 0x19c
ret
Function at 0x4084e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4dc1fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0045f550
push 0x1b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VCinclude_streambuf
mov dword [esp + 0x24], 0
call fcn.0045e110
push eax
push 4
call fcn.0045e020
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40856b
call fcn.0045ea10
mov dword [edi], eax
call fcn.0045e7e0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0045e1c0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408560
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0045e200
jmp 0x40856d
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40bb40
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
push 0
mov eax, edi
call fcn.0040ba80
mov ebx, dword [sym.imp.LibDui.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea esi, [edi + 0x30]
push 0x4f7d70
mov ecx, esi
call ebx
test eax, eax
je 0x40bb70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x4f7898
call eax
push str.autodo_tips
mov ecx, esi
call ebx
test eax, eax
je 0x40bb8b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x4f7898
call eax
push str.loginTab
mov ecx, esi
call ebx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x200]
push 0
call eax
lea ecx, [esp + 8]
push ecx
push 0
push edi
push 0x40bbd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ecx
ret
Function at 0x412000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3440
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
and dword [esp + 0x14], 0xfffffe00
mov dword [esp + 0x18], 0
push 1
push 1
lea eax, [esp + 0x14]
push eax
sub esp, 0x20
mov dword [esp + 0x54], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4f6168
call fcn.00401f40
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x54], esp
push str.outline
mov byte [esp + 0x78], 2
call fcn.00401f40
mov byte [esp + 0x74], 1
call fcn.00430880
add esp, 0x4c
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00444fd0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
Function at 0x4127d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dc19b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x488
call fcn.00463540
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x412854
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
mov eax, dword [esp + 0x1c]
mov dword [esi], vtable.CSettingWnd.0
mov dword [esi + 0x10], vtable.CSettingWnd.1.0
mov dword [esi + 0x20], vtable.CSettingWnd.2.0
mov dword [esi + 0x24], vtable.CSettingWnd.3.0
mov dword [esi + 0x28], vtable.CSettingWnd.4.0
mov dword [esi + 0x2c], vtable.CSettingWnd.5.0
mov dword [esi + 0x480], edi
mov dword [esi + 0x484], eax
jmp 0x412856
xor esi, esi
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0
push 0
push 0x100
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [edi + 4]
push str.settingui
push ecx
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 0x71
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
mov ecx, esi
call dword [sym.imp.LibDui.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x415690
Capabilities:
Create thread

Disassembly:
push ecx
inc dword [eax + 0x19f8]
lea ecx, [esp]
push ecx
push 0
push eax
push 0x415870
push 0
push 0
mov dword [eax + 0x19f4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret