joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cd24
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push edi
push eax
mov eax, dword [eax + 0x18]
push dword [eax]
lea ecx, [ebp - 0x70]
call fcn.0040af4f
mov eax, dword [esi + 0x24]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x7c]
call fcn.0040af4f
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040532a
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40ce68
lea ecx, [ebp - 0x70]
call fcn.0040b97d
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 4]
cmp byte [eax], 0
lea eax, [ebp + 0x1a0]
je 0x40cda1
push 0x4a4c7c
jmp 0x40cda6
push 0x4a437c
push 0x4a4710
push eax
call fcn.0042b6ee
add esp, 0xc
add ebx, 0xc
push ebx
lea eax, [ebp - 0x68]
push str.Is_s
push eax
mov dword [ebp - 0x80], ebx
call fcn.0042b6ee
add esp, 0xc
cmp dword [esi + 0xb0], 8
jb 0x40cddd
mov eax, dword [esi + 0x9c]
jmp 0x40cde3
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp + 0x1a0]
push eax
lea eax, [ebp - 0x68]
push eax
mov ebx, str.HotKey
push ebx
call edi
push dword [ebp - 0x80]
lea eax, [ebp - 0x68]
push str.Use_s
push eax
call fcn.0042b6ee
push dword [ebp - 0x74]
lea eax, [ebp + 0x1a0]
push 0x4a4710
push eax
call fcn.0042b6ee
add esp, 0x18
cmp dword [esi + 0xb0], 8
jb 0x40ce30
mov eax, dword [esi + 0x9c]
jmp 0x40ce36
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp + 0x1a0]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
call edi
lea ecx, [ebp - 0x70]
call fcn.0040537d
mov eax, dword [esi + 0x24]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x7c]
call fcn.0040af4f
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040532a
test al, al
je 0x40cd7b
cmp dword [esi + 0xe8], 8
jb 0x40ce81
mov eax, dword [esi + 0xd4]
jmp 0x40ce87
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.ModifyHotKey
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x40ceab
mov eax, dword [esi + 0xd4]
jmp 0x40ceb1
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.ModifyHotKey64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x40ced0
mov eax, dword [esi + 0xd4]
jmp 0x40ced6
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.TempModifyHotKey
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x40cef5
mov eax, dword [esi + 0xd4]
jmp 0x40cefb
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.TempModifyHotKey64
push ebx
call edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
jb 0x40cf1a
mov eax, dword [eax + 4]
jmp 0x40cf1d
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x40cf2e
mov esi, dword [esi + 4]
jmp 0x40cf31
add esi, 4
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 0x3a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0x3ac
leave
ret
Function at 0x40cd40
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push edi
push eax
mov eax, dword [eax + 0x18]
push dword [eax]
lea ecx, [ebp - 0x70]
call fcn.0040af4f
mov eax, dword [esi + 0x24]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x7c]
call fcn.0040af4f
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040532a
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x40ce68
lea ecx, [ebp - 0x70]
call fcn.0040b97d
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 4]
cmp byte [eax], 0
lea eax, [ebp + 0x1a0]
je 0x40cda1
push 0x4a4c7c
jmp 0x40cda6
push 0x4a437c
push 0x4a4710
push eax
call fcn.0042b6ee
add esp, 0xc
add ebx, 0xc
push ebx
lea eax, [ebp - 0x68]
push str.Is_s
push eax
mov dword [ebp - 0x80], ebx
call fcn.0042b6ee
add esp, 0xc
cmp dword [esi + 0xb0], 8
jb 0x40cddd
mov eax, dword [esi + 0x9c]
jmp 0x40cde3
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp + 0x1a0]
push eax
lea eax, [ebp - 0x68]
push eax
mov ebx, str.HotKey
push ebx
call edi
push dword [ebp - 0x80]
lea eax, [ebp - 0x68]
push str.Use_s
push eax
call fcn.0042b6ee
push dword [ebp - 0x74]
lea eax, [ebp + 0x1a0]
push 0x4a4710
push eax
call fcn.0042b6ee
add esp, 0x18
cmp dword [esi + 0xb0], 8
jb 0x40ce30
mov eax, dword [esi + 0x9c]
jmp 0x40ce36
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp + 0x1a0]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
call edi
lea ecx, [ebp - 0x70]
call fcn.0040537d
mov eax, dword [esi + 0x24]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x7c]
call fcn.0040af4f
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040532a
test al, al
je 0x40cd7b
cmp dword [esi + 0xe8], 8
jb 0x40ce81
mov eax, dword [esi + 0xd4]
jmp 0x40ce87
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.ModifyHotKey
mov ebx, str.SetModify
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x40ceab
mov eax, dword [esi + 0xd4]
jmp 0x40ceb1
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.ModifyHotKey64
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x40ced0
mov eax, dword [esi + 0xd4]
jmp 0x40ced6
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.TempModifyHotKey
push ebx
call edi
cmp dword [esi + 0xe8], 8
jb 0x40cef5
mov eax, dword [esi + 0xd4]
jmp 0x40cefb
lea eax, [esi + 0xd4]
push eax
push 0x4a4c7c
push str.TempModifyHotKey64
push ebx
call edi
lea eax, [esi + 0xb4]
cmp dword [eax + 0x18], 8
jb 0x40cf1a
mov eax, dword [eax + 4]
jmp 0x40cf1d
add eax, 4
add esi, 0x98
cmp dword [esi + 0x18], 8
jb 0x40cf2e
mov esi, dword [esi + 4]
jmp 0x40cf31
add esi, 4
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 0x3a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0x3ac
leave
ret
Function at 0x412a31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x412a79
call fcn.00412267
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x412a79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x412abc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412aa5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x412aa5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x412ab9
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41b625
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41b66c
call fcn.00412267
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b66c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41b688
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041b19d
mov esi, eax
test edi, edi
je 0x41b686
test ebx, ebx
je 0x41b686
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41be8b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x49fe4e
call fcn.0042b567
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41beb0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41bef6
lea ecx, [ebp - 0x10]
call fcn.0040eebf
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ecaa
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004011ec
mov eax, esi
call fcn.0042b63f
ret 8
Function at 0x42801f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x428043
cmp dword [edi + 0x54], 0
jne 0x428043
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00412267
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00427fe0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42b558
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d8668]
jne 0x42b562
repz ret
jmp fcn.00433d0c

