joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d1e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
push 0x9c
lea edi, [esi + 0x78]
push 0
push edi
call fcn.004caf20
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
push edi
mov dword [edi], 0x9c
call ebx
test eax, eax
jne 0x48d224
push edi
mov dword [edi], 0x94
call ebx
test eax, eax
jne 0x48d224
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x24
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
mov edx, 0x5f03
shr ecx, 0x10
cmp ax, dx
jne 0x48d25a
cmp ecx, 0x800
jb 0x48d248
mov eax, 0x5a04
jmp 0x48d25a
cmp ecx, 0x70a
sbb eax, eax
and eax, 0xfffff600
add eax, 0xa04
movzx ecx, al
mov edx, eax
shr edx, 8
mov dword [esi + 0x114], ecx
movzx ecx, dl
movzx edx, byte [esi + 0x114]
mov dword [esi + 0x118], ecx
shl dx, 8
movzx cx, cl
or dx, cx
shr eax, 0x1f
mov word [esi + 0x11c], dx
movzx edx, word [esi + 0x10c]
not al
mov bl, 1
and al, bl
cmp byte [esi + 0x112], 3
mov byte [esi + 0x120], al
mov word [esi + 0x11e], dx
jne 0x48d2b6
mov byte [esi + 0x121], bl
cmp dword [esi + 0x88], 2
jne 0x48d2e2
mov al, byte [esi + 0x110]
shr al, 4
test bl, al
je 0x48d2e2
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
setne cl
mov byte [esi + 0x124], cl
cmp byte [esi + 0x120], 0
je 0x48d367
xor edx, edx
push 0x420658
mov word [esp + 0x10], dx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x48d321
push 0x4206ac
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48d31a
lea ecx, [esp + 0xc]
push ecx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, word [esp + 0xc]
cmp ax, 6
je 0x48d332
cmp ax, 9
jne 0x48d338
mov byte [esi + 0x122], bl
cmp byte [esi + 0x121], 0
jne 0x48d367
cmp dword [esi + 0x114], 5
jne 0x48d367
cmp dword [esi + 0x118], 2
jne 0x48d367
cmp byte [esi + 0x112], bl
jne 0x48d361
cmp ax, 9
je 0x48d367
mov byte [esi + 0x121], bl
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x24
ret

Function at 0x48d530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e98a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.00476610
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.0048d4d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004aa0b0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x48d670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e98de
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004a9ff0
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
call fcn.004904f0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.0048d420
xor eax, eax
mov dword [esi + 0x74], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov byte [esi + 0x120], bl
mov byte [esi + 0x121], bl
mov byte [esi + 0x122], bl
mov byte [esi + 0x123], bl
mov byte [esi + 0x124], bl
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov ecx, esi
mov byte [esp + 0x18], 2
mov dword [esi + 0x2c], eax
call fcn.004a9fc0
mov eax, esi
cmp dword [0x53f16c], ebx
jne 0x48d713
mov dword [0x53f16c], esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x48f150
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x5c], eax
ret
Function at 0x48f4b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
movzx eax, word [esi]
test ecx, ecx
je 0x48f4e6
push edi
movzx edi, byte [edx]
xor edi, eax
shr ax, 8
and edi, 0xff
xor ax, word [edi*2 + 0x416020]
dec ecx
inc edx
movzx eax, ax
test ecx, ecx
jne 0x48f4c5
pop edi
mov word [esi], ax
pop esi
ret 0xc
Function at 0x492b70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax]
push ebp
mov ebp, dword [eax + 4]
push esi
mov esi, ecx
mov eax, dword [esi]
cdq
sub eax, edx
sar eax, 1
push edi
add eax, 4
xor ecx, ecx
xor edi, edi
test eax, eax
jle 0x492bc8
mov eax, ebp
xor eax, ecx
push eax
push ebx
mov ecx, esi
call fcn.00492ad0
mov edx, dword [esi + 8]
movzx ecx, ax
mov dword [edx + edi*8], ecx
mov edx, dword [esi + 8]
mov ecx, eax
shr ecx, 0x10
mov dword [edx + edi*8 + 4], ecx
mov ecx, ebx
mov ebx, ebp
mov ebp, eax
mov eax, dword [esi]
cdq
sub eax, edx
sar eax, 1
inc edi
add eax, 4
cmp edi, eax
jl 0x492b91
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x492bd0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebp, ecx
mov ebx, dword [ebp]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + ebx*4]
movzx esi, word [eax + ebx*4 + 0xc]
movzx edx, word [eax + ebx*4 + 8]
push edi
movzx edi, word [eax + ebx*4 + 4]
shl edi, 0x10
shl esi, 0x10
or edi, ecx
mov ecx, dword [esp + 0x1c]
xor edi, dword [ecx]
or esi, edx
xor esi, dword [ecx + 4]
xor esi, edi
test ebx, ebx
jle 0x492c38
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
push esi
mov ecx, ebp
call fcn.00492a50
add dword [esp + 0x10], 4
xor eax, edi
sub dword [esp + 0x14], 1
mov edi, esi
mov esi, eax
jne 0x492c13
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ebp + 8]
movzx eax, word [ebp + ebx*4 + 0x1c]
movzx edx, word [ebp + ebx*4 + 0x18]
shl eax, 0x10
or eax, edx
movzx edx, word [ebp + ebx*4 + 0x10]
xor edi, esi
xor edi, eax
movzx eax, word [ebp + ebx*4 + 0x14]
shl eax, 0x10
or eax, edx
mov dword [ecx + 4], edi
pop edi
xor eax, esi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
add esp, 8
ret 4

