joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452000
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5ce920
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x1c], ebx
mov word [esp + 0x4a], bx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 1
mov word [esp + 0x48], bx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004d4991
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452094
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], ebx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4520ce
push 0x104
lea ecx, [esp + 0x14]
call fcn.00405360
mov esi, dword [esp + 0x10]
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, ebx
jne 0x4520e3
xor eax, eax
jmp 0x4520f9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4520e8
sub eax, edx
js 0x4521f0
cmp eax, dword [esi - 8]
jg 0x4521f0
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], bl
call fcn.004f3288
add esp, 8
cmp eax, ebx
jne 0x45211c
or eax, 0xffffffff
jmp 0x45211e
sub eax, esi
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.00404d30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 1
call fcn.00404f90
mov byte [esp + 0x64], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452160
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc
push str.httpsvr.dll
lea ecx, [esp + 0x18]
call fcn.0041cc20
mov edi, dword [esp + 0x10]
add edi, 0xfffffff0
push edi
call fcn.004053b0
mov ecx, dword [esp + 0x70]
add esp, 4
add ecx, 0x38
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [eax + 0x10]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4521ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x64], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4521db
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 4
push 0x80070057
call fcn.00404150
int3
Function at 0x4537c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5d24c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x648fc0]
imul eax, eax, 0x65c
mov edx, dword [0x648fc4]
lea esi, [eax + ecx + 0x568]
mov ecx, 0xa
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
xor ecx, ecx
mov eax, 3
movzx esi, byte [esp + eax + 0x1c]
add eax, 1
add ecx, esi
cmp eax, 0x28
jb 0x453822
cmp ecx, dword [esp + 0x1c]
jne 0x453938
mov ax, word [esp + 0x22]
cmp ax, 0x2714
jne 0x453855
mov eax, dword [esp + 0x24]
mov dword [edx + 0xc8], eax
jmp 0x453938
cmp ax, 0x2718
je 0x453938
cmp ax, 0x2717
jne 0x453870
mov dword [edx + 0xcc], ebx
jmp 0x453938
cmp ax, 0x271d
jne 0x453885
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc8], ecx
jmp 0x453938
cmp ax, 0x271e
jne 0x453916
lea ecx, [esp + 0x14]
mov dword [edx + 0xc8], ebx
call fcn.00404ce0
push 0x6e5
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x5c], ebx
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 1
call fcn.00404f90
mov byte [esp + 0x54], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4538e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ebx
push ebx
push esi
call fcn.004d5d86
lea eax, [esi - 0x10]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453938
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x453938
cmp ax, 0x271f
jne 0x453938
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
push 0x4534c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004f2719
add esp, 0x48
ret 4
Function at 0x454b40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d4a6c
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CDvs.0
xor ebx, ebx
mov dword [esp + 0x14], 3
cmp dword [esi + 0x90], ebx
mov dword [esi + 0x20], ebx
jne 0x454bae
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x454ba4
push eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x88], 0xffffffff
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x60], 0xffffffff
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454bb3
call fcn.00456ad0
lea eax, [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x14], 2
mov eax, dword [esi + 0x8c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454be4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], 1
mov eax, dword [esi + 0x7c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454c08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14], bl
mov eax, dword [esi + 0x78]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454c2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x454c43
push eax
call fcn.004d3cb6
add esp, 4
push esi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.0045e430
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x456b30
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x20010
call fcn.004fa640
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x20008], eax
mov eax, dword [esi + 0x44]
push ebx
push ebp
push edi
push eax
lea ebx, [esp + 0x14]
call fcn.0045e1e0
add esp, 4
test eax, eax
je 0x456c16
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
nop
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], eax
mov al, byte [esp + 0x14]
cmp al, 4
jne 0x456bd4
cmp byte [esp + 0x18], 1
jne 0x456bfe
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff7
push ecx
lea edx, [esp + 0x1d]
push edx
lea eax, [esp + 0x1001c]
push eax
mov dword [esp + 0x1001c], esi
call fcn.004ff920
add esp, 0xc
call fcn.004d8c67
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x10010]
push ecx
push 1
push 0x1323
push edx
call edi
jmp 0x456bfe
cmp al, 0xa
je 0x456bfe
cmp al, 2
jne 0x456bfe
call fcn.004d8c67
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov edx, dword [eax + 0x20]
push esi
lea ecx, [esp + 0x14]
push ecx
push 0x419
push edx
call ebp
mov eax, dword [esi + 0x44]
push eax
lea ebx, [esp + 0x14]
call fcn.0045e1e0
add esp, 4
test eax, eax
jne 0x456b70
mov ecx, dword [esi + 0x44]
push ecx
call fcn.004ab810
mov edx, dword [esi + 0x40]
add esp, 4
or edi, 0xffffffff
push edx
mov dword [esi + 0x44], edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x20014]
mov dword [esi + 0x40], edi
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004f2719
add esp, 0x20010
ret
Function at 0x458fc0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x5cf908
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x458ffe
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.004052d0
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x459059
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x45908c
mov ecx, dword [esp + 0xc]
push str.iSee
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459098
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4591d0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x5cf8cb
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45922b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
push 0x100
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x124], 0
call dword [sym.imp.WS2_32.dll_gethostname]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x459281
push 0
mov ecx, edi
call fcn.0041c260
lea eax, [esi - 0x10]
mov dword [esp + 0x11c], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x4592e3
mov ecx, dword [eax]
push eax
jmp 0x4592dc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4592b5
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x10]
push 0x604eec
push edx
call fcn.004057d0
mov esi, dword [esp + 0x18]
add esp, 0xc
add esi, 0xfffffff0
push esi
call fcn.004053b0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x11c], ebp
lea eax, [esi + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x4592e3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004f2719
add esp, 0x114
ret
Function at 0x459590
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5cf838
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
call fcn.004dc5c5
push ebx
mov byte [esp + 0x3c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x459671
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebp, eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push esi
push 0
push ebp
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [esi]
test al, al
je 0x459667
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x459651
cmp al, 0x42
je 0x459651
push esi
call edi
cmp eax, 4
je 0x459651
push esi
call edi
cmp eax, 5
je 0x459651
push esi
call edi
cmp eax, 6
je 0x459651
push esi
call edi
test eax, eax
je 0x459651
push esi
call edi
cmp eax, 2
je 0x459651
mov eax, dword [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.004dc87c
push 0
push esi
call fcn.004f3fce
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x459613
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x605167
lea ecx, [esp + 0x18]
call fcn.0041c260
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x4596e8
test esi, esi
jl 0x45976e
cmp esi, eax
jge 0x45976e
mov ecx, dword [esp + 0x20]
lea eax, [ecx + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404f90
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x459757
push ecx
push edi
call fcn.004f4e25
add esp, 8
test eax, eax
sete al
test al, al
jne 0x459761
mov eax, dword [esp + 0x24]
add esi, 1
cmp esi, eax
jl 0x459692
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45970d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.004dc663
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45973f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80004005
call fcn.00404150
mov dword [esp + 0x18], 1
jmp 0x4596e8
jmp fcn.004d633a
Function at 0x459780
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5cf7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call fcn.004dc5c5
push 0
mov dword [esp + 0x3c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov esi, eax
test esi, esi
je 0x45985e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebp, eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push esi
push 0
push ebp
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [esi]
test al, al
je 0x459854
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, edi
cmp al, 0x41
je 0x45983e
cmp al, 0x42
je 0x45983e
push esi
call edi
cmp eax, 4
je 0x45983e
push esi
call edi
cmp eax, 5
je 0x45983e
push esi
call edi
cmp eax, 6
je 0x45983e
push esi
call edi
test eax, eax
je 0x45983e
push esi
call edi
cmp eax, 2
je 0x45983e
mov eax, dword [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.004dc87c
push 0
push esi
call fcn.004f3fce
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x459800
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x605167
lea ecx, [esp + 0x1c]
call fcn.0041c260
push 0x605167
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.0041c260
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x38], 2
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jle 0x459931
test edi, edi
jl 0x4599b6
cmp edi, eax
jge 0x4599b6
mov ecx, dword [ebx + 4]
lea eax, [ecx + edi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404f90
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jle 0x459916
nop
test esi, esi
jl 0x4599b6
cmp esi, eax
jge 0x4599b6
mov edx, dword [esp + 0x20]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404f90
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4599ac
mov eax, dword [esp + 0x18]
push ecx
push eax
call fcn.004f4e25
add esp, 8
test eax, eax
sete al
test al, al
jne 0x459923
mov eax, dword [esp + 0x24]
add esi, 1
cmp esi, eax
jl 0x4598c0
push 1
push edi
mov ecx, ebx
call fcn.004dc7b8
sub edi, 1
mov eax, dword [ebx + 8]
add edi, 1
cmp edi, eax
jl 0x459895
xor ecx, ecx
cmp dword [ebx + 8], ecx
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
setne cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459960
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459985
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004dc663
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80004005
call fcn.00404150
jmp fcn.004d633a
Function at 0x459cc0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push edi
push 0x9c
lea eax, [esp + 0xc]
push 0
push eax
mov esi, 1
call fcn.004f9810
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x459d1b
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x94
call edi
test eax, eax
je 0x459d3d
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x459d3d
cmp dword [esp + 0xc], 6
jne 0x459d3d
cmp dword [esp + 0x10], esi
jne 0x459d3d
cmp byte [esp + 0xa2], 1
jne 0x459d3d
xor esi, esi
mov ecx, dword [esp + 0xa4]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004f2719
add esp, 0xa0
ret

Function at 0x45bcc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d495b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax + 0x45c30c]
jmp dword [ecx*4 + 0x45c2f8]
Function at 0x45ce41
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x2ac], 0
jne 0x45ceaa
call fcn.004d8c67
mov ecx, dword [eax + 4]
call fcn.004d4001
mov eax, dword [esi + 0x920]
test eax, eax
mov dword [esi + 0x2b4], 0
je 0x45ce7f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x920], 0
push 0
push 0
push esi
push 0x45d780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x14
mov dword [esi + 0x920], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 7]
call fcn.00405f90
mov eax, 1
pop esi
pop ecx
ret
Function at 0x45d5a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push edi
or edi, 0xffffffff
cmp dword [esi + 0x928], edi
mov dword [esp + 4], 0
je 0x45d75b
push ebx
push ebp
jmp 0x45d5c0
mov edi, 0x100000
sub edi, dword [esi + 0x900]
lea ebp, [esi + 0x900]
cmp edi, 4
jae 0x45d5e3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45d74a
mov eax, dword [esi + 0x8f8]
mov ecx, dword [esp + 0xc]
mov ebx, 0x100000
sub ebx, eax
test ecx, ecx
jne 0x45d687
cmp ebx, 4
jae 0x45d62e
push ebx
push ebp
mov dword [esi + 0x8f8], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, 0x100000
sub edi, dword [ebp]
mov ebx, 0x100000
cmp edi, 4
jae 0x45d62e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45d74a
mov dword [esp + 0xc], 0
mov ebp, 4
jmp 0x45d640
mov eax, dword [esi + 0x8f8]
add eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x928]
add eax, dword [esi + 0x8f4]
push 0
push ebp
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x45d674
cmp eax, 0xffffffff
je 0x45d674
add dword [esp + 0xc], eax
sub ebp, eax
test ebp, ebp
jg 0x45d640
mov eax, dword [esi + 0x8f8]
mov edx, dword [esi + 0x8f4]
mov ecx, dword [eax + edx]
mov dword [esp + 0xc], ecx
cmp ecx, edi
jle 0x45d698
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45d74a
cmp ecx, ebx
jle 0x45d6df
mov edx, dword [esi + 0x8f4]
push ebx
lea edi, [esi + 0x900]
mov dword [eax + edx], 0xffffffff
push edi
mov dword [esi + 0x8f8], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, 0x100000
sub eax, dword [edi]
cmp dword [esp + 0xc], eax
jle 0x45d6db
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45d74a
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x8f8]
mov eax, dword [esi + 0x8f4]
mov dword [edx + eax], ecx
add dword [esi + 0x8f8], 4
lea edi, [ecx - 4]
xor ebx, ebx
test edi, edi
jle 0x45d734
mov edi, edi
mov ecx, dword [esi + 0x8f8]
mov edx, dword [esi + 0x928]
push 0
add ecx, ebx
add ecx, dword [esi + 0x8f4]
push edi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x45d730
cmp eax, 0xffffffff
je 0x45d730
sub edi, eax
add ebx, eax
test edi, edi
jg 0x45d700
mov ecx, dword [esp + 0xc]
push ecx
lea eax, [esi + 0x900]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [esp + 0xc], 0
or edi, 0xffffffff
cmp dword [esi + 0x928], edi
jne 0x45d5c0
pop ebp
pop ebx
mov eax, dword [esi + 0x928]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x928], edi
xor eax, eax
pop edi
pop ecx
ret
Function at 0x45e0e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push esi
mov esi, dword [ebx]
push edi
xor edi, edi
test esi, esi
jle 0x45e11f
mov ebp, dword [sym.imp.WS2_32.dll_send]
cmp esi, 0x320
mov eax, 0x320
jg 0x45e100
mov eax, esi
mov ecx, dword [esp + 0x10]
push 0
push eax
lea eax, [edi + ebx]
push eax
push ecx
call ebp
test eax, eax
je 0x45e128
cmp eax, 0xffffffff
je 0x45e128
sub esi, eax
add edi, eax
test esi, esi
jg 0x45e0f1
pop edi
pop esi
mov eax, 1
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push esi
push edi
xor edi, edi
mov esi, 4
mov ecx, dword [esp + 0x10]
push 0
push esi
lea eax, [edi + ebx]
push eax
push ecx
call ebp
test eax, eax
je 0x45e191
cmp eax, 0xffffffff
je 0x45e191
sub esi, eax
add edi, eax
test esi, esi
jg 0x45e140
mov esi, dword [ebx]
sub esi, 4
test esi, esi
jle 0x45e197
mov eax, dword [esp + 0x10]
push 0
push esi
lea edx, [edi + ebx]
push edx
push eax
call ebp
test eax, eax
je 0x45e191
cmp eax, 0xffffffff
je 0x45e191
sub esi, eax
add edi, eax
test esi, esi
jle 0x45e197
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45e168
pop edi
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
ret