Function at 0x43fc5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004328d2
and dword [ebp - 4], 0
cmp dword [0x4df63c], 0
mov ebx, eax
jne 0x43fd0d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43fdbe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43fdbe
push eax
call fcn.00432860
mov dword [esp], 0x4b13b4
push edi
mov dword [0x4df63c], eax
call esi
push eax
call fcn.00432860
mov dword [esp], 0x4b13a0
push edi
mov dword [0x4df640], eax
call esi
push eax
call fcn.00432860
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4df644], eax
call esi
push eax
call fcn.00432860
pop ecx
mov dword [0x4df64c], eax
test eax, eax
je 0x43fd0d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432860
pop ecx
mov dword [0x4df648], eax
mov eax, dword [0x4df648]
cmp eax, ebx
je 0x43fd65
cmp dword [0x4df64c], ebx
je 0x43fd65
push eax
call fcn.004328db
push dword [0x4df64c]
mov esi, eax
call fcn.004328db
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43fd65
test edi, edi
je 0x43fd65
call esi
test eax, eax
je 0x43fd5c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43fd5c
test byte [ebp - 0xc], 1
jne 0x43fd65
or dword [ebp + 0x10], 0x200000
jmp 0x43fd9e
mov eax, dword [0x4df640]
cmp eax, ebx
je 0x43fd9e
push eax
call fcn.004328db
pop ecx
test eax, eax
je 0x43fd9e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43fd9e
mov eax, dword [0x4df644]
cmp eax, ebx
je 0x43fd9e
push eax
call fcn.004328db
pop ecx
test eax, eax
je 0x43fd9e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4df63c]
call fcn.004328db
pop ecx
test eax, eax
je 0x43fdbe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43fdc0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448360
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x448392
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x4484e0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x4484fb
mov edx, dword [esi + 0xf4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x44852f
cmp eax, 2
jg 0x44852f
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x4b1fd0]
push 2
push edx
call fcn.0042d3a8
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.0042d3a8
add esp, 0x20
xor eax, eax
ret

Function at 0x448840
Capabilities:
Send data
Send data on socket

Disassembly:
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + eax*4 + 0x130]
push edi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [esp + 0x20]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebx], 0
jne 0x4488bd
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x448894
pop ebp
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push ebp
push esi
call fcn.0044c5c0
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.004486c0
mov ecx, dword [esi]
add esp, 0x14
mov dword [ecx + 0x856c], ebp
mov dword [ebx], 0x37
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x448ff0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4d8668]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
mov ebp, dword [esp + 0x118]
cmp dword [ebp + 0x19c], 0
push esi
push edi
mov edi, dword [ebp]
mov dword [esp + 0x14], edi
jne 0x44912b
mov esi, dword [esp + 0x124]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x80
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x44906c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044c5c0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.004486c0
add esp, 0x18
jmp 0x449134
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x9c]
push eax
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4490ac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044c5c0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.004486c0
add esp, 0x18
jmp 0x449134
lea ebx, [ebp + 0xcc]
lea edi, [ebp + 0x9e]
lea esi, [esp + 0x18]
call fcn.00448fb0
test eax, eax
jne 0x4490ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044c5c0
mov ecx, dword [esp + 0x1c]
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ecx
call fcn.004486c0
add esp, 0x18
jmp 0x449134
lea ebx, [ebp + 0x100]
lea edi, [ebp + 0xd0]
lea esi, [esp + 0x98]
call fcn.00448fb0
test eax, eax
jne 0x44912b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044c5c0
mov edx, dword [esp + 0x1c]
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edx
call fcn.004486c0
add esp, 0x18
jmp 0x449134
push ebp
call fcn.00448f50
add esp, 4
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042b558
add esp, 0x10c
ret

