joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442380
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f5e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004685b0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441d20
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004684de
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00464da2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00464da2
push 1
push 0
push 0
mov ecx, esi
call fcn.00464d4a
push 1
push 0
push 1
mov ecx, esi
call fcn.00464d4a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468622
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x442500
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004685b0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441d20
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004684de
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4425c4
cmp dword [esp + 0x40], 1
jne 0x4425c2
cmp ecx, eax
jge 0x4425c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4425d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00442380
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00468622
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x442d50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f673
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004631c2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00468858
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469d74
test eax, eax
je 0x442e6c
mov ecx, dword [esp + 0x3c]
call fcn.00468885
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442e30
push edi
mov ecx, esi
call fcn.00465ee9
mov ecx, esi
call fcn.00442fd0
cmp dword [esp + 0x38], 1
jne 0x442e65
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00466024
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x445890
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4458c3
push esi
call fcn.00448980
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4458bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445949
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445932
mov eax, dword [esi + 8]
test eax, eax
je 0x4458e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44592e
cmp eax, 2
je 0x445932
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4458da
cmp eax, 3
je 0x44590d
cmp eax, 1
jne 0x4458da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4458da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4458da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445970
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445958
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445970
add esp, 4
pop esi
ret

Function at 0x463fb8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463ff0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046206c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00462044
jmp 0x463ffc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4656a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4656e8
call fcn.0046b15f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4656e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4656df
xor eax, eax
jmp 0x4656f0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004656f6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b68f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46b6bd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b6db
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b5f5
jmp 0x46b6db
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b6db
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b5f5
test edi, edi
mov eax, edi
jne 0x46b6c5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4060f0
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40630b
sub esp, 0x10
movzx eax, byte [0x506a19]
test al, al
jne 0x4062e3
mov eax, dword [0x506b40]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov edx, dword [esp + 0x18]
add eax, edx
mov ebx, dword [esp + 0x14]
jmp 0x4061a4
lea edx, [ebx + 4]
test byte [edx], al
lea edx, [ebx + 8]
test byte [edx], al
lea edx, [ebx + 0xc]
test byte [edx], al
mov edx, dword [ebx]
xor edx, eax
imul eax, edx, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov edx, dword [ebx + 4]
xor edx, ebp
imul edx, edx, 0xc70f85e1
rol edx, 0xf
imul ebp, edx, 0x319bca41
mov edx, dword [ebx + 8]
xor edx, esi
imul edx, edx, 0x319bca41
rol edx, 0xf
imul esi, edx, 0x8b421a21
mov edx, dword [ebx + 0xc]
xor edx, edi
imul edx, edx, 0x8b421a21
rol edx, 0xf
imul edi, edx, 0xbce2d621
add ecx, 0xfffffff0
add ebx, 0x10
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
jae 0x406131
xor eax, ebp
xor eax, esi
xor eax, edi
test ecx, ecx
je 0x40623d
cmp ecx, 4
jb 0x4062a7
je 0x406292
cmp ecx, 8
jbe 0x406266
cmp ecx, 0x10
jbe 0x4061e6
mov ebp, dword [0x506b44]
imul ebp, edx
mov esi, dword [0x506b48]
imul esi, edx
mov edi, dword [0x506b4c]
imul edi, edx
jmp 0x406199
lea edx, [ebx + 4]
test byte [edx], al
mov edx, ebx
lea ebp, [ecx + ebx - 8]
lea ecx, [ecx + ebx - 4]
mov ebx, dword [edx]
xor eax, ebx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor eax, dword [edx + 4]
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor eax, dword [ebp]
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor eax, dword [ecx]
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, eax
shr eax, 0x11
xor ecx, eax
imul eax, ecx, 0x319bca41
mov ecx, eax
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x8b421a21
mov ecx, eax
shr eax, 0x10
xor eax, ecx
mov dword [esp + 0x20], eax
add esp, 0x10
ret
mov edx, ebx
lea ecx, [ecx + ebx - 4]
mov edx, dword [edx]
xor eax, edx
imul edx, eax, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
xor edx, dword [ecx]
imul ecx, edx, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x40623d
mov ecx, dword [ebx]
xor eax, ecx
imul ecx, eax, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x40623d
mov edx, ecx
shr ecx, 1
lea ebp, [ebx + ecx]
test byte [ebp], al
mov ebp, ebx
lea edx, [edx + ebx - 1]
movzx ebx, byte [ebp]
xor eax, ebx
movzx ecx, byte [ebp + ecx]
shl ecx, 8
xor ecx, eax
movzx edx, byte [edx]
shl edx, 0x10
xor edx, ecx
imul ecx, edx, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x40623d
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.00444e00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
add esp, 0x10
ret
call fcn.00443a30
jmp fcn.004060f0
Function at 0x409500
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x409709
sub esp, 0x44
mov eax, dword [esp + 0x48]
cmp eax, 0x7000000
jle 0x4096ee
mov eax, 0x7000000
mov dword [esp + 0x48], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
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
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.00445140
fld qword [esp + 4]
fld st(0)
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, dword [esp + 0x2c]
shr esi, 0x1b
shl ebx, 5
or esi, ebx
mov ebx, ebp
add ebp, 1
mov ebp, 0
adc ebp, 0
test ebp, ebp
fstp st(0)
jne 0x409702
cmp ecx, 0x21
jae 0x409702
mov dword [esp + 0x10], esi
lea ebp, [0x4eb8e0]
fld qword [ebp + ebx*8]
fld st(0)
fstp qword [esp + 0x1c]
fld qword [ebp + ecx*8]
fld st(0)
fstp qword [esp + 0x24]
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
fstp st(0)
fstp st(0)
call fcn.00440b40
mov eax, dword [esp + 0x10]
and eax, 0xfffff
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
fstp st(0)
call fcn.00440c30
fld qword [esp + 0x3c]
fld qword [esp + 0x1c]
fld st(0)
faddp st(2)
fld qword [esp + 0x24]
fld st(1)
fsubp st(1)
fld qword [esp + 8]
fstp st(2)
fld st(1)
fmulp st(1)
fld qword [0x4955a8]
fstp st(2)
fld st(0)
fmulp st(2)
fld st(1)
faddp st(3)
fld qword [0x495600]
fstp st(2)
fld st(1)
fsubp st(3)
fld st(2)
fstp qword [esp + 0x14]
fld qword [0x4955a0]
fstp st(2)
fld st(2)
fucomp st(2)
mov dword [esp + 0x34], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x34]
fstp st(0)
fstp st(0)
fstp st(0)
jbe 0x4096a9
fld qword [0x4955a0]
fld st(0)
fstp qword [esp + 0x14]
fstp st(0)
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
fld qword [0x495620]
fld st(0)
fmulp st(2)
fld qword [esp + 0x14]
fstp st(1)
fld st(1)
fmulp st(1)
fld st(0)
fnstcw word [esp + 0x38]
fldcw word [0x4e80a8]
fistp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fldcw word [esp + 0x38]
inc eax
mov dword [esp + 0x4c], eax
fstp st(0)
fstp st(0)
add esp, 0x44
ret
test eax, eax
jne 0x40952d
mov dword [esp + 0x4c], 0
add esp, 0x44
ret
call fcn.00421d10
ud2
call fcn.00443a30
jmp fcn.00409500
Function at 0x40e220
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x24
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x54]
mov dword [esp + 0x20], edx
test byte [edx], al
test byte [eax], al
mov ecx, dword [esp + 0x34]
mov eax, ecx
shr ecx, 2
shr eax, 5
and ecx, 7
mov ebx, 1
shl ebx, cl
lea ebp, [edx + 0x978]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x38]
add eax, esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
jmp 0x40e291
add eax, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
cmp edx, esi
jae 0x40e3bf
test bl, bl
jne 0x40e3b6
lea ebp, [eax + 1]
test byte [ebp], al
movzx eax, byte [eax + 1]
test al, al
jne 0x40e2b8
lea eax, [edx + 0x1c]
jmp 0x40e280
mov eax, 1
movzx ebx, byte [ebp]
test bl, al
je 0x40e3ad
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xb], al
lea ebx, [edx + ecx]
test edi, edi
jne 0x40e34a
mov edi, dword [esp + 0x18]
test byte [edi], al
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x978]
mov ebx, dword [ebx]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [edi + 0x978]
add ecx, 8
mov dword [edi + 0x978], ecx
mov ebx, dword [edi + 0x97c]
cmp ebx, ecx
je 0x40e31f
shl eax, 1
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, eax
mov eax, edx
jmp 0x40e280
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.0041f5d0
movzx eax, byte [esp + 0xb]
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
jmp 0x40e30c
add edi, edx
mov ecx, dword [esp + 0x18]
test byte [ecx], al
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x978]
mov ebx, dword [ebx]
mov edi, dword [edi]
mov dword [esi], ebx
mov dword [esi + 4], edi
mov ebx, dword [ecx + 0x978]
add ebx, 8
mov dword [ecx + 0x978], ebx
mov esi, dword [ecx + 0x97c]
cmp esi, ebx
je 0x40e386
mov esi, dword [esp + 0x30]
mov edi, ecx
jmp 0x40e30c
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.0041f5d0
movzx eax, byte [esp + 0xb]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
jmp 0x40e37e
mov edi, dword [esp + 0x20]
jmp 0x40e30c
mov ebp, eax
mov eax, ebx
jmp 0x40e2bd
add esp, 0x24
ret
Function at 0x410c90
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x410e9c
sub esp, 0x18
mov eax, dword [0x506a6c]
test eax, eax
jne 0x410e84
lea eax, [0x506a5c]
mov dword [esp], eax
call fcn.00407550
mov eax, dword [0x4f6330]
test eax, eax
je 0x410cdd
mov eax, dword [eax + 8]
cmp eax, 0xcc
jne 0x410da4
mov eax, dword [0x4f6328]
test eax, eax
jne 0x410d86
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x507db8]
mov dword [esp + 8], eax
call fcn.00409720
mov eax, dword [esp + 0xc]
mov dword [0x4f6328], eax
mov ecx, dword [0x4f6304]
mov dword [eax], ecx
mov eax, dword [0x4f6328]
mov dword [0x4f6304], eax
movzx eax, byte [0x506ce0]
test al, al
jne 0x410d86
xor eax, eax
jmp 0x410d43
lea ebp, [0x506ce0]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jge 0x410d86
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
lea ecx, [edx + edx*4]
mov edx, ebx
sub ebx, ecx
cmp ebx, 5
jae 0x410e7d
lea ecx, [0x4e80c8]
movzx ebx, byte [ecx + ebx]
cmp edx, 0x80
jb 0x410d36
jmp 0x410e7d
mov eax, dword [0x4f6328]
mov ecx, dword [eax + 4]
mov dword [0x4f6328], ecx
mov ecx, dword [0x4f6330]
mov dword [eax + 4], ecx
mov dword [0x4f6330], eax
mov eax, dword [0x4f6330]
mov ecx, dword [eax + 8]
cmp ecx, 0xcc
jae 0x410e76
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ecx, [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00401d60
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x506b50]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x410e67
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x506b50]
test edx, edx
jne 0x410e44
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
mov byte [0x506a0a], 1
lea eax, [0x506a5c]
mov dword [esp], eax
call fcn.00407720
add esp, 0x18
ret
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00445190
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00445190
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00445190
jmp 0x410e2b
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00445190
mov eax, edx
jmp 0x410e01
call fcn.00421d10
ud2
call fcn.00421d10
ud2
lea eax, [0x488457]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00423120
ud2
call fcn.00443a30
jmp fcn.00410c90
Function at 0x416400
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4165ee
sub esp, 0x34
movzx eax, byte [0x4f6ae8]
test al, al
jne 0x4165d6
mov eax, dword [0x4f8570]
mov dword [esp + 0x18], eax
shr eax, 1
and eax, 1
lea eax, [eax + eax*4]
lea edx, [0x4f8588]
lea eax, [edx + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0041a410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x18]
xor ebx, ebx
jmp 0x41646c
inc ebx
cmp ebx, eax
jge 0x41655d
mov ebp, dword [ecx + ebx*4]
movzx esi, byte [ebp + 0x3c]
xchg esi, eax
cmp al, 1
xchg esi, eax
jne 0x41646b
movzx esi, byte [0x506a1a]
xchg esi, eax
test al, al
xchg esi, eax
je 0x416550
mov esi, dword [ebp + 0x58]
test esi, esi
je 0x41646b
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebp
lea eax, [ebp + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.00407550
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x58]
jmp 0x4164bc
mov ecx, dword [ecx]
test ecx, ecx
je 0x41652f
movzx edx, byte [ecx + 6]
cmp dl, 1
jne 0x4164ba
movzx edx, word [ecx + 4]
mov ebx, dword [eax + 0x40]
mov ebp, dword [eax + 0xc]
test ebx, ebx
je 0x416561
mov dword [esp + 0x2c], ecx
mov eax, edx
xor edx, edx
div ebx
imul eax, ebx
lea ecx, [ebp + eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.004180d0
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 8]
lea ebx, [0x4e80a0]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], 4
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.00417fd0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0x4164ba
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
jmp 0x41646b
mov esi, dword [ebp + 0x30]
cmp esi, edx
je 0x416493
jmp 0x416568
add esp, 0x34
ret
call fcn.00421f10
ud2
mov dword [esp + 0x1c], esi
call fcn.004239e0
lea eax, [0x485601]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.004243b0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004240d0
call fcn.00423bb0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004240d0
call fcn.00423bf0
call fcn.00423a50
lea eax, [0x486c76]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00423120
ud2
lea eax, [0x48a119]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00423120
ud2
call fcn.00443a30
jmp fcn.00416400
Function at 0x41db90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41dca8
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x41dc1e
cmp cl, 2
jne 0x41dc90
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0041e810
lea eax, [0x4faa64]
mov dword [esp], eax
call fcn.00407550
lea eax, [0x4faa40]
test byte [eax], al
mov eax, dword [0x4faa58]
sub eax, dword [0x4faa40]
mov dword [0x4faa58], eax
mov eax, dword [0x4faa4c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4faa4c], ecx
lea eax, [0x4faa64]
mov dword [esp], eax
call fcn.00407720
add esp, 0x14
ret
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00410c90
lea eax, [0x4faa64]
mov dword [esp], eax
call fcn.00407550
lea eax, [0x4faa1c]
test byte [eax], al
mov eax, dword [0x4faa34]
sub eax, dword [0x4faa1c]
mov dword [0x4faa34], eax
mov eax, dword [0x4faa28]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x4faa28], ecx
lea eax, [0x4faa64]
mov dword [esp], eax
call fcn.00407720
jmp 0x41dc1a
lea eax, [0x486c46]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00423120
ud2
call fcn.00443a30
jmp fcn.0041db90
Function at 0x438b80
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x10
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x148]
inc ecx
mov dword [eax + 0x148], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
lea edx, [ecx + 0xc0]
test byte [edx], al
mov edx, eax
mov dword [ecx + 0xc0], eax
lea eax, [edx + 0x84]
test byte [eax], al
mov eax, dword [edx + 0x18]
mov dword [edx + 0x84], eax
mov dword [esp], 0
lea eax, [0x48bc8c]
mov dword [esp + 4], eax
call fcn.004220d0
test eax, eax
jne 0x438c7b
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x194]
test byte [ecx], al
mov edx, dword [esp + 0x14]
mov dword [eax + 0x194], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x198], edx
lea edx, [esp + 0x1c]
mov dword [eax + 0x19c], edx
mov edx, dword [0x4f6310]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00403090
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x1a0]
mov edx, dword [eax + 0x1a4]
mov eax, dword [eax + 0x1a8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
nop
call fcn.00422890
add esp, 0x10
ret
nop
call fcn.00422890
add esp, 0x10
ret