joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467139
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.CheckHypeVRegistry2222
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00467935
test eax, eax
lea eax, [ebp - 4]
push eax
je 0x46715c
push 0x20119
jmp 0x467161
push 0x20019
push 0
push str.SoftwareMicrosoftVirtual_MachineGuestParameters
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x467185
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x467187
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x467287
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x467316
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x46730b
mov ecx, str.VBoxService.exe
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4672f5
test dx, dx
je 0x4672f1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4672f5
add eax, 4
add ecx, 4
test dx, dx
jne 0x4672cf
xor eax, eax
jmp 0x4672fa
sbb eax, eax
or eax, 1
test eax, eax
je 0x467327
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4672c4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b937d
mov esp, ebp
pop ebp
ret
xor eax, eax
inc eax
jmp 0x467318

Function at 0x46734d
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 4
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x46736c
or eax, 0xffffffff
jmp 0x4673e3
push edi
push 0x10000
push 0x40
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x10000
push edi
push 3
push 0x30
push ebx
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x4673b6
push str.EnumServicesStatus_Eorror_n
call fcn.00467d78
pop ecx
or eax, 0xffffffff
jmp 0x4673e2
cmp dword [ebp - 4], esi
jbe 0x4673d9
add edi, 4
push str.Virtual_Machine
push dword [edi]
call fcn.007353e0
pop ecx
pop ecx
test eax, eax
jne 0x4673e9
inc esi
add edi, 0x24
cmp esi, dword [ebp - 4]
jb 0x4673be
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
inc eax
jmp 0x4673e2

