joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bec10
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov ebp, dword [ebx + 4]
mov edi, dword [ebp + 4]
movzx eax, word [edi]
movzx ecx, word [edi + 2]
cmp ax, cx
jae 0x4bed80
mov esi, eax
inc eax
mov word [edi], ax
movzx edx, word [edi + esi*2 + 4]
add ecx, edx
mov eax, edx
mov word [edi + ecx*2 + 4], si
mov ecx, 0xffff
cmp ax, cx
je 0x4bed85
mov esi, eax
shl esi, 5
add esi, dword [ebp]
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
je 0x4bed85
mov eax, dword [ebx + 4]
mov edi, esi
sub edi, dword [eax]
mov al, byte [esp + 0x24]
sar edi, 5
cmp byte [esi + 0x17], 0
mov word [esp + 0x10], di
mov word [esi + 0x14], di
mov byte [esi + 0x16], al
jne 0x4becc0
cmp dword [esp + 0x28], 0
jne 0x4beca3
cmp dword [esp + 0x2c], 0
je 0x4becc0
push 4
push dword [esp + 0x14]
call fcn.004be870
mov eax, dword [esp + 0x20]
add esp, 8
mov word [eax], di
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
je 0x4bed62
push eax
call fcn.004bf4c0
add esp, 4
mov eax, 2
mov word [esi], ax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_htonl]
push dword [esp + 0x20]
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [esi + 0x10]
mov word [esi + 2], ax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x4bed52
push SysReAllocString
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x4bed52
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push 0x8004667e
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [esp + 0x18]
mov word [eax], di
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
push dword [esi + 0x10]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x10], 0xffffffff
movzx eax, word [esi + 0x14]
push 4
push eax
call fcn.004be870
mov eax, dword [esp + 0x20]
add esp, 8
mov word [eax], di
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov ecx, 0xffff
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov word [eax], cx
pop ebx
pop ecx
ret 0x18

Function at 0x4bf380
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
mov eax, dword [esp + 0x14]
push 0
push esi
add eax, edi
push eax
push dword [ebx + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4bf3c9
cmp eax, 0xffffffff
jne 0x4bf3cd
call ebp
cmp eax, 0x2733
je 0x4bf3cd
push 3
mov ecx, ebx
call fcn.004be8f0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
sub esi, eax
add edi, eax
test esi, esi
jne 0x4bf392
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x4bf4c0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push esi
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x14]
push 4
push eax
push 0x1002
push 0xffff
push edi
mov dword [esp + 0x1c], 0x40000
call esi
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push edi
call esi
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 1
push 6
push edi
call esi
pop edi
pop esi
add esp, 8
ret

Function at 0x4bf6b0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x38
lea eax, [esp + 3]
push esi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push str._d._d._d._d_c
push dword [esp + 0x58]
call fcn.00441160
add esp, 0x1c
cmp eax, 4
jne 0x4bf726
mov eax, dword [esp + 0xc]
cmp eax, 0xff
ja 0x4bf726
mov ecx, dword [esp + 0x10]
cmp ecx, 0xff
ja 0x4bf726
mov edx, dword [esp + 0x14]
cmp edx, 0xff
ja 0x4bf726
mov esi, dword [esp + 0x18]
cmp esi, 0xff
ja 0x4bf726
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
shl eax, 8
or eax, esi
pop esi
add esp, 0x38
ret
xor esi, esi
lea eax, [esp + 0x1c]
push 0x20
push esi
push eax
mov dword [esp + 0x14], esi
call fcn.004bd800
add esp, 0xc
mov dword [esp + 0x20], esi
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x4c]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4bf790
test ecx, ecx
je 0x4bf79b
cmp dword [ecx + 4], 2
jne 0x4bf774
mov eax, dword [ecx + 0x18]
mov eax, dword [eax + 4]
cmp eax, 0x7f000001
jne 0x4bf783
mov eax, dword [ecx + 0x1c]
mov ecx, eax
mov dword [esp + 8], ecx
test eax, eax
jne 0x4bf761
jmp 0x4bf790
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 8]
mov esi, eax
test ecx, ecx
je 0x4bf79b
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, esi
pop esi
add esp, 0x38
ret
Function at 0x4c16f2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4c1713
jl 0x4c170a
test edi, edi
jne 0x4c1713
xor eax, eax
xor edx, edx
jmp 0x4c17d4
cmp dword [ebx + 0x38], 0
je 0x4c1728
push eax
push edi
push dword [ebp + 8]
call fcn.00476260
jmp 0x4c17d4
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4c176f
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4c176f
cmp eax, edi
jb 0x4c1749
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004c51e0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4c1775
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4c17c9
mov ecx, ebx
call fcn.004c1042
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4c17b4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004cb8af
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4c17c9
jmp 0x4c1787
test edx, edx
je 0x4c17c9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004cb8af
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x4c17da
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4c17fc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00476180
jmp 0x4c18ba
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4c1822
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4c1827
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x4c1887
jg 0x4c183c
test esi, esi
je 0x4c1887
test ecx, ecx
jl 0x4c1882
jg 0x4c1846
test eax, eax
je 0x4c1882
cmp edi, ecx
jg 0x4c1858
jl 0x4c1850
cmp esi, eax
jae 0x4c1858
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.004c51e0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4c188a
mov ecx, dword [ebp + 8]
jmp 0x4c1894
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4c18ae
jg 0x4c1894
test esi, esi
je 0x4c18ae
cmp dword [ebx + 0x4c], 0
je 0x4c18ae
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004c9eac
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4c401b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4c405a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4c405a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4c405a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4c405a
cmp dword [ecx + 0x74], 0xe
jbe 0x4c405a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4db876
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004db6f5

