joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413830
Capabilities:
Initialize winsock library
Query or enumerate registry value

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x1a8]
sub eax, 0
mov ecx, dword [esp + 0x1a4]
je 0x413944
sub eax, 1
jne 0x41397e
push ecx
mov dword [0x47ffe0], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
add byte [0x47d004], 1
add byte [0x47d00c], 1
lea eax, [esp + 0xc]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41392b
mov ax, word [esp + 0xc]
cmp al, 2
jne 0x413925
cmp ah, 1
jne 0x413925
mov eax, dword [0x47ffe0]
call fcn.004137c0
lea ecx, [esp + 4]
push ecx
push str.SOFTWAREOrbit
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x413918
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0
push 0
push str.debug
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41390d
mov dword [esp], 0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 0
je 0x41397e
call fcn.00414a00
jmp 0x41397e
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.0044e472
add esp, 0x1a0
ret 0xc
mov eax, dword [0x47ffe0]
push esi
mov esi, dword [sym.imp.USER32.dll_UnregisterClassA]
push eax
push str.orbt_downdl
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push str.ORBTSockWindowClass
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
call fcn.00414440
push 0
call fcn.00413e20
add esp, 4
pop esi
mov ecx, dword [esp + 0x19c]
xor ecx, esp
mov eax, 1
call fcn.0044e472
add esp, 0x1a0
ret 0xc

Function at 0x413ac0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x47ffe0]
push esi
push 0
push eax
push 0
push 0
push 2
push 2
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 0xcf0000
push str.orbt_downdl
push str.orbt_downdl
push 0x8000080
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 8]
push ecx
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, esi
pop esi
ret
Function at 0x416800
Capabilities:
Move file

Disassembly:
sub esp, 0x20
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
jne 0x4169b8
cmp dword [esp + 0x28], 0
mov eax, 1
mov byte [esi + 0xd], al
jne 0x4169d0
push str._I_Complete_
push 3
mov dword [esi + 0x2f0], eax
call fcn.00414ec0
mov ecx, dword [esi + 0x380]
test ecx, ecx
je 0x41684f
call fcn.00427a90
mov ecx, dword [esi + 0x378]
push ebx
push edi
call fcn.004233e0
cmp dword [esi + 0x104], 0
lea ebx, [esi + 0xf0]
jne 0x416882
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10c]
push eax
mov ecx, ebx
call fcn.0040eaf8
jmp 0x416904
push ebp
mov ebp, 8
cmp dword [ebx + 0x18], ebp
jb 0x416892
mov eax, dword [ebx + 4]
jmp 0x416895
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00431290
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp dword [esp + 0x28], ebp
jae 0x4168b1
lea ecx, [esp + 0x14]
cmp dword [esi + 0x124], ebp
lea edi, [esi + 0x10c]
jb 0x4168c4
mov eax, dword [edi + 4]
jmp 0x4168c7
lea eax, [edi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4168e0
push 0xffffffffffffffff
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.0040eaf8
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.0040eaf8
cmp dword [esp + 0x28], ebp
pop ebp
jb 0x416904
mov eax, dword [esp + 0x10]
push eax
call fcn.0044e46d
add esp, 4
cmp byte [esi + 0x1fc], 0
je 0x416985
cmp byte [esi + 0x348], 0
je 0x41697c
cmp dword [esi + 0x2cc], 2
je 0x416936
cmp dword [esi + 0x204], 0
jl 0x41697c
jg 0x416936
cmp dword [esi + 0x200], 0x80000
jbe 0x41697c
cmp dword [esi + 0x160], 0
jne 0x41697c
cmp dword [esi + 0x204], 0
jg 0x41697c
jl 0x416953
cmp dword [esi + 0x200], 0xffffffff
jae 0x41697c
mov edx, dword [esi + 0x170]
lea ecx, [esi + 0x2fc]
push ecx
push edx
lea eax, [esi + 0x48]
push eax
push ebx
lea ecx, [esi + 0x2b0]
push ecx
lea edx, [esi + 0x294]
push edx
call fcn.004293e0
add esp, 0x18
cmp byte [esi + 0x1fc], 0
jne 0x4169ca
mov eax, dword [esi + 0x200]
mov edx, dword [esi + 0x204]
mov ecx, eax
or ecx, edx
je 0x4169ca
mov ecx, dword [esi + 0x378]
mov edi, dword [ecx + 0x28]
cmp edi, eax
jne 0x4169ab
mov eax, dword [ecx + 0x2c]
cmp eax, edx
je 0x4169ca
push 0x69
push 6
mov ecx, esi
call fcn.00414d90
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0044e472
add esp, 0x20
ret 4
push 0
push 5
jmp 0x4169af
push str._F_Error_occured__
push 4
call fcn.00414ec0
push 0x69
push 6
mov ecx, esi
call fcn.00414d90
cmp byte [esi + 0x348], 0
jne 0x4169b8
mov ecx, dword [esi + 0x378]
call fcn.004233e0
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.0044e472
add esp, 0x20
ret 4

Function at 0x419270
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 0x10
Function at 0x4195a0
Capabilities:
Connect socket

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
push edx
je 0x4195ca
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
push edx
call eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
jmp 0x4195e3
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x4195f3
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4195fc
push 2
mov ecx, edi
call fcn.004192b0
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x420a50
Capabilities:
Move file

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
cmp dword [ebp + 0x9c], 0
push esi
push edi
mov dword [esp + 0x18], ebp
je 0x420a6b
call fcn.0041b450
cmp byte [esp + 0x20], 0
jne 0x420a79
mov ecx, ebp
call fcn.0041b660
lea ecx, [ebp + 0xcc]
mov byte [ebp + 0xdd], 0
call fcn.0041d8c0
mov esi, dword [ebp + 0xb4]
cmp esi, dword [ebp + 0xb8]
lea edi, [ebp + 0xb0]
jbe 0x420aa4
call fcn.004501a5
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x420ab1
call fcn.004501a5
test edi, edi
je 0x420ab9
cmp edi, edi
je 0x420abe
call fcn.004501a5
cmp esi, ebx
je 0x420b06
test edi, edi
jne 0x420acb
call fcn.004501a5
cmp esi, dword [edi + 8]
jb 0x420ad5
call fcn.004501a5
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0
call edx
cmp esi, dword [edi + 8]
jb 0x420aeb
call fcn.004501a5
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp + 0x20]
push eax
call fcn.004176a0
cmp esi, dword [edi + 8]
jb 0x420b01
call fcn.004501a5
add esi, 0x58
jmp 0x420aa4
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x420b13
call fcn.004501a5
mov ebp, dword [edi + 4]
cmp ebp, dword [edi + 8]
jbe 0x420b20
call fcn.004501a5
cmp ebp, ebx
je 0x420b78
mov eax, dword [esp + 0x20]
mov esi, dword [edi + 8]
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push ecx
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
push eax
push ebp
push esi
push ebx
call fcn.0041d7e0
sub esi, ebx
mov eax, 0x2e8ba2e9
imul esi
mov eax, dword [edi + 8]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x38]
mov esi, ecx
imul esi, esi, 0x58
push edx
push edi
push eax
add esi, ebp
push esi
call fcn.0041dec0
add esp, 0x28
mov dword [edi + 8], esi
mov edx, dword [esp + 0x18]
pop edi
xor ecx, ecx
cmp byte [esp + 0x1c], cl
pop esi
pop ebp
sete cl
pop ebx
add esp, 0xc
mov dword [esp + 4], ecx
mov ecx, dword [edx + 0x20]
jmp fcn.00416800
Function at 0x42d460
Capabilities:
Parse url
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x37c
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x378], eax
mov eax, dword [esp + 0x384]
mov ecx, dword [esp + 0x388]
mov edx, dword [esp + 0x38c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x390]
push esi
mov esi, dword [esp + 0x384]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x398]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x39c]
mov dword [esp + 0x18], eax
mov eax, esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42d4d8
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00404936
push 0xff
lea eax, [esp + 0x181]
push 0
push eax
mov byte [esp + 0x188], 0
call fcn.0044fe00
push 0xff
lea ecx, [esp + 0x8d]
push 0
push ecx
mov byte [esp + 0x94], 0
call fcn.0044fe00
push 0xff
lea edx, [esp + 0x299]
push 0
push edx
mov byte [esp + 0x2a0], 0
call fcn.0044fe00
add esp, 0x24
test esi, esi
mov byte [esp + 7], 0
jne 0x42d57a
cmp dword [esp + 0x78], 0x10
jb 0x42d562
mov eax, dword [esp + 0x64]
push eax
call fcn.0044e46d
add esp, 4
xor al, al
pop esi
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.0044e472
add esp, 0x37c
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
push edi
mov dword [esp + 0x24], eax
call fcn.0044d9cd
push edi
mov ebp, eax
call fcn.0044d9cd
add esp, 8
test ebp, ebp
mov ebx, eax
je 0x42d679
test ebx, ebx
je 0x42d679
push edi
push 0
push ebp
call fcn.0044fe00
push 0x3c
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.0044fe00
mov eax, 0x100
add esp, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x290]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x94]
push esi
mov dword [esp + 0x40], 0x3c
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x42d679
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push ebx
mov dword [eax], edx
call fcn.00412482
movzx ecx, word [esp + 0x48]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x188]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.00412482
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00412482
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00412482
mov byte [esp + 0x13], 1
push ebp
call fcn.00450775
push ebx
call fcn.00450775
add esp, 8
cmp dword [esp + 0x84], 0x10
pop edi
pop ebp
pop ebx
jb 0x42d6a2
mov edx, dword [esp + 0x64]
push edx
call fcn.0044e46d
add esp, 4
mov ecx, dword [esp + 0x37c]
mov al, byte [esp + 7]
pop esi
xor ecx, esp
call fcn.0044e472
add esp, 0x37c
ret
Function at 0x42d6c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
push str.shell32.dll
mov word [esp + 0x14], 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42d728
push str.SHGetFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d71d
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x1a
push 0
call eax
test eax, eax
jl 0x42d71d
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x42d76f
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42d76f
lea eax, [esp + 0xc]
push eax
push 0x104
lea ecx, [esp + 0x18]
push ecx
call fcn.0042bd40
test eax, eax
jl 0x42d76f
mov eax, dword [esp + 0xc]
push str.Application_Data
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax*2 + 0x18]
push eax
call fcn.0042bce0
lea eax, [esp + 0x10]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], 0
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d790
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040e867
mov ecx, dword [esp + 0x218]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044e472
add esp, 0x210
ret

