joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416513
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4165ae
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4165ae
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x416580
push esi
push 0xd
jmp 0x416591
cmp eax, edi
jne 0x416589
push esi
push 6
jmp 0x416591
cmp eax, 2
jne 0x416599
push esi
push 4
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x4165ae
cmp eax, 3
jne 0x4165a2
push edi
push edi
jmp 0x4165a9
cmp eax, 4
jne 0x4165ae
push esi
push esi
call sub.KERNEL32.dll_SetSystemPowerState
pop edi
pop esi
leave
ret 4

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

Disassembly:
push 0
push dword [esp + 0xc]
call fcn.00441030
pop ecx
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_send]
ret 8

Function at 0x4165ff
Capabilities:
Resolve dns

Disassembly:
push dword [esp + 4]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x416614
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
ret 4
Function at 0x4189ce
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45490c
call fcn.0043e0fd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4189f3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x418a39
lea ecx, [ebp - 0x10]
call fcn.00402497
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407e30
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004011fd
mov eax, esi
call fcn.0043e1d5
ret 8

Function at 0x419755
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00417a00
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41978e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004193a1
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4197ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x419810
cmp dword [edi + 0x54], 0
jne 0x419810
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00417a00
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004197ad
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41f824
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41f86b
call fcn.00417a00
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f86b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41f887
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041f39c
mov esi, eax
test edi, edi
je 0x41f885
test ebx, ebx
je 0x41f885
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42a2c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42a30f
call fcn.00417a00
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a30f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42a352
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42a33b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42a33b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42a34f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43e0ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477930]
jne 0x43e0f8
repz ret
jmp fcn.00444fcc
Function at 0x44b2bd
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.00443b37
and dword [ebp - 4], 0
cmp dword [0x47bbc8], 0
mov ebx, eax
jne 0x44b36e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44b41f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44b41f
push eax
call fcn.00443ac5
mov dword [esp], 0x4644c4
push edi
mov dword [0x47bbc8], eax
call esi
push eax
call fcn.00443ac5
mov dword [esp], 0x4644b0
push edi
mov dword [0x47bbcc], eax
call esi
push eax
call fcn.00443ac5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47bbd0], eax
call esi
push eax
call fcn.00443ac5
pop ecx
mov dword [0x47bbd8], eax
test eax, eax
je 0x44b36e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00443ac5
pop ecx
mov dword [0x47bbd4], eax
mov eax, dword [0x47bbd4]
cmp eax, ebx
je 0x44b3c6
cmp dword [0x47bbd8], ebx
je 0x44b3c6
push eax
call fcn.00443b40
push dword [0x47bbd8]
mov esi, eax
call fcn.00443b40
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44b3c6
test edi, edi
je 0x44b3c6
call esi
test eax, eax
je 0x44b3bd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44b3bd
test byte [ebp - 0xc], 1
jne 0x44b3c6
or dword [ebp + 0x10], 0x200000
jmp 0x44b3ff
mov eax, dword [0x47bbcc]
cmp eax, ebx
je 0x44b3ff
push eax
call fcn.00443b40
pop ecx
test eax, eax
je 0x44b3ff
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44b3ff
mov eax, dword [0x47bbd0]
cmp eax, ebx
je 0x44b3ff
push eax
call fcn.00443b40
pop ecx
test eax, eax
je 0x44b3ff
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47bbc8]
call fcn.00443b40
pop ecx
test eax, eax
je 0x44b41f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44b421
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4062a0
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4064bb
sub esp, 0x10
movzx eax, byte [0x7db11c]
test al, al
jne 0x406493
mov eax, dword [0x7db360]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov edx, dword [esp + 0x18]
add eax, edx
mov ebx, dword [esp + 0x14]
jmp 0x406354
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 0x4062e1
xor eax, ebp
xor eax, esi
xor eax, edi
test ecx, ecx
je 0x4063ed
cmp ecx, 4
jb 0x406457
je 0x406442
cmp ecx, 8
jbe 0x406416
cmp ecx, 0x10
jbe 0x406396
mov ebp, dword [0x7db364]
imul ebp, edx
mov esi, dword [0x7db368]
imul esi, edx
mov edi, dword [0x7db36c]
imul edi, edx
jmp 0x406349
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 0x4063ed
mov ecx, dword [ebx]
xor eax, ecx
imul ecx, eax, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x4063ed
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 0x4063ed
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.0044b2f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
add esp, 0x10
ret
call fcn.00449f20
jmp fcn.004062a0
Function at 0x409c40
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x409e04
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x409de9
mov eax, 0x7000000
mov dword [esp + 0x38], 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.0044b630
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
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 + 0x24]
shr esi, 0x1b
shl ebx, 5
or esi, ebx
mov ebx, ebp
add ebp, 1
mov ebp, 0
adc ebp, 0
test ebp, ebp
jne 0x409dfd
cmp ecx, 0x21
jae 0x409dfd
mov dword [esp + 0x10], esi
lea ebp, [0x79f320]
movsd xmm0, qword [ebp + ebx*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebp + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.00446f10
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00447000
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
mulsd xmm2, qword [esp + 8]
movsd xmm1, qword [0x65e0d0]
mulsd xmm1, xmm2
addsd xmm0, xmm1
movsd xmm1, qword [0x65e140]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x409dc4
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x65e180]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x409c6d
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.00409c40
Function at 0x40fe90
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 0x40ff01
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 0x41002f
test bl, bl
jne 0x410026
lea ebp, [eax + 1]
test byte [ebp], al
movzx eax, byte [eax + 1]
test al, al
jne 0x40ff28
lea eax, [edx + 0x1c]
jmp 0x40fef0
mov eax, 1
movzx ebx, byte [ebp]
test bl, al
je 0x41001d
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xb], al
lea ebx, [edx + ecx]
test edi, edi
jne 0x40ffba
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 0x40ff8f
shl eax, 1
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, eax
mov eax, edx
jmp 0x40fef0
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00421f20
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 0x40ff7c
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 0x40fff6
mov esi, dword [esp + 0x30]
mov edi, ecx
jmp 0x40ff7c
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00421f20
movzx eax, byte [esp + 0xb]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
jmp 0x40ffee
mov edi, dword [esp + 0x20]
jmp 0x40ff7c
mov ebp, eax
mov eax, ebx
jmp 0x40ff2d
add esp, 0x24
ret
Function at 0x4128f0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412afc
sub esp, 0x18
mov eax, dword [0x7db194]
test eax, eax
jne 0x412ae4
lea eax, [0x7db184]
mov dword [esp], eax
call fcn.00407c50
mov eax, dword [0x7c90f4]
test eax, eax
je 0x41293d
mov eax, dword [eax + 8]
cmp eax, 0xcc
jne 0x412a04
mov eax, dword [0x7c90ec]
test eax, eax
jne 0x4129e6
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x7dcf98]
mov dword [esp + 8], eax
call fcn.00409e10
mov eax, dword [esp + 0xc]
mov dword [0x7c90ec], eax
mov ecx, dword [0x7c90c8]
mov dword [eax], ecx
mov eax, dword [0x7c90ec]
mov dword [0x7c90c8], eax
movzx eax, byte [0x7db520]
test al, al
jne 0x4129e6
xor eax, eax
jmp 0x4129a3
lea ebp, [0x7db520]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jge 0x4129e6
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 0x412add
lea ecx, [0x79a104]
movzx ebx, byte [ecx + ebx]
cmp edx, 0x80
jb 0x412996
jmp 0x412add
mov eax, dword [0x7c90ec]
mov ecx, dword [eax + 4]
mov dword [0x7c90ec], ecx
mov ecx, dword [0x7c90f4]
mov dword [eax + 4], ecx
mov dword [0x7c90f4], eax
mov eax, dword [0x7c90f4]
mov ecx, dword [eax + 8]
cmp ecx, 0xcc
jae 0x412ad6
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.00401e90
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x7db370]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x412ac7
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 [0x7db370]
test edx, edx
jne 0x412aa4
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 [0x7db10d], 1
lea eax, [0x7db184]
mov dword [esp], eax
call fcn.00407e20
add esp, 0x18
ret
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0044b680
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0044b680
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0044b680
jmp 0x412a8b
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0044b680
mov eax, edx
jmp 0x412a61
call fcn.004258a0
ud2
call fcn.004258a0
ud2
lea eax, [0x622a6a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00426cb0
ud2
call fcn.00449f20
jmp fcn.004128f0
Function at 0x418990
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418b7e
sub esp, 0x34
movzx eax, byte [0x7ca468]
test al, al
jne 0x418b66
mov eax, dword [0x7ccc30]
mov dword [esp + 0x18], eax
shr eax, 1
and eax, 1
lea eax, [eax + eax*4]
lea edx, [0x7ccc48]
lea eax, [edx + eax*4]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0041c970
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 0x4189fc
inc ebx
cmp ebx, eax
jge 0x418aed
mov ebp, dword [ecx + ebx*4]
movzx esi, byte [ebp + 0x3c]
xchg esi, eax
cmp al, 1
xchg esi, eax
jne 0x4189fb
movzx esi, byte [0x7db11d]
xchg esi, eax
test al, al
xchg esi, eax
je 0x418ae0
mov esi, dword [ebp + 0x58]
test esi, esi
je 0x4189fb
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.00407c50
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x58]
jmp 0x418a4c
mov ecx, dword [ecx]
test ecx, ecx
je 0x418abf
movzx edx, byte [ecx + 6]
cmp dl, 1
jne 0x418a4a
movzx edx, word [ecx + 4]
mov ebx, dword [eax + 0x40]
mov ebp, dword [eax + 0xc]
test ebx, ebx
je 0x418af1
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.0041a640
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 8]
lea ebx, [0x79a0a1]
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.0041a540
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0x418a4a
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00407e20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
jmp 0x4189fb
mov esi, dword [ebp + 0x30]
cmp esi, edx
je 0x418a23
jmp 0x418af8
add esp, 0x34
ret
call fcn.00425aa0
ud2
mov dword [esp + 0x1c], esi
call fcn.00427570
lea eax, [0x61cac7]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.00427df0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b10
call fcn.00427740
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b10
call fcn.00427780
call fcn.004275e0
lea eax, [0x61f4eb]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426cb0
ud2
lea eax, [0x627088]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00426cb0
ud2
call fcn.00449f20
jmp fcn.00418990
Function at 0x420500
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420618
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x42058e
cmp cl, 2
jne 0x420600
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00421160
lea eax, [0x7cf124]
mov dword [esp], eax
call fcn.00407c50
lea eax, [0x7cf100]
test byte [eax], al
mov eax, dword [0x7cf118]
sub eax, dword [0x7cf100]
mov dword [0x7cf118], eax
mov eax, dword [0x7cf10c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x7cf10c], ecx
lea eax, [0x7cf124]
mov dword [esp], eax
call fcn.00407e20
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.004128f0
lea eax, [0x7cf124]
mov dword [esp], eax
call fcn.00407c50
lea eax, [0x7cf0dc]
test byte [eax], al
mov eax, dword [0x7cf0f4]
sub eax, dword [0x7cf0dc]
mov dword [0x7cf0f4], eax
mov eax, dword [0x7cf0e8]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x7cf0e8], ecx
lea eax, [0x7cf124]
mov dword [esp], eax
call fcn.00407e20
jmp 0x42058a
lea eax, [0x61f44b]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00426cb0
ud2
call fcn.00449f20
jmp fcn.00420500
Function at 0x43e180
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, [0x6316c8]
mov dword [esp + 4], eax
call fcn.00425c60
test eax, eax
jne 0x43e27b
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 [0x7c90d4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00403210
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.00426420
add esp, 0x10
ret
nop
call fcn.00426420
add esp, 0x10
ret