joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e670
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48e6e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x693538]
mov edx, eax
test cl, 1
jne 0x48e6c0
or ecx, 1
mov dword [0x693530], 0x25c5e09b
mov eax, 0x615d34
mov dword [0x693538], ecx
mov dword [0x693534], 0x8fafd21e
mov dword [0x693528], eax
jmp 0x48e6c5
mov eax, dword [0x693528]
mov eax, dword [eax + 0x18]
mov ecx, 0x693528
push edx
mov dword [ebp - 0xc], edx
call eax
mov byte [ebp - 8], al
mov dword [ebp - 4], 0x693528
test al, al
jne 0x48e6e8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x615e44
lea eax, [ebp - 0xc]
push eax
call fcn.0048cef0
int3

Function at 0x491b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x60]
mov eax, dword [esi + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0x64], eax
lea eax, [esi + 0x10]
push 0
push eax
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call fcn.00420f90
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.004b9140
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
push dword [esi]
mov dword [ebp - 4], 1
lea ecx, [ecx + 0x10]
call fcn.0049bf00
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 2
test eax, eax
je 0x491bc1
test al, 1
jne 0x491bba
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x491bba
lea ecx, [ebp - 0x28]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x4c], 0x10
jb 0x491bd2
push dword [ebp - 0x60]
call fcn.005ba02a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x491bf0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa72b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x70]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x68]
mov eax, dword [esi + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 0x6c], eax
lea eax, [esi + 0x10]
push 0
push eax
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.00420f90
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [esi + 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.004b9290
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
push dword [esi]
mov dword [ebp - 4], 1
lea ecx, [ecx + 0x10]
call fcn.0049c010
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 2
test eax, eax
je 0x491cb1
test al, 1
jne 0x491caa
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x491caa
lea ecx, [ebp - 0x28]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x54], 0x10
jb 0x491cc2
push dword [ebp - 0x68]
call fcn.005ba02a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa758
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x3c]
movq xmm0, qword [esi + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x30]
push eax
movq qword [ebp - 0x5c], xmm0
call fcn.004b9140
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
push dword [esi]
mov dword [ebp - 4], 0
lea ecx, [ecx + 0x10]
call fcn.004a48f0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x491d87
test al, 1
jne 0x491d87
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x491d87
lea ecx, [ebp - 0x24]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x491da0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa758
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x3c]
movq xmm0, qword [esi + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x30]
push eax
movq qword [ebp - 0x5c], xmm0
call fcn.004b9220
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
push dword [esi]
mov dword [ebp - 4], 0
lea ecx, [ecx + 0x10]
call fcn.004a49d0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x491e47
test al, 1
jne 0x491e47
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x491e47
lea ecx, [ebp - 0x24]
push 2
push ecx
push ecx
call eax
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x493430
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa940
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x14]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x4934b1
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [ebp - 0x18], eax
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp esi, eax
je 0x4934ed
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4934ed
mov eax, dword [edi]
lea esp, [esp]
mov esi, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x493537
cmp esi, dword [edx + ecx*8]
jne 0x4934e0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x49351e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x49357a
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x49359c
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004e0d20
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x493582
mov dword [ecx], edi
jmp 0x49359c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x49359c
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004d2e50
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aed80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
dec eax
xor ebx, ebx
push esi
bts ebx, eax
mov dword [ebp - 0x10], eax
push edi
xor edi, edi
cmp eax, 0x20
mov dword [ebp - 0xc], edi
cmovae ecx, ebx
xor ebx, ecx
cmp eax, 0x40
cmovae ecx, ebx
lea ebx, [ebx]
push 8
push edi
xor esi, esi
call fcn.004b2570
mov word [ebp - 2], ax
lea ecx, [esi + 8]
movzx eax, ax
add esp, 8
mov dword [ebp - 8], eax
mov dx, ax
lea ecx, [ecx]
test byte [ebp - 8], 1
mov eax, 0
cmovne eax, ebx
xor esi, eax
mov eax, ebx
and eax, esi
neg eax
sbb eax, eax
add esi, esi
and eax, dword [ebp + 0x10]
shr dx, 1
xor esi, eax
mov word [ebp - 8], dx
dec ecx
jne 0x4aedd0
cmp byte [ebp + 0x14], cl
je 0x4aee33
mov ecx, dword [ebp - 0x10]
mov eax, 1
mov edx, eax
shl edx, cl
cmp edx, eax
jbe 0x4aee2d
lea esp, [esp]
mov edi, edx
or edi, eax
mov ecx, edi
and ecx, esi
cmp ecx, edx
je 0x4aee20
cmp ecx, eax
jne 0x4aee22
xor esi, edi
shr edx, 1
add eax, eax
cmp edx, eax
ja 0x4aee10
mov edi, dword [ebp - 0xc]
movzx eax, word [ebp - 2]
jmp 0x4aee36
movzx eax, di
movzx ecx, ax
inc edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov dword [eax + ecx*4], esi
mov ecx, 0x100
cmp di, cx
jb 0x4aedb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b0a60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [0x69356c]
mov edi, ecx
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0a85
mov eax, dword [eax + 4]
jmp 0x4b0a87
xor eax, eax
push 0x44
push eax
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
call fcn.00496460
add esp, 0xc
test eax, eax
je 0x4b0aaa
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0048fa30
jmp 0x4b0aac
xor eax, eax
mov ecx, dword [edi]
push 0
push eax
mov ecx, dword [ecx + 8]
call fcn.004ec650
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.004f02b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4b0ae0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdbd9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x69356c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0b24
mov eax, dword [eax + 4]
jmp 0x4b0b26
xor eax, eax
push 0x80
push eax
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
call fcn.00496460
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b0b64
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0048fac0
jmp 0x4b0b66
xor eax, eax
mov ecx, dword [edi]
push 0
push eax
mov ecx, dword [ecx + 8]
call fcn.004ec650
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004f0340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4b0bb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdc19
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [0x69356c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b0bf4
mov eax, dword [eax + 4]
jmp 0x4b0bf6
xor eax, eax
push 0xa0
push eax
mov byte [ebp + 0xc], 0
push dword [ebp + 0xc]
call fcn.00496460
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4b0c34
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0048fb40
jmp 0x4b0c36
xor eax, eax
mov ecx, dword [edi]
push 0
push eax
mov ecx, dword [ecx + 8]
call fcn.004ec650
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004f03b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4b27b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x4b27d2
mov esi, dword [ebp + 0x14]
mov ecx, esi
push 0x2719
call fcn.0048fde0
jmp 0x4b2811
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [ebp + 0x10]
push 1
push 6
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esi, dword [ebp + 0x14]
push esi
push eax
call fcn.004a8700
add esp, 8
test eax, eax
jne 0x4b2811
lea ecx, [ebp - 0xc]
call fcn.0048ba00
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
movq xmm0, qword [esi]
mov ecx, dword [esi + 8]
pop esi
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b8f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe763
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.00440520
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x38]
mov dword [ebx], 0x61722c
mov dword [edx], eax
mov dword [ebp - 4], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
cmp dword [edx], 0x80
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x80
lea ecx, [ebp - 0x10]
cmovbe eax, edx
mov byte [ebp - 4], 1
mov esi, dword [eax]
cmp esi, 1
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esi
cmovae eax, ecx
mov dword [ebp + 8], 1
lea ecx, [ebx + 0x3c]
push dword [eax]
call fcn.004f10d0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x20]
lea edx, [ecx + esi]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x30]
mov dword [eax], edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4bb5b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa010
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.005bc230
mov dword [esi], 0x615d94
lea ecx, [esi + 0x18]
movq xmm0, qword [edi + 0xc]
movq qword [esi + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00420f90
mov dword [esi], 0x6173f0
mov dword [esi + 0x30], 0x615ccc
mov ecx, dword [edi + 0x34]
mov dword [ebp - 4], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4bb644
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi], 0x617800
mov dword [esi + 0x30], 0x61780c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c36a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff7bd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x44], 0xf
mov dword [edi + 0x40], 0
mov byte [edi + 0x30], 0
xor eax, eax
mov dword [edi + 0x5c], 7
mov dword [edi + 0x58], 0
mov word [edi + 0x48], ax
lea ecx, [edi + 0x60]
call fcn.004c4fa0
lea esi, [edi + 0x114]
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.004c46b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push esi
push eax
call fcn.004af290
add esp, 8
or ebx, 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [edi], ecx
mov esi, dword [edi + 4]
mov dword [edi + 4], edx
test esi, esi
je 0x4c37a2
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4c37a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4c37a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4c37d1
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4c37d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x4c37d1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, edi
mov byte [edi + 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c4570
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffa90
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0x20
mov dword [ebp - 0x1b0], edi
call fcn.005b9fd9
mov esi, eax
add esp, 4
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c45d9
mov ecx, esi
call fcn.0048bce0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
jmp 0x4c45db
xor esi, esi
mov dword [edi], esi
push 0x693574
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4c460f
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x693578
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x693574
call fcn.0048e470
push 0x60
mov byte [ebp - 4], 2
call fcn.005b9fd9
add esp, 8
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4c464c
mov ecx, 1
cmp ebx, ecx
cmove ebx, ecx
mov ecx, eax
push ebx
push edi
call fcn.004c5550
mov esi, eax
jmp 0x4c464e
xor esi, esi
mov dword [ebp - 0x1a4], esi
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
push 0
push eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.004ae4e0
mov ecx, dword [edi]
lea eax, [ebp - 0x1ac]
add esp, 8
push esi
push eax
call fcn.004da850
mov dword [edi + 8], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret 4
Function at 0x4c46b0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffb00
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x20
mov dword [ebp - 0x1b0], edi
call fcn.005b9fd9
mov esi, eax
add esp, 4
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c4715
mov ecx, esi
call fcn.0048bce0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 0
jmp 0x4c4717
xor esi, esi
mov dword [edi], esi
push 0x693574
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x4c474b
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x693578
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x693574
call fcn.0048e470
push 0x60
mov byte [ebp - 4], 2
call fcn.005b9fd9
add esp, 8
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4c477f
push 0xffffffffffffffff
push edi
mov ecx, eax
call fcn.004c5550
mov esi, eax
jmp 0x4c4781
xor esi, esi
mov dword [ebp - 0x1a4], esi
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
push 0
push eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.004ae4e0
mov ecx, dword [edi]
lea eax, [ebp - 0x1ac]
add esp, 8
push esi
push eax
call fcn.004da850
mov dword [edi + 8], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x4c4e10
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffc87
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x68a300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], 0x616950
mov esi, dword [eax]
lea eax, [ebp - 0x18]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004ae4e0
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 0x18]
push 0x4a7220
push eax
call fcn.004e0330
lea ecx, [edi + 0x18]
mov dword [edi + 0x14], eax
call fcn.0048bce0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.004e9400
push 0x4c72f0
push 0x4bd250
push 4
push 0x1c
lea eax, [edi + 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.005c101a
push fcn.004c57e0
push 0x4c5520
push 3
push 0xc
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 3
push eax
call fcn.005c101a
mov dword [edi + 0xcc], 0
push 0xc
mov byte [ebp - 4], 4
mov byte [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov byte [edi + 0xd8], 0
call fcn.005b9fd9
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4c4f5d
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.005b9fd9
add esp, 4
test eax, eax
je 0x4c4f49
mov dword [eax], 0x617708
mov dword [eax + 0xc], edi
jmp 0x4c4f4b
xor eax, eax
push 0
push eax
mov ecx, esi
call fcn.004f5170
mov dword [edi + 0xd4], esi
jmp 0x4c4f67
mov dword [edi + 0xd4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4