Function at 0x430be0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x430be9
ret
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret

Function at 0x430c10
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x430c19
ret
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
cmp esi, dword [esp + 8]
pop esi
setne cl
sub ecx, 1
and eax, ecx
ret

Function at 0x430cd0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x28
push str.GetDiskFreeSpaceExW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430d14
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
test eax, eax
je 0x430d50
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 0x28
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x430d50
mov eax, dword [esp]
mul dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call fcn.00452c60
add esp, 0x28
ret
xor eax, eax
xor edx, edx
add esp, 0x28
ret
Function at 0x430da0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x254
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x250], eax
push ebp
mov ebp, dword [esp + 0x25c]
test ebp, ebp
jne 0x430dd8
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0044e472
add esp, 0x254
ret
push ebx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea esi, [ebx + ebx + 0xa]
push esi
call fcn.004503d5
shr esi, 1
add esp, 4
cmp esi, 0x7fffffff
mov edi, eax
ja 0x430e05
push ebp
push esi
push edi
call fcn.0042bce0
cmp word [edi + ebx*2 - 2], 0x5c
lea eax, [edi + ebx*2]
jne 0x430e17
push 0x46e76c
jmp 0x430e1c
push str..
push 5
push eax
call fcn.0042bce0
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edi
mov esi, eax
call fcn.0044e5ab
add esp, 4
cmp esi, 0xffffffff
jne 0x430e54
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x430e50
cmp eax, 1
jne 0x430e5b
xor eax, eax
jmp 0x430e60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.0044e472
add esp, 0x254
ret