Function at 0x4ded90
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dea50

Function at 0x4e5d10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e5d3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e5d3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4025d7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4025fa
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4025fa
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x402604
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x402646
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4026a8
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4026a3
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40268e
test dl, dl
je 0x40268a
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40268e
add ecx, 2
add eax, 2
test dl, dl
jne 0x40266e
xor eax, eax
jmp 0x402693
sbb eax, eax
or eax, 1
test eax, eax
je 0x4026b4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x40265b
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8

Function at 0x402751
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x402773
mov eax, 0xfffffffd
jmp 0x402845
cmp dword [0x52f09c], 0
je 0x40281e
cmp dword [0x52f0a0], 5
jl 0x4027a1
cmp dword [0x52f0a0], 7
jg 0x4027a1
mov eax, 1
jmp 0x4027a6
mov eax, 0
test eax, eax
jne 0x4027bf
cmp dword [0x52f0a0], 0xfffffffb
je 0x4027bf
xor eax, eax
jmp 0x4027c4
mov eax, 1
test eax, eax
je 0x4027f0
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4027d9
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x52f09c], 0
jne 0x40283b
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x402845
mov esp, ebp
pop ebp
ret 4
Function at 0x403a65
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x403b19
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004039f5
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x403af2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x403b40
test ebp, ebp
je 0x403b40
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x403b48
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x403b88
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x403be4
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x403bdf
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x403bca
test dl, dl
je 0x403bc6
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x403bca
add ecx, 2
add eax, 2
test dl, dl
jne 0x403baa
xor eax, eax
jmp 0x403bcf
sbb eax, eax
or eax, 1
test eax, eax
je 0x403bee
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x403b97
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x403c05
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00403a65
test eax, eax
jne 0x403c1d
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00403b25
mov esi, eax
test esi, esi
jne 0x403c53
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x403c6d
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x403d65
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00403a65
mov esi, eax
test esi, esi
jne 0x403d83
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00403b25
mov dword [esp + 0x18], eax
test eax, eax
je 0x403d7b
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00403b25
mov dword [esp + 0x34], eax
test eax, eax
je 0x403d7b
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00403b25
mov dword [esp + 0x28], eax
test eax, eax
je 0x403d7b
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00403b25
mov dword [esp + 0x30], eax
test eax, eax
je 0x403d7b
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x403f4a
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x403f4a
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x403ead
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x403f2e
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x403ed0
movzx esi, ax
jmp 0x403ed5
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x403ef4
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x403f03
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x403f57
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x403ec5
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x403e8a
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x403f80
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x403f80
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x403f65
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x403f95
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00403a65
mov esi, eax
test esi, esi
je 0x404051
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00403b25
mov ebp, eax
test ebp, ebp
je 0x404050
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00403b25
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x404050
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x404050
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40404f
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x404035
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x40669b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x40674e
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x41806f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x419aa7
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00419983
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x419a80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x419ace
test ebp, ebp
je 0x419ace
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x419ad6
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x419b16
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x419b72
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x419b6d
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x419b58
test dl, dl
je 0x419b54
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x419b58
add ecx, 2
add eax, 2
test dl, dl
jne 0x419b38
xor eax, eax
jmp 0x419b5d
sbb eax, eax
or eax, 1
test eax, eax
je 0x419b7c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x419b25
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x419b93
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.004199f3
mov esi, eax
test esi, esi
je 0x419c4f
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00419ab3
mov ebp, eax
test ebp, ebp
je 0x419c4e
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00419ab3
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x419c4e
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x419c4e
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x419c4d
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x419c33
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret