joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10247b2a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102de968]
jne 0x10247b34
repz ret
jmp fcn.10249b2d

Function at 0x1024acff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10247bab
and dword [ebp - 4], 0
cmp dword [0x102e0a08], 0
mov ebx, eax
jne 0x1024adb0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1024ae61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1024ae61
push eax
call fcn.10247b39
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102e0a08], eax
call esi
push eax
call fcn.10247b39
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102e0a0c], eax
call esi
push eax
call fcn.10247b39
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102e0a10], eax
call esi
push eax
call fcn.10247b39
pop ecx
mov dword [0x102e0a18], eax
test eax, eax
je 0x1024adb0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10247b39
pop ecx
mov dword [0x102e0a14], eax
mov eax, dword [0x102e0a14]
cmp eax, ebx
je 0x1024ae08
cmp dword [0x102e0a18], ebx
je 0x1024ae08
push eax
call fcn.10247bb4
push dword [0x102e0a18]
mov esi, eax
call fcn.10247bb4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1024ae08
test edi, edi
je 0x1024ae08
call esi
test eax, eax
je 0x1024adff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1024adff
test byte [ebp - 0xc], 1
jne 0x1024ae08
or dword [ebp + 0x10], 0x200000
jmp 0x1024ae41
mov eax, dword [0x102e0a0c]
cmp eax, ebx
je 0x1024ae41
push eax
call fcn.10247bb4
pop ecx
test eax, eax
je 0x1024ae41
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1024ae41
mov eax, dword [0x102e0a10]
cmp eax, ebx
je 0x1024ae41
push eax
call fcn.10247bb4
pop ecx
test eax, eax
je 0x1024ae41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102e0a08]
call fcn.10247bb4
pop ecx
test eax, eax
je 0x1024ae61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1024ae63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1024e1a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x102de2e8]
sub eax, 0x151e
mov dword [0x102de2ec], eax
mov dword [ebp - 4], 0
mov eax, dword [0x102de2e8]
sub eax, 0x1836
mov dword [0x102de2e8], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov dword [0x102de2e8], 0x256b
mov dword [ebp - 0x10], 0
jmp 0x1024e1fb
jmp 0x1024e33f
cmp dword [ebp - 0x10], 0x104
setl al
mov byte [ebp - 0x11], al
mov al, byte [ebp - 0x11]
test al, 1
jne 0x1024e21d
jmp 0x1024e251
mov dword [ebp - 0xc], 1
jmp 0x1024e35f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x14], dx
mov ax, word [ebp - 0x14]
movzx ecx, ax
cmp ecx, 0
jne 0x1024e23c
jmp 0x1024e251
jmp 0x1024e23e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x1024e1fb
mov eax, dword [0x102de2e8]
sub eax, 0x1d85
mov dword [0x102de2e8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x1024e349
mov dword [0x102de2e8], 0xe40
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x1024e347
mov eax, dword [0x102de2e8]
add eax, 0x15ef
mov dword [0x102de2ec], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x1024e345
mov eax, dword [0x102de2e8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0x74a
mov dword [0x102de2e8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1024e343
mov dword [0x102de2e8], 0xf06
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x1024e341
mov dword [0x102de2e8], 0x2a3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x1024e33f
mov dword [0x102de2e8], 0x1286
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1024e211
jmp 0x1024e1f6
jmp 0x1024e341
jmp 0x1024e343
jmp 0x1024e345
jmp 0x1024e347
jmp 0x1024e349
mov eax, dword [0x102de2ec]
add eax, 0xa08
mov dword [0x102de2e8], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x1024e420
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.1024e420]
mov dword [0x102de2ec], 0x24b3
mov dword [ebp - 8], eax
mov dword [0x102de2e8], 0xbe4
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1024e471
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x1024e46f
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1024e4a9
jmp 0x1024e471
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x102de2e8], 0xd54
mov al, 1
test al, 1
jne 0x1024e443
jmp 0x1024e493
mov eax, dword [0x102de2e8]
sub eax, 0x72
mov dword [0x102de2ec], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0xc
pop ebp
ret
Function at 0x435540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x435562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435558
mov eax, 1
add ebx, ebx
jne 0x43557b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435570
jne 0x43558c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435570
xor ecx, ecx
sub eax, 3
jb 0x4355a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x435612
mov ebp, eax
add ebx, ebx
jne 0x4355ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4355b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4355dc
inc ecx
add ebx, ebx
jne 0x4355c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4355bd
jne 0x4355d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4355bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4355fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4355ed
jmp 0x43555e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4355fc
add edi, ecx
jmp 0x43555e
pop esi
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x435664
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x35000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x35094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x435619
mov ecx, edi
jns 0x435648
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3509c]
or eax, eax
je 0x43565e
mov dword [ebx], eax
add ebx, 4
jmp 0x435636
call dword [esi + 0x35098]
mov ebp, dword [esi + 0x350a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x435698
sub esp, 0xffffff80
jmp 0x411fa7
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x403850
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403a20
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.00472fd0
jmp fcn.00403850
Function at 0x40c340
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c50b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c369
mov eax, 0x7000000
jmp 0x40c371
test eax, eax
je 0x40c4e6
mov dword [esp + 0x34], eax
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
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 + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.00474380
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, [0xc688e0]
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 0x40c4fe
cmp edx, 0x21
jae 0x40c4f2
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.00464d40
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.00464e10
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 [0x986d48]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x986d88]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c4c1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x986dc0]
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.00474460
mov eax, edx
mov ecx, 0x21
call fcn.00474540
nop
call fcn.00472fd0
jmp fcn.0040c340
Function at 0x414a50
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414c4e
sub esp, 0x18
mov eax, dword [0xcd102c]
test eax, eax
jne 0x414c37
nop
nop
lea eax, [0xcd101c]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [0xcd1020]
test eax, eax
je 0x414a98
cmp dword [eax + 8], 0xcc
jne 0x414b0e
mov edx, dword [0xcd1024]
test edx, edx
jne 0x414af0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xcd6db0]
mov dword [esp + 8], eax
call fcn.0040c520
mov eax, dword [esp + 0xc]
mov dword [0xcd1024], eax
mov ecx, dword [0xcd1028]
mov dword [eax], ecx
mov eax, dword [0xcd1024]
mov dword [0xcd1028], eax
movzx eax, byte [0xcd1980]
test al, al
jne 0x414af0
xor eax, eax
jmp 0x414c08
mov edx, dword [0xcd1024]
mov ebx, dword [edx + 4]
mov dword [0xcd1024], ebx
mov ebx, dword [0xcd1020]
mov dword [edx + 4], ebx
mov dword [0xcd1020], edx
mov edx, dword [0xcd1020]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414be7
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.00479250
mov eax, dword [0xcd1508]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x414b60
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x414ba0
call fcn.00474440
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, [0xcd101c]
mov dword [esp], eax
call fcn.0040abb0
nop
lea eax, [0xcd1018]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004793d0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00474460
lea edx, [0xc62030]
movzx ebx, byte [edx + eax]
lea ebp, [0xcd1980]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x414af0
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 0x414bf1
mov ecx, 5
call fcn.00474450
lea eax, [0x8eed5a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046dbe0
nop
call fcn.00472fd0
jmp fcn.00414a50
Function at 0x419c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419cf9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00479100
movzx eax, byte [esp + 0xc]
test al, al
je 0x419cde
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x419ce2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.00419d10
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0041a2c0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x8eed72]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046dbe0
nop
call fcn.00472fd0
jmp fcn.00419c70
Function at 0x429b10
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429cea
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x429c15
cmp cl, 1
je 0x429ba4
cmp cl, 2
jne 0x429cd3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004791a0
nop
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [0xcbd69c]
sub eax, dword [0xcbd680]
nop
mov dword [0xcbd69c], eax
mov eax, dword [0xcbd68c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcbd68c], ecx
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040abb0
jmp 0x429ccf
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.00414a50
nop
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [0xcbd5fc]
sub eax, dword [0xcbd5e0]
nop
mov dword [0xcbd5fc], eax
mov eax, dword [0xcbd5ec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcbd5ec], ecx
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040abb0
jmp 0x429ccf
cmp cl, 3
je 0x429c77
cmp cl, 4
jne 0x429c28
mov byte [eax + 8], 1
jmp 0x429ccf
cmp cl, 5
jne 0x429cd3
nop
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [0xcbd674]
sub eax, dword [0xcbd658]
nop
mov dword [0xcbd674], eax
mov eax, dword [0xcbd664]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcbd664], ecx
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040abb0
jmp 0x429ccf
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042f110
nop
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [0xcbd624]
sub eax, dword [0xcbd608]
nop
mov dword [0xcbd624], eax
mov eax, dword [0xcbd614]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xcbd614], ecx
nop
nop
lea eax, [0xcbd6a8]
mov dword [esp], eax
call fcn.0040abb0
add esp, 0x14
ret
lea eax, [0x8e89a2]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0046dbe0
nop
call fcn.00472fd0
jmp fcn.00429b10
Function at 0x42f1e0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f362
sub esp, 0x24
mov eax, dword [0xcd195c]
test eax, eax
je 0x42f30d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42f318
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x42f266
cmp ecx, ebx
je 0x42f266
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0045c190
mov eax, dword [esp + 0x14]
jmp 0x42f290
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00472280
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42f311
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0042fc20
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0xcd1150]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42f309
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42f309
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.00474490
call fcn.0043a630
lea eax, [0x8e7e37]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043ae90
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043acb0
call fcn.0043a690
lea eax, [0x8ea0ee]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0046dbe0
nop
call fcn.00472fd0
jmp fcn.0042f1e0
Function at 0x4368e0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
mov dword [esp + 0x30], 0
mov eax, dword [0xcd1150]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x1b0], 8
lea ecx, [esp + 0x10]
mov dword [eax + 0x1b4], ecx
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.004365c0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
add esp, 8
ret
Function at 0x458430
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xcd1150]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45852c
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
test byte [eax], al
nop
nop
mov dword [esp], eax
call fcn.0040a990
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x458473
call fcn.004582d0
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
movzx ecx, byte [eax + 5]
test cl, 1
je 0x4584c7
test cl, 4
je 0x4584c7
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
test ebx, ebx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
seta dl
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4584c7
and ecx, 0xfffffffb
mov byte [eax + 5], cl
mov ecx, dword [eax + 0x2c]
test byte [ecx], al
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.004791e0
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 5]
nop
test cl, 1
jne 0x458505
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
test edx, edx
setg dl
sete bl
test ecx, ecx
seta cl
and ebx, ecx
or ebx, edx
test bl, bl
je 0x458505
movzx ecx, byte [eax + 6]
test cl, cl
je 0x4584fe
mov ecx, dword [eax + 8]
test ecx, ecx
seta cl
jmp 0x458507
mov ecx, 1
jmp 0x458507
xor ecx, ecx
mov byte [esp + 0xf], cl
mov dword [esp], eax
call fcn.004560c0
movzx eax, byte [esp + 0xf]
test al, al
je 0x458528
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.00456c00
add esp, 0x14
ret
call fcn.00472fd0
jmp fcn.00458430