Function at 0x430e80
Capabilities:
Get disk information

Disassembly:
sub esp, 0x628
mov eax, dword [0x47d874]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov esi, dword [esp + 0x630]
push edi
push 4
xor edi, edi
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [esp + 0x16], 0x3a
mov word [esp + 0x1a], di
je 0x430ed4
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00430d60
add esp, 8
push 0x104
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x104
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
pop edi
pop esi
jne 0x430f23
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.0044e472
add esp, 0x628
ret
movzx eax, byte [esp]
mov ecx, dword [esp + 0x624]
shr eax, 6
xor ecx, esp
and eax, 1
call fcn.0044e472
add esp, 0x628
ret
Function at 0x431020
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x4700ec
push 1
push 0
push 0x4700fc
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x431074
mov eax, dword [esp + 4]
test eax, eax
je 0x43105f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
test eax, eax
je 0x43106e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
add esp, 8
ret
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x47014c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x43104f
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x43104f
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
mov eax, dword [esp + 4]
jl 0x431053
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov eax, dword [esp + 4]
jl 0x431053
test eax, eax
je 0x4310db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
test eax, eax
je 0x4310ea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
add esp, 8
ret
Function at 0x433610
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x433624
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
call fcn.004334e0
test eax, eax
jne 0x43363e
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
call fcn.004334e0
cmp eax, 1
je 0x43368d
call fcn.004334e0
cmp eax, 2
je 0x43368d
call fcn.004334e0
cmp eax, 3
je 0x43368d
cmp dword [ecx + 0x2c], 0
jne 0x433683
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push eax
call fcn.004469d0
push eax
call dword [sym.imp.WS2_32.dll_send]
ret 0xc
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
jmp edx
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc

Function at 0x4336a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4336b4
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
call fcn.004334e0
test eax, eax
jne 0x4336ce
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
call fcn.004334e0
cmp eax, 1
je 0x43371d
call fcn.004334e0
cmp eax, 2
je 0x43371d
call fcn.004334e0
cmp eax, 3
je 0x43371d
cmp dword [ecx + 0x2c], 0
jne 0x433713
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push eax
call fcn.004469d0
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
jmp edx
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
Function at 0x4339f0
Capabilities:
Connect socket

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push edi
push eax
call fcn.00419570
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
push edx
call edi
mov eax, dword [esi + 4]
or ebx, 0xffffffff
mov dword [eax + 4], ebx
cmp dword [esi + 0x20], 0
mov dword [esp + 0xc], 0
je 0x433b4f
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_socket]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
call ebp
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x433b2a
push eax
call fcn.00419550
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push edx
call fcn.00419630
test eax, eax
mov ecx, dword [esi + 4]
je 0x433b12
cmp dword [ecx + 0x38], 0
je 0x433abb
mov edx, dword [ecx + 8]
push 0x3f
add edx, 0x403
push edx
call fcn.004191d0
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
test eax, eax
je 0x433abb
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
call fcn.00419570
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call edi
mov edx, dword [esi + 4]
mov dword [edx + 4], ebx
jmp 0x433b2a
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
push edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 4]
push eax
call fcn.004192e0
test eax, eax
je 0x433a9e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.004469d0
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, ebx
jne 0x433b3d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x433b3d
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00419570
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
call edi
mov eax, dword [esi + 4]
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x1c]
test edx, edx
mov dword [esi + 0x20], edx
jne 0x433a33
jmp 0x433b4e
push 2
mov ecx, esi
call fcn.00433750
mov dword [esp + 0x10], 1
pop ebp
mov eax, dword [esi + 0x20]
test eax, eax
je 0x433b5c
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], 0
jne 0x433b74
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x480004]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 4]
cmp dword [edx + 4], ebx
pop edi
pop esi
pop ebx
je 0x433b89
cmp dword [esp], 0
je 0x433b89
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret
Function at 0x434020
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x2c], 0
je 0x434042
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edx
call eax
mov esi, eax
jmp 0x434065
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.004469d0
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
jne 0x434076
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x43407f
push 2
mov ecx, edi
call fcn.00433750
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x43dba0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x58], eax
ret