Function at 0x449150
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, dword [edi]
mov eax, dword [esi + 0x314]
push 4
lea ecx, [esp + 8]
push ecx
push 1
push 6
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x449193
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.0044c5c0
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00448630
add esp, 0x14
pop esi
pop ecx
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00448630
add esp, 8
pop esi
pop ecx
ret

Function at 0x4491b0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0x1001
push 0xffff
push esi
mov dword [esp + 0x1c], 0x4020
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x4491f9
mov edx, dword [esp + 4]
cmp edx, dword [esp + 8]
jg 0x449211
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 0xc
ret
Function at 0x44ac60
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x44ad04
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x44acd5
cmp word [ecx + 0xa], 4
jne 0x44acd5
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x44acd5
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.0044abf0
test eax, eax
mov dword [esi], eax
je 0x44acf8
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x44acb0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.0043ccae
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x44ad14.11001
jmp dword [eax*4 + 0x44ad38]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x44b570
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x4d8668]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x4df920], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x44afc0
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x44b2b0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.0044af70
je 0x44b5e2
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x4d9a54]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0042b558
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x44b6df
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.00437393
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.0043cc3a
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x44b65d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x44b6a4
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.00437393
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.0043cc3a
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x44b6db
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x44b70f
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x44b70f
add edi, 1
cmp edi, 3
jl 0x44b6a6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x4d9a54], edx
mov dword [0x4d9a5c], eax
mov dword [fcn.0044af70], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x4d9a54]
xor ecx, esp
mov dword [0x4df920], 1
call fcn.0042b558
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x44b6db

Function at 0x44bbe0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00431326
add esp, 0x18
test eax, eax
je 0x44bc03
cmp eax, 0xffffffff
jne 0x44bc05
xor eax, eax
ret
Function at 0x451700
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x4b1fcc
push ecx
call fcn.00448630
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.004508a0
test eax, eax
jne 0x451730
mov eax, esi
jmp fcn.00450d30
ret
Function at 0x451b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x4d8668]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp]
push esi
mov esi, dword [ebp + 0x3d0]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
lea edi, [esi + 0x15c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x451bcf
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.0042f9b0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x451c0a
push str.Received_too_short_packet
push ebx
call fcn.004486c0
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042b558
add esp, 0x88
ret
mov eax, edi
call fcn.00450a20
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x451c23
jmp dword [eax*4 + 0x451d10]
cmp edx, 4
jle case.0x451c23.4
mov eax, edi
call fcn.00450a30
movzx ecx, word [esi + 0x40]
add ecx, 1
cmp cx, ax
jne case.0x451c23.4
add edx, 0xfffffffc
push edx
mov edx, dword [edi]
add edx, 4
push edx
push 1
push ebp
call fcn.00448910
mov edi, eax
add esp, 0x10
test edi, edi
je 0x451c78
mov ecx, 5
mov eax, esi
call fcn.00451ac0
mov eax, edi
jmp 0x451bf1
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x38]
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x3c]
push eax
push ecx
push ebx
call fcn.0045d590
jmp 0x451ce4
mov eax, edi
call fcn.00450a30
movzx edx, ax
mov eax, dword [edi]
add eax, 4
push eax
push 0x4b1fcc
push ebx
mov dword [esi + 8], edx
call fcn.00448630
jmp 0x451ce4
mov ecx, dword [edi]
add edx, 0xfffffffe
push edx
add ecx, 2
push ecx
push esi
call fcn.00450ad0
add esp, 0xc
test eax, eax
je case.0x451c23.4
jmp 0x451bf1
push str.Internal_error:_Unexpected_packet
push 0x4ac82c
push ebx
call fcn.004486c0
add esp, 0xc
push ebp
call fcn.0045d650
add esp, 4
test eax, eax
je 0x451bef
mov ecx, 5
mov eax, esi
call fcn.00451ac0
mov eax, 0x2a
jmp 0x451bf1

Function at 0x453a80
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
mov edx, dword [edi + 0x130]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x453ac4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.004486c0
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.00453970
add esp, 4
pop esi
pop ecx
ret