joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ad90
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.0041d6a0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41ae47
push 0x4c2cf0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x41ae47
push ebx
push esi
lea eax, [ebp - 0x78]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, esi
jbe 0x41ae46
push edi
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, esi
je 0x41ae45
push edi
push ebx
push esi
lea eax, [ebp - 0x78]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41ae3e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4e58a0
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41ae3e
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d685
add ebp, 0x194
leave
ret

Function at 0x41ae5f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x2c0
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp + 0x23c], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push dword [ebp + 0x248]
mov byte [ebp - 0x79], bl
push ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x41aeea
push esi
push 0x2b0
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
call fcn.0041d6a0
add esp, 0xc
mov esi, 0x208
push esi
push 0x2b4
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne byte [ebp - 0x79]
cmp byte [ebp - 0x79], bl
je 0x41aee0
push esi
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_ILFree]
pop esi
mov ecx, dword [ebp + 0x23c]
mov al, byte [ebp - 0x79]
xor ecx, ebp
pop ebx
call fcn.0041d685
add ebp, 0x240
leave
ret 4
Function at 0x41bc87
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x4bde76
call fcn.0041e205
mov eax, dword [ebp + 0xc]
mov edi, ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401c20
xor esi, esi
push str.602
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403ac0
cmp dword [edi + 0x34], 8
jb 0x41bcbe
mov eax, dword [edi + 0x20]
jmp 0x41bcc1
lea eax, [edi + 0x20]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x41bccd
lea ecx, [ebp - 0x28]
push esi
push esi
push esi
push 1
push esi
push esi
push eax
push ecx
mov ecx, edi
call fcn.0041bb8c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41bce9
lea eax, [ebp - 0x28]
push esi
push esi
push esi
push eax
push str.startpin
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401df0
call fcn.0041e24f
ret 8

Function at 0x41bd0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41bd6a
lea eax, [ebp - 0x20c]
push eax
push str.ItemDestop
mov ecx, edi
call fcn.0041bc87
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret

Function at 0x41bd77
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41bdd5
lea eax, [ebp - 0x20c]
push eax
push str.ItemTopStartMenu
mov ecx, edi
call fcn.0041bc87
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret

Function at 0x41bde2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
push str.ItemSecondStartMenu
mov ecx, edi
call fcn.0041bc87
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret
Function at 0x41be49
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push edi
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
mov edi, ecx
call fcn.0041d6a0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41beba
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.0041d804
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
push str.ItemQuickLauch
mov ecx, edi
call fcn.0041bc87
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0041d685
leave
ret

Function at 0x41bfc4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x507a30]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x20c], di
call fcn.0041d6a0
add esp, 0xc
call fcn.00413e83
test eax, eax
push edi
lea eax, [ebp - 0x20c]
je 0x41c00d
push 0x1a
jmp 0x41c00f
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
add esi, 0x74
push eax
mov ecx, esi
call fcn.004039b0
mov edi, 0x4e58a0
push edi
mov ecx, esi
call fcn.00403ac0
push str.602hazg
mov ecx, esi
call fcn.00403ac0
push edi
mov ecx, esi
call fcn.00403ac0
cmp dword [esi + 0x18], 8
jb 0x41c054
mov esi, dword [esi + 4]
jmp 0x41c057
add esi, 4
push esi
call fcn.004134ee
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d685
leave
ret

Function at 0x41d685
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x507a30]
jne 0x41d68f
repz ret
jmp fcn.0042701f
Function at 0x430a6a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00424bda
xor ebx, ebx
cmp dword [0x50dc04], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x430b3f
push 0x4c5340
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x430aaa
xor eax, eax
jmp 0x430c03
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c75f0
push edi
call esi
cmp eax, ebx
je 0x430aa3
push eax
call fcn.00424b77
mov dword [esp], 0x4c75e0
push edi
mov dword [0x50dc04], eax
call esi
push eax
call fcn.00424b77
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x50dc08], eax
call esi
push eax
call fcn.00424b77
mov dword [0x50dc0c], eax
lea eax, [ebp - 8]
push eax
call fcn.00424713
test eax, eax
pop ecx
pop ecx
je 0x430b0d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d8d2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x430b3f
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.00424b77
cmp eax, ebx
pop ecx
mov dword [0x50dc14], eax
je 0x430b3f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00424b77
pop ecx
mov dword [0x50dc10], eax
mov eax, dword [0x50dc10]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x430bb8
cmp dword [0x50dc14], esi
je 0x430bb8
push eax
call fcn.00424be3
pop ecx
call eax
cmp eax, ebx
je 0x430b85
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x50dc14]
call fcn.00424be3
pop ecx
call eax
test eax, eax
je 0x430b85
test byte [ebp - 0x18], 1
jne 0x430bb8
lea eax, [ebp - 0xc]
push eax
call fcn.0042474a
test eax, eax
pop ecx
je 0x430ba0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d8d2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x430baf
or dword [ebp + 0x10], 0x200000
jmp 0x430be9
or dword [ebp + 0x10], 0x40000
jmp 0x430be9
mov eax, dword [0x50dc08]
cmp eax, esi
je 0x430be9
push eax
call fcn.00424be3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x430be9
mov eax, dword [0x50dc0c]
cmp eax, esi
je 0x430be9
push dword [ebp - 4]
push eax
call fcn.00424be3
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x50dc04]
call fcn.00424be3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4320cd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00424bda
xor ebx, ebx
cmp dword [0x50de34], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4321a2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43210d
xor eax, eax
jmp 0x432266
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x432106
push eax
call fcn.00424b77
mov dword [esp], 0x4c75e0
push edi
mov dword [0x50de34], eax
call esi
push eax
call fcn.00424b77
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x50de38], eax
call esi
push eax
call fcn.00424b77
mov dword [0x50de3c], eax
lea eax, [ebp - 8]
push eax
call fcn.00424713
test eax, eax
pop ecx
pop ecx
je 0x432170
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d8d2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4321a2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00424b77
cmp eax, ebx
pop ecx
mov dword [0x50de44], eax
je 0x4321a2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00424b77
pop ecx
mov dword [0x50de40], eax
mov eax, dword [0x50de40]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43221b
cmp dword [0x50de44], esi
je 0x43221b
push eax
call fcn.00424be3
pop ecx
call eax
cmp eax, ebx
je 0x4321e8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x50de44]
call fcn.00424be3
pop ecx
call eax
test eax, eax
je 0x4321e8
test byte [ebp - 0x18], 1
jne 0x43221b
lea eax, [ebp - 0xc]
push eax
call fcn.0042474a
test eax, eax
pop ecx
je 0x432203
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041d8d2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x432212
or dword [ebp + 0x10], 0x200000
jmp 0x43224c
or dword [ebp + 0x10], 0x40000
jmp 0x43224c
mov eax, dword [0x50de38]
cmp eax, esi
je 0x43224c
push eax
call fcn.00424be3
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43224c
mov eax, dword [0x50de3c]
cmp eax, esi
je 0x43224c
push dword [ebp - 4]
push eax
call fcn.00424be3
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x50de34]
call fcn.00424be3
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43aad0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bf083
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x507a30]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x50dea0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x50dea0
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4e589c
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00439ea0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x43d9d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x507a30]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43da20
mov ax, word [esp]
cmp al, 2
jne 0x43da1a
cmp ah, al
jne 0x43da1a
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0041d685
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.0041d685
add esp, 0x194
ret

