joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401369
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401369
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401358
cmp esi, edx
jae 0x401369
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x401346
cmp esi, edx
jae 0x401369
cmp word [esi], 0
je 0x401369
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x43fc90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x5c0b00]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5c3cb0]
mov ecx, dword [0x5c3cb4]
lea edx, [eax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete byte [ebp - 0x11]
cmp ecx, 0xa
setl byte [ebp - 0x12]
mov ecx, 0xbd8827fe
jmp 0x43fce0
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
mov ecx, 0x7229146f
nop word [eax + eax]
cmp ecx, 0x1c307dda
jg 0x43fd10
cmp ecx, 0xef95c965
jle 0x43fd80
cmp ecx, 0xef95c966
je 0x43fccf
cmp ecx, 0xf51ab72b
jne 0x43fed6
mov ecx, 0xf49d3a90
jmp 0x43fce0
cmp ecx, 0x2e2b2f32
jg 0x43fdb0
cmp ecx, 0x1c307ddb
je 0x43fe0d
cmp ecx, 0x1df06d41
jne 0x43fce0
mov edx, dword [0x5c3cb0]
mov eax, dword [0x5c3cb4]
lea ecx, [edx + 1]
imul ecx, edx
mov edx, ecx
xor edx, 0xfffffffe
test edx, ecx
sete bl
cmp eax, 0xa
setl bh
xor bh, bl
mov ebx, 0xef95c966
mov edi, 0x7229146f
cmovne ebx, edi
test edx, ecx
mov ecx, ebx
cmove ecx, edi
cmp eax, 0xa
cmovge ecx, ebx
jmp 0x43fce0
cmp ecx, 0xbd8827fe
je 0x43fe2c
cmp ecx, 0xee3c286a
jne 0x43fce0
cmp byte [ebp - 0x13], 0
mov ecx, 0xf49d3a90
mov eax, 0x1df06d41
cmovne ecx, eax
jmp 0x43fce0
cmp ecx, 0x2e2b2f33
je 0x43fe5b
cmp ecx, 0x7229146f
jne 0x43fce0
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
mov eax, dword [0x5c3cb0]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
mov ecx, 0xef95c966
mov edi, 0xf51ab72b
cmove ecx, edi
cmp dword [0x5c3cb4], 0xa
mov edx, 0xef95c966
cmovge ecx, edx
setl dl
xor dl, al
cmovne ecx, edi
jmp 0x43fce0
push eax
sub esp, 0x18c
mov eax, esp
mov byte [esi], 0
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x2e2b2f33
jmp 0x43fce0
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0x12]
mov edx, ecx
xor dl, al
test cl, cl
mov ecx, 0x1c307ddb
mov ebx, 0x2e2b2f33
cmovne ecx, ebx
test al, al
mov eax, 0x1c307ddb
cmove ecx, eax
test dl, dl
cmovne ecx, ebx
jmp 0x43fce0
push eax
mov eax, esp
mov dword [ebp - 0x20], eax
sub esp, 0x190
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, dword [0x5c3cb0]
mov edx, dword [0x5c3cb4]
lea ecx, [ebx + 1]
imul ecx, ebx
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete bl
cmp edx, 0xa
setl bh
xor bh, bl
mov ebx, 0x1c307ddb
mov edi, 0xee3c286a
cmovne ebx, edi
cmp ecx, 0xffffffff
mov ecx, ebx
cmove ecx, edi
cmp edx, 0xa
cmovge ecx, ebx
test eax, eax
sete byte [ebp - 0x13]
jmp 0x43fce0
cmp ecx, 0xf49d3a90
jne 0x43fce0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005892d5
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a0fd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [ebp + 8]
mov ecx, dword [0x5c0b00]
xor ecx, ebp
mov dword [esp + 0x88], ecx
mov dword [esp + 4], 0x80
lea ecx, [esp + 4]
lea ebx, [esp + 8]
push ecx
push ebx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov dword [esp], eax
mov eax, 0xbdcd37c4
mov esi, 0x393ce9ad
mov edi, 0xb548e931
nop dword [eax]
cmp eax, 0xd0e751e4
jg 0x4a1060
cmp eax, 0x88188d46
je 0x4a112a
cmp eax, 0xb548e931
je 0x4a1093
cmp eax, 0xbdcd37c4
jne 0x4a1020
cmp dword [esp], 0
mov eax, 0x88188d46
mov ecx, 0xd0e751e5
cmove eax, ecx
jmp 0x4a1020
cmp eax, 0xd0e751e5
je 0x4a10e6
cmp eax, 0x393ce9ad
je 0x4a1120
cmp eax, 0x462fe81e
jne 0x4a1020
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0xc]
push ebx
call fcn.004a06d0
add esp, 0x10
mov eax, 0xb548e931
jmp 0x4a1020
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0xc]
push ebx
call fcn.004a06d0
add esp, 0x10
mov edx, dword [0x5c4dd0]
mov ecx, dword [0x5c4dd4]
lea eax, [edx - 1]
imul eax, edx
not eax
or eax, 0xfffffffe
cmp eax, 0xffffffff
sete dl
cmp ecx, 0xa
setl dh
xor dh, dl
mov edx, 0x462fe81e
cmovne edx, esi
cmp eax, 0xffffffff
mov eax, edx
cmove eax, esi
cmp ecx, 0xa
cmovge eax, edx
jmp 0x4a1020
mov eax, dword [0x5c4dd0]
lea ecx, [eax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
mov eax, 0x462fe81e
cmove eax, edi
cmp dword [0x5c4dd4], 0xa
mov edx, 0x462fe81e
cmovge eax, edx
setl dl
xor dl, cl
cmovne eax, edi
jmp 0x4a1020
mov eax, 0x88188d46
jmp 0x4a1020
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.005892d5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x58ad30
Capabilities:
Parse pe header

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

Function at 0x59b160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x59b18d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x59b18d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5a426a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005a4275
Function at 0x402cf9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408428
cmp edx, dword [eax]
je 0x402d1b
add eax, 8
inc ecx
cmp eax, 0x4084b8
jl 0x402d0c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408428]
jne 0x402e49
mov eax, dword [0x40aab4]
cmp eax, 1
je 0x402e23
test eax, eax
jne 0x402d4c
cmp dword [0x408034], 1
je 0x402e23
cmp edx, 0xfc
je 0x402e49
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402d83
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403520
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402010
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402dc6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402010
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4075b0
push edi
call fcn.004033e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403520
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403530
lea eax, [ebp - 0xa0]
push 0x407590
push eax
call fcn.00403530
push dword [esi + 0x40842c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403530
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405073
add esp, 0x2c
pop edi
jmp 0x402e49
lea eax, [ebp + 8]
lea esi, [esi + 0x40842c]
push 0
push eax
push dword [esi]
call fcn.00402010
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40658c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4065ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004019f1
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4065cf
test byte [esp + 8], 2
je 0x4065cf
call fcn.00401a64
mov dword [eax], 0xd
call fcn.00401a6d
mov dword [eax], 5
jmp 0x4065a8
xor eax, eax
ret
Function at 0x403900
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403ad0
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046b3d0
jmp fcn.00403900
Function at 0x40d6b0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d87b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d6d9
mov eax, 0x7000000
jmp 0x40d6e1
test eax, eax
je 0x40d856
mov dword [esp + 0x34], eax
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.0046c780
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0xea0840]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40d86e
cmp edx, 0x21
jae 0x40d862
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.004645d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004646a0
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xc7e4c0]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xc7e510]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d831
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xc7e540]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.0046c860
mov eax, edx
mov ecx, 0x21
call fcn.0046c940
nop
call fcn.0046b3d0
jmp fcn.0040d6b0
Function at 0x417d70
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417f6e
sub esp, 0x18
mov eax, dword [0xf33e6c]
test eax, eax
jne 0x417f57
nop
nop
lea eax, [0xf33e5c]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [0xf33e60]
test eax, eax
je 0x417db8
cmp dword [eax + 8], 0xcc
jne 0x417e2e
mov edx, dword [0xf33e64]
test edx, edx
jne 0x417e10
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xf38b50]
mov dword [esp + 8], eax
call fcn.0040d890
mov eax, dword [esp + 0xc]
mov dword [0xf33e64], eax
mov ecx, dword [0xf33e68]
mov dword [eax], ecx
mov eax, dword [0xf33e64]
mov dword [0xf33e68], eax
movzx eax, byte [0xf34560]
test al, al
jne 0x417e10
xor eax, eax
jmp 0x417f28
mov edx, dword [0xf33e64]
mov ebx, dword [edx + 4]
mov dword [0xf33e64], ebx
mov ebx, dword [0xf33e60]
mov dword [edx + 4], ebx
mov dword [0xf33e60], edx
mov edx, dword [0xf33e60]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x417f07
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402fe0
mov eax, dword [0xf34078]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x417e80
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x417ec0
call fcn.0046c840
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0xf33e5c]
mov dword [esp], eax
call fcn.0040b4b0
nop
lea eax, [0xf33e58]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00403160
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046c860
lea edx, [0xe9af08]
movzx ebx, byte [edx + eax]
lea ebp, [0xf34560]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x417e10
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x417f11
mov ecx, 5
call fcn.0046c850
lea eax, [0x7c99f6]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043a4b0
nop
call fcn.0046b3d0
jmp fcn.00417d70
Function at 0x42c020
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c164
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00429e30
mov eax, dword [esp + 4]
test eax, eax
je 0x42c14d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0xf33f68]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.00427900
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.0040b290
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x42c0b7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42c0e2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42c0cc
cmp byte [ebp + 6], bl
je 0x42c0d7
cmp esi, edx
ja 0x42c0de
jne 0x42c0b5
cmp byte [ebp + 6], bl
jbe 0x42c0b5
jmp 0x42c0de
mov ebx, 1
jmp 0x42c0e4
xor ebx, ebx
jmp 0x42c0e4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x42c102
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.0042bf20
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040b4b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0xf33f68]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42c13d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42c13d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x7cdfd6]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043a4b0
nop
call fcn.0046b3d0
jmp fcn.0042c020
Function at 0x42c5e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c750
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42c6e0
cmp cl, 1
je 0x42c672
cmp cl, 2
jne 0x42c739
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00431bd0
nop
nop
lea eax, [0xf002a0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [0xf00244]
sub eax, dword [0xf00228]
nop
mov dword [0xf00244], eax
mov eax, dword [0xf00234]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xf00234], ecx
nop
lea eax, [0xf002a0]
mov dword [esp], eax
call fcn.0040b4b0
jmp 0x42c735
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00417d70
nop
nop
lea eax, [0xf002a0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [0xf0021c]
sub eax, dword [0xf00200]
nop
mov dword [0xf0021c], eax
mov eax, dword [0xf0020c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xf0020c], ecx
nop
lea eax, [0xf002a0]
mov dword [esp], eax
call fcn.0040b4b0
jmp 0x42c735
cmp cl, 3
jne 0x42c6eb
mov byte [eax + 8], 1
jmp 0x42c735
cmp cl, 4
jne 0x42c739
nop
nop
lea eax, [0xf002a0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [0xf00294]
sub eax, dword [0xf00278]
nop
mov dword [0xf00294], eax
mov eax, dword [0xf00284]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xf00284], ecx
nop
nop
lea eax, [0xf002a0]
mov dword [esp], eax
call fcn.0040b4b0
add esp, 0x14
ret
lea eax, [0x7c353c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043a4b0
nop
call fcn.0046b3d0
jmp fcn.0042c5e0
Function at 0x432440
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x432526
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0xf34510]
mov dword [esp], ecx
call fcn.00402f50
mov eax, dword [esp + 4]
test eax, eax
je 0x432502
mov dword [esp + 8], 0
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.0046ca79
lea ecx, [0x432530]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.0046b2e0
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x4324fe
jae 0x43251b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.00447550]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.0046c850
nop
call fcn.0046b3d0
jmp fcn.00432440
Function at 0x435520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x435724
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call fcn.0040b290
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x24]
movzx edx, byte [esp + 0x30]
test dl, dl
jne 0x435560
mov ecx, dword [eax + 0x60]
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
jne 0x4356e5
mov dword [esp + 0x14], 0
test dl, dl
je 0x4355ee
mov ecx, dword [eax + 0x58]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ecx, ecx
setbe cl
and ecx, ebp
or ecx, ebx
test cl, cl
jne 0x43570d
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x43570d
mov dword [eax + 0x58], 0xffffffff
mov dword [eax + 0x5c], 0xffffffff
mov dword [esp], eax
call fcn.00434d80
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call fcn.00435460
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x28]
jmp 0x4355f0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
movzx ebx, byte [esp + 0x31]
test bl, bl
je 0x435682
mov ebx, dword [eax + 0x94]
mov ebp, dword [eax + 0x98]
test ebp, ebp
xchg ebp, ebx
setl bl
xchg ebp, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
test ebx, ebx
setbe bl
and esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4356f7
mov ebx, dword [eax + 0x78]
test ebx, ebx
jne 0x43563f
test dl, dl
je 0x4356f7
mov dword [eax + 0x94], 0xffffffff
mov dword [eax + 0x98], 0xffffffff
mov dword [esp], eax
call fcn.00434d80
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
call fcn.00435460
mov eax, dword [esp + 0x10]
jmp 0x435684
xor eax, eax
mov dword [esp + 0x18], eax
nop
nop
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
call fcn.0040b4b0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4356ae
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00435260
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4356c6
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00435260
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4356e1
nop
lea ecx, [0xf33e98]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00402fe0
add esp, 0x24
ret
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0040b4b0
add esp, 0x24
ret
lea eax, [0x7d68a8]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043a4b0
lea eax, [0x7d5179]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0043a4b0
nop
call fcn.0046b3d0
jmp fcn.00435520