Function at 0x492cc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, eax
and eax, 7
mov ebp, ecx
shr edi, 3
mov ecx, eax
mov dword [esp + 0x1c], ecx
test edi, edi
jbe 0x492d04
mov eax, dword [ebx]
xor dword [esi], eax
mov ecx, dword [ebx + 4]
xor dword [esi + 4], ecx
push esi
mov ecx, ebp
call fcn.00492bd0
mov ebx, esi
dec edi
add esi, 8
test edi, edi
ja 0x492ce4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x492d28
mov eax, ebx
jbe 0x492d20
sub esi, ebx
mov edi, ecx
mov dl, byte [eax]
mov cl, byte [esi + eax]
mov byte [esi + eax], dl
xor byte [eax], cl
inc eax
sub edi, 1
jne 0x492d10
push ebx
mov ecx, ebp
call fcn.00492bd0
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov edx, dword [ebx + 4]
pop ebp
mov dword [eax + 4], edx
pop ebx
ret 0xc
Function at 0x49b7f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
push esi
mov esi, ecx
xor cl, cl
cmp dword [esp + 0x10], 0
mov byte [esp + 7], 1
jle 0x49b84c
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
lea esp, [esp]
movzx eax, byte [esp + 0x13]
mov dl, byte [eax + esi]
add eax, esi
add cl, dl
inc byte [esp + 0x13]
movzx edi, cl
mov bl, byte [edi + esi]
add edi, esi
mov byte [eax], bl
mov byte [edi], dl
movzx eax, byte [eax]
add al, dl
movzx edx, al
movzx eax, byte [edx + esi]
xor byte [ebp], al
mov eax, dword [esp + 0x1c]
dec eax
inc ebp
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x49b810
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8

Function at 0x49f000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4eb118
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
xor ebx, ebx
mov dword [esi + 0x20], eax
mov dword [esi], 0x420a28
mov dword [esi + 0x24], ebx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], ebx
call fcn.0048dab0
mov byte [esi + 0x34], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x40], bl
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 0x49f610
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4eb1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
push esi
mov ecx, 0x53e208
call fcn.00467c40
test al, al
jne 0x49f65f
push 0x65
call fcn.004898c0
mov ecx, eax
call fcn.0047e020
xor al, al
jmp 0x49f7b2
lea eax, [ebp + 0x3c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], 0
call fcn.0048da80
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], esi
lea esp, [esp]
cmp byte [esp + 0x17], 0
je 0x49f698
push 1
mov ecx, 0x53e208
call fcn.00467c40
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004ac5c0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
add esp, 8
push edx
push eax
push ecx
mov ecx, ebp
call fcn.0049f410
mov bl, al
test bl, bl
jne 0x49f742
cmp byte [esp + 0x4c], al
je 0x49f6e2
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 8]
cmp eax, 0x65
je 0x49f6dd
mov byte [esp + 0x17], bl
cmp eax, 0x66
jne 0x49f6e2
mov byte [esp + 0x17], 1
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004ac5c0
mov eax, dword [esp + 0x28]
cdq
mov ecx, eax
mov eax, dword [esp + 0x30]
add esp, 8
mov esi, edx
cdq
push 0
sub eax, ecx
push 0xf4240
sbb edx, esi
push edx
push eax
call fcn.004ce060
mov ecx, dword [ebp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x24]
mov esi, edx
cdq
sub edi, eax
mov eax, dword [esp + 0x2c]
sbb esi, edx
cdq
add edi, eax
adc esi, edx
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
mov ecx, 0x3b6
mul ecx
cmp esi, edx
ja 0x49f77c
jb 0x49f742
cmp edi, eax
jae 0x49f77c
mov eax, 2
cmp dword [esp + 0x18], eax
jne 0x49f764
mov ecx, 1
cmp dword [ebp + 0x38], ecx
jne 0x49f764
mov edx, dword [ebp + 0x30]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x28], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 3
mov dword [esp + 0x18], eax
jge 0x49f78c
test bl, bl
je 0x49f680
jmp 0x49f78c
mov eax, dword [ebp + 0x28]
cmp dword [eax + 8], 0
jne 0x49f78c
mov dword [eax + 8], 0x64
mov eax, dword [ebp + 0x28]
mov eax, dword [eax + 8]
push eax
call fcn.004898c0
mov ecx, eax
call fcn.0047e020
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0048daa0
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10

Function at 0x4a1970
Capabilities:
Delete file

Disassembly:
cmp dword [ecx + 0x20], 0x10
jb 0x4a1986
mov ecx, dword [ecx + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret
add ecx, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret
Function at 0x4a1a90
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4eb642
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x1e4], eax
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x208]
shr eax, 0xe
and al, 1
mov esi, ecx
je 0x4a1cb8
lea ecx, [esp + 0x14]
call fcn.0043c7f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x204], 0
call fcn.0046f640
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x20]
test edx, 0xffffffe0
je 0x4a1c6e
lea ecx, [esp + 0x114]
call fcn.0046d7f0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x200], 1
cmp esi, eax
jbe 0x4a1b3c
call fcn.004caf0d
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov edi, esi
mov esi, eax
cmp dword [esp + 0x20], eax
jbe 0x4a1b4f
call fcn.004caf0d
test ebp, ebp
je 0x4a1b59
cmp ebp, dword [esp + 0x14]
je 0x4a1b5e
call fcn.004caf0d
cmp edi, esi
je 0x4a1c5a
test ebp, ebp
jne 0x4a1c4d
call fcn.004caf0d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4a1b7f
call fcn.004caf0d
push edi
lea ecx, [esp + 0xf0]
call fcn.0046dff0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x118]
mov byte [esp + 0x204], 2
call fcn.0046e620
lea ecx, [esp + 0xec]
mov byte [esp + 0x200], 1
call fcn.004a5ea0
lea ecx, [esp + 0x114]
call fcn.0046d7c0
test al, al
jne 0x4a1c2c
mov esi, dword [esp + 0x208]
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0xf4]
xor esi, 0x4000
mov dword [esp + 0xf0], 0x420a64
call fcn.0046dff0
mov dword [esp + 0x110], 0
push esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x204], 3
call fcn.004a1a90
lea ecx, [esp + 0xec]
mov byte [esp + 0x200], 1
call fcn.004a12c0
test ebp, ebp
jne 0x4a1c55
call fcn.004caf0d
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4a1c41
call fcn.004caf0d
mov eax, dword [esp + 0x24]
add edi, 0x20
jmp 0x4a1b42
mov eax, dword [ebp]
jmp 0x4a1b75
mov eax, dword [ebp]
jmp 0x4a1c37
lea ecx, [esp + 0x114]
mov byte [esp + 0x200], 0
call fcn.004a5ea0
lea ecx, [esp + 0x14]
mov dword [esp + 0x200], 4
call fcn.0042b690
mov edx, dword [esp + 0x14]
push edx
call fcn.004cada5
add esp, 4
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1e4]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x1f4
ret 4
cmp dword [esi + 0x20], 0x10
jb 0x4a1cc3
mov eax, dword [esi + 0xc]
jmp 0x4a1cc6
lea eax, [esi + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
test al, al
jne 0x4a1c8f
call fcn.00466a60
push eax
call fcn.00466a60
push eax
call fcn.00466a60
push eax
call fcn.00466a60
push eax
push 0x3ec
lea ecx, [esp + 0x148]
call fcn.0046d980
mov dword [esp + 0x200], 5
call sub.KERNEL32.dll_GetLastError
add esi, 4
push esi
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1f4], eax
call fcn.0046d610
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x30]
call fcn.0046da10
push 0x4f4af8
lea ecx, [esp + 0x30]
push ecx
call fcn.004cb439
int3
Function at 0x4a3ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ebb68
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.00473220
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0
call fcn.00472d40
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov ecx, 2
lea eax, [esi + 0xc]
jmp 0x4a4060
mov edx, dword [eax - 8]
mov edi, dword [eax - 4]
add edx, edi
mov dword [eax], edx
test cl, 1
je 0x4a4072
inc edx
mov dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0x21
jb 0x4a4060
lea ecx, [esp + 0xc]
mov dword [esi + 0x88], 0xc
mov dword [esi + 0x8c], 0x20
mov byte [esi], 1
mov dword [esp + 0x40], 0xffffffff
call fcn.004af1d0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x38
ret

Function at 0x4a5930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5a58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00474180
mov ecx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.00466600
lea ecx, [esp + 8]
call fcn.00474150
push eax
lea ecx, [esp + 0xc]
call fcn.00474160
push eax
lea ecx, [esi + 0x78]
call fcn.004af3d0
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049c510
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

Function at 0x4a6000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ebe78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x3c]
xor ebx, ebx
push ebx
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x18]
call fcn.0044c530
mov ecx, dword [esp + 0x38]
push edi
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
call fcn.004299f0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], bl
call fcn.004a5fa0
mov ecx, dword [esp + 0x18]
mov eax, ecx
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x30]
push eax
call fcn.004a2130
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x80]
push edi
call fcn.004a5a40
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 5
test eax, eax
jbe 0x4a609b
mov dword [esi + 0x98], ebx
lea ecx, [esp + 0x10]
mov byte [esi + 0x7d], bl
call fcn.0042a080
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x4a60c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ebec1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
lea ecx, [eax + 0x28]
mov dword [esp + 0x18], 2
call fcn.00475970
mov ecx, dword [esi + 0x30]
xor ebx, ebx
cmp ecx, ebx
je 0x4a6110
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x34]
push eax
call fcn.004cada5
add esp, 4
lea ecx, [esi + 0x80]
mov dword [esi + 0x34], ebx
mov byte [esp + 0x18], 1
call fcn.0042be80
mov dword [esi + 0x38], 0x41c480
cmp dword [esi + 0x54], 0x10
jb 0x4a6148
mov eax, dword [esi + 0x40]
push eax
call fcn.004cada5
add esp, 4
mov dword [esi + 0x54], 0xf
mov dword [esi + 0x50], ebx
mov byte [esi + 0x40], bl
mov dword [esi], 0x41c480
cmp dword [esi + 0x1c], 0x10
jb 0x4a616d
mov ecx, dword [esi + 8]
push ecx
call fcn.004cada5
add esp, 4
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], ebx
mov byte [esi + 8], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4a7bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ec1a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
call fcn.004a7930
push edi
lea ecx, [esp + 0x14]
call fcn.0046dff0
lea eax, [esi + 0x38]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call fcn.0046edc0
push ecx
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esp
mov dword [eax], 0x2001
push ecx
mov ecx, dword [esi + 0x30]
call fcn.004a1e20
mov ecx, dword [esi + 0x30]
lea edi, [esi + 0x80]
push edi
call fcn.004a5a40
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
sar edx, 5
test edx, edx
jbe 0x4a7c6a
mov dword [esi + 0x98], 0
lea ecx, [esp + 0x10]
mov byte [esi + 0x7d], 0
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a5ea0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x34
ret 4
Function at 0x4aa8a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
cmp byte [esp + 8], 0
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov bl, 1
je 0x4aa8d4
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
call edx
test al, al
je 0x4aa8d4
mov eax, dword [esi + 0x10]
push 0
push 0
push 0x4186a1
push eax
call dword [sym.imp.WSOCK32.dll_send]
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
test al, al
je 0x4aa90f
mov ecx, dword [esi + 0x10]
push 2
push ecx
call dword [sym.imp.WSOCK32.dll_shutdown]
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
test eax, eax
jge 0x4aa904
mov dword [esi + 8], 0x64
xor bl, bl
and dword [esi + 4], 0xfffffffd
mov dword [esi + 0x10], 0xffffffff
call fcn.004755d0
pop esi
mov al, bl
pop ebx
pop ecx
ret 4

Function at 0x4aafa0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ec603
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x417270]
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
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x4000000
mov al, byte [esp + 0x20]
push 0x2002c
push 0x415698
lea ecx, [esi + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esi], 0x420f24
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], al
mov byte [esi + 0x13], bl
call fcn.00475030
mov eax, 1
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x44], 0x2002c
add dword [0x53f244], eax
mov dword [esi + 0x30], 0x64
mov dword [esi + 0x2006c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4