Function at 0x467935
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
je 0x467957
cmp word [ebp - 0x24], 6
je 0x467957
xor eax, eax
jmp 0x46795a
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x46795e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
lea eax, [ebp - 0x54]
push esi
push edi
push 0x44
xor esi, esi
push esi
push eax
call fcn.007351d0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46799e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x40
xor esi, esi
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.007351d0
add esp, 0xc
lea eax, [ebp - 0x44]
push dword [ebp + 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x468caf
Capabilities:
Delete file

Disassembly:
push 0x100
mov eax, 0x7adda3
call fcn.005b93f9
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00454127
and dword [ebp - 4], 0
mov edi, 0x877c1c
push edi
call fcn.0045f620
pop ecx
push eax
push edi
lea ecx, [ebp - 0x5c]
call fcn.00469bd8
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00469b39
lea edi, [esi + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x468dd8
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.00468f6c
cmp eax, 0x1388000
jle 0x468d2f
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.007351d0
lea eax, [ebp - 0x44]
push eax
call fcn.00469081
add esp, 0x10
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x10c]
cmovae eax, dword [ebp - 0x5c]
push 1
push 0x40
push 8
push eax
call fcn.00468442
cmp dword [ebp - 0xbc], 0
mov byte [ebp - 4], 1
je 0x468dbb
push 0x7ca280
push ebx
mov eax, 0x7ca284
push eax
push dword [esi + 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00467f43
pop ecx
pop ecx
push eax
call fcn.00467f43
pop ecx
pop ecx
mov ecx, eax
call fcn.00468791
push eax
call fcn.00467f43
pop ecx
pop ecx
push eax
call fcn.00467f43
pop ecx
pop ecx
push eax
call fcn.00467f43
pop ecx
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.00469d29
lea ecx, [ebp - 0x10c]
call fcn.004688e8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.0045bf09
call fcn.005b93a3
ret 4
Function at 0x468dec
Capabilities:
Delete file

Disassembly:
push 0x11c
mov eax, 0x7adde6
call fcn.005b93f9
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00454127
and dword [ebp - 4], 0
mov edi, 0x877c1c
push edi
call fcn.0045f620
pop ecx
push eax
push edi
lea ecx, [ebp - 0x5c]
call fcn.00469bd8
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00469b39
lea edi, [esi + 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x468f40
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.00468f6c
cmp eax, 0x1388000
jle 0x468e6c
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.007351d0
lea eax, [ebp - 0x44]
push eax
call fcn.00469081
add esp, 0x10
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x128]
cmovae eax, dword [ebp - 0x5c]
push 1
push 0x40
push 8
push eax
call fcn.00468442
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 1
je 0x468f23
push 0x7ca280
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.0045414f
lea eax, [ebp - 0x74]
push eax
call fcn.0046959c
add esp, 0x1c
push eax
mov eax, 0x7ca284
mov byte [ebp - 4], 2
push eax
push dword [esi + 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00467f43
pop ecx
pop ecx
push eax
call fcn.00467f43
pop ecx
pop ecx
mov ecx, eax
call fcn.00468791
push eax
call fcn.00467f43
pop ecx
pop ecx
push eax
call fcn.00467d97
pop ecx
pop ecx
push eax
call fcn.00467f43
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0045beb4
lea ecx, [ebp - 0x128]
call fcn.00469d29
lea ecx, [ebp - 0x128]
call fcn.004688e8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.0045bf09
call fcn.005b93a3
ret 4

Function at 0x4692a9
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.007351d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 1
jl 0x469340
push edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0045414f
add esi, 4
push eax
mov ecx, esi
call fcn.0045786a
push 0
push 1
lea ecx, [ebp - 0x224]
call fcn.0045bf09
mov edi, str.yjs_log
push edi
call fcn.0045f620
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00469bd8
cmp dword [esi + 0x14], 8
pop edi
jb 0x469337
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b937d
mov esp, ebp
pop ebp
ret
Function at 0x46934f
Capabilities:
Read .ini file

Disassembly:
push 0x240
mov eax, 0x7ade6a
call fcn.005b93f9
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
or edi, 0xffffffff
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
jne 0x469417
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.007351d0
lea eax, [ebp - 0x218]
push eax
call fcn.00468fe0
add esp, 0x10
test al, al
je 0x46942b
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.004540d3
lea eax, [ebp - 0x248]
push eax
call fcn.004694f0
add esp, 0x1c
lea ecx, [ebp - 0x230]
push eax
call fcn.0045786a
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.0045bf09
mov edi, 0x7ca0d0
push edi
call fcn.0045f620
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00469bd8
lea eax, [ebp - 0x230]
or edi, 0xffffffff
cmp esi, eax
je 0x46942b
push edi
push ebx
push eax
mov ecx, esi
jmp 0x469426
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x46943a
push edi
push ebx
push esi
mov ecx, eax
call fcn.0045c58f
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x469440
lea eax, [ebp - 0x230]
push eax
push edi
push str.LogLevel
push str.LogConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
lea ecx, [ebp - 0x230]
test esi, esi
push ebx
push 1
cmovs esi, edi
call fcn.0045bf09
mov eax, esi
call fcn.005b93a3
ret

Function at 0x4696a8
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x7ad476
call fcn.005b93f9
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4697a8
cmp byte [ebx + 0x3d], 0
je 0x4697a8
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4696e2
xor al, al
jmp 0x4697aa
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004659ee
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x469740
sub eax, 1
je 0x469744
dec eax
sub eax, 1
je 0x469796
xor bl, bl
jmp 0x469798
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x46977c
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00743ded
add esp, 0x10
cmp esi, eax
jne 0x46973c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x469796
test esi, esi
jne 0x469706
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0046598e
jmp 0x469700
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0045beb4
mov al, bl
jmp 0x4697aa
mov al, 1
call fcn.005b93a3
ret
Function at 0x469f71
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x7adce8
call fcn.005b93f9
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x469f9d
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x46a0fe
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x469fcb
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x469fcb
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x46a0fe
cmp dword [esi + 0x4c], 0
je 0x46a0fc
mov ecx, esi
call fcn.00469ad0
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x469ffb
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00468296
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x46a0fc
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.004659ee
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x46a0f0
cmp eax, 1
jg 0x46a0d5
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x46a0a6
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.00743ded
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x46a0f0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x46a0d0
test edx, edx
jne 0x46a026
cmp dword [ebp - 0x18], 0x20
jae 0x46a0f0
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.0046598e
jmp 0x46a023
mov ebx, dword [ebp + 8]
jmp 0x46a0f0
cmp eax, 3
jne 0x46a0f0
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.00468296
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0045beb4
mov eax, ebx
call fcn.005b93a3
ret 4

Function at 0x46be4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov bl, byte [ecx + 0x5c]
test edx, edx
je 0x46be6e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46be6e
xor eax, eax
test ecx, ecx
je 0x46be6e
xor byte [eax + edx], bl
inc eax
cmp eax, ecx
jb 0x46be66
pop ebx
pop ebp
ret 8
Function at 0x46df19
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x46df4e
call fcn.00719a60
mov dword [esi + 4], eax
or eax, edi
mov dword [esi], 0x2719
jmp 0x46e031
push ebx
mov bl, byte [ebp + 0xc]
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], 1
and bl, 1
je 0x46df77
and dword [ebp - 0x110], 0
and dword [ebp - 0x10c], 0
jmp 0x46df98
mov eax, dword [ebp + 0x10]
test eax, eax
js 0x46dfa6
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x110], eax
imul eax, edx, 0x3e8
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
jmp 0x46dfad
and dword [ebp - 0x114], 0
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push esi
push dword [ebp - 0x114]
lea eax, [ebp - 0x108]
push 0
push eax
push 0
lea eax, [edi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.00453482
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x46e021
test bl, bl
je 0x46e000
call fcn.00719a60
mov dword [ebp - 0x110], 0x2733
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], eax
jmp 0x46e018
and dword [ebp - 0x118], 0
call fcn.00719a60
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x118]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
jmp 0x46e02b
jle 0x46e02e
call fcn.00719a60
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b937d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
je 0x46e307
push 0
push 0
jmp 0x46e370
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x46e31a
push 0
push 0x2719
jmp 0x46e370
mov eax, dword [ebp + 0x14]
and dword [ebp + 0x18], 0
push edi
push 0
push dword [ebp + 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x46e353
mov eax, 0x2746
jmp 0x46e360
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test edi, edi
pop edi
je 0x46e37d
cmp eax, 0x3e5
je 0x46e37d
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
call fcn.0046de58
jmp 0x46e388
push dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
call fcn.0046debc
pop esi
pop ebp
ret 0x18

Function at 0x4708df
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x4709b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x408], 0
push esi
mov esi, dword [ebp + 0xc]
push 0x7c9138
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.0073d470
add esp, 0xc
cmp dword [ebp - 0x408], 0
je 0x470a5a
push edi
push esi
call fcn.004708df
push dword [ebp - 0x408]
mov edi, 0x400
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.0073d79b
add esp, 0x14
jmp 0x470a42
push eax
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.0047090a
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push edi
push 1
push eax
call fcn.0073d79b
add esp, 0x1c
test eax, eax
jne 0x470a1c
push esi
call fcn.00470821
push dword [ebp - 0x408]
call fcn.0073d54f
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b937d
mov esp, ebp
pop ebp
ret
Function at 0x476dd4
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
jne 0x476df3
call fcn.00719a60
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
or eax, 0xffffffff
mov dword [ecx], 0x2719
pop ebp
ret
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, dword [ebp + 0x14]
push edi
push eax
call fcn.00453482
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x476e28
call fcn.00719a60
and dword [edi], esi
mov dword [edi + 4], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x477475
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
inc eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x208], edi
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x104], edi
push eax
push ebx
lea eax, [edi + 1]
mov dword [ebp - 0x21c], ebx
push eax
mov dword [ebp - 0x218], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x4774e2
xor al, al
jmp 0x477541
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 4
push eax
push 0x1007
push 0xffff
push ebx
push edi
call fcn.0046dc2e
add esp, 0x1c
test eax, eax
jne 0x47753f
cmp dword [ebp - 0x210], ebx
je 0x477535
call fcn.00719a60
mov ecx, eax
mov eax, dword [ebp - 0x210]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x47753f
call fcn.00719a60
mov dword [esi], ebx
mov dword [esi + 4], eax
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b937d
mov esp, ebp
pop ebp
ret

Function at 0x4778e9
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x8aa514]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, 0xffffffff
jne 0x47791e
call fcn.00719a60
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
jmp 0x4779a5
xor eax, eax
mov dword [ebp - 0x208], esi
inc eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0xc]
push ebx
test eax, eax
js 0x477963
cdq
lea ebx, [ebp - 0x214]
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x214], eax
imul eax, edx, 0x3e8
mov dword [ebp - 0x210], eax
jmp 0x477965
xor ebx, ebx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.00453482
pop ecx
mov esi, eax
pop ecx
pop ebx
test esi, esi
js 0x4779a3
call fcn.00719a60
and dword [edi], 0
mov dword [edi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b937d
mov esp, ebp
pop ebp
ret