Function at 0x449490
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 0x4494c2
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 0x449610
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x44962b
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 0x44965f
cmp eax, 2
jg 0x44965f
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x4c98d8]
push 2
push edx
call fcn.0041cf74
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.0041cf74
add esp, 0x20
xor eax, eax
ret
Function at 0x449970
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 0x4499ed
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x4499c4
pop ebp
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
ret
push ebp
push esi
call fcn.0044d870
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.004497f0
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 0x44a1b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x10c
mov eax, dword [0x507a30]
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 0x44a2eb
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 0x44a22c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044d870
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.004497f0
add esp, 0x18
jmp 0x44a2f4
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 0x44a26c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044d870
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.004497f0
add esp, 0x18
jmp 0x44a2f4
lea ebx, [ebp + 0xcc]
lea edi, [ebp + 0x9e]
lea esi, [esp + 0x18]
call fcn.0044a170
test eax, eax
jne 0x44a2aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044d870
mov ecx, dword [esp + 0x1c]
push eax
push esi
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ecx
call fcn.004497f0
add esp, 0x18
jmp 0x44a2f4
lea ebx, [ebp + 0x100]
lea edi, [ebp + 0xd0]
lea esi, [esp + 0x98]
call fcn.0044a170
test eax, eax
jne 0x44a2eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebp
call fcn.0044d870
mov edx, dword [esp + 0x1c]
push eax
push esi
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push edx
call fcn.004497f0
add esp, 0x18
jmp 0x44a2f4
push ebp
call fcn.0044a110
add esp, 4
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041d685
add esp, 0x10c
ret

Function at 0x44a310
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 0x44a353
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
call fcn.0044d870
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00449760
add esp, 0x14
pop esi
pop ecx
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.00449760
add esp, 8
pop esi
pop ecx
ret

Function at 0x44a370
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 0x44a3b9
mov edx, dword [esp + 4]
cmp edx, dword [esp + 8]
jg 0x44a3d1
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 0x44a3e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x530]
cmp eax, 0xffffffff
je 0x44a439
mov ecx, dword [ecx + 0x524]
mov edx, dword [ecx]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x44a439
mov ecx, dword [esp + 8]
test ecx, ecx
mov eax, dword [eax]
je 0x44a40c
mov dword [ecx], eax
cmp dword [eax + 0x148], 0
push esi
mov esi, dword [eax + 0x130]
jne 0x44a430
push 2
push 1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x44a435
or eax, 0xffffffff
pop esi
ret
mov eax, esi
pop esi
ret
or eax, 0xffffffff
ret
Function at 0x44be80
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 0x44bf24
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x44bef5
cmp word [ecx + 0xa], 4
jne 0x44bef5
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x44bef5
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.0044be10
test eax, eax
mov dword [esi], eax
je 0x44bf18
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x44bed0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.0042e33e
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.0x44bf34.11001
jmp dword [eax*4 + 0x44bf58]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x44c790
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x507a30]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x50ded4], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x44c1e0
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x44c4d0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.0044c190
je 0x44c802
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x508e80]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0041d685
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x44c8ff
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.00427c6e
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.0042e2cd
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 0x44c87d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x44c8c4
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.00427c6e
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.0042e2cd
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x44c8fb
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x44c92f
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 0x44c92f
add edi, 1
cmp edi, 3
jl 0x44c8c6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x508e80], edx
mov dword [0x508e88], eax
mov dword [fcn.0044c190], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x508e80]
xor ecx, esp
mov dword [0x50ded4], 1
call fcn.0041d685
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x44c8fb

Function at 0x44ce90
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.004a4ca1
add esp, 0x18
test eax, eax
je 0x44ceb3
cmp eax, 0xffffffff
jne 0x44ceb5
xor eax, eax
ret
Function at 0x4536a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push str.Connected_for_receive
push 0x4c9820
push ecx
call fcn.00449760
add esp, 0xc
mov eax, esi
mov dword [esi], 1
call fcn.00452840
test eax, eax
jne 0x4536d0
mov eax, esi
jmp fcn.00452cd0
ret