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

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x4067e3
mov eax, dword [0x40b148]
cmp eax, 0xffffffff
je 0x4067da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40b148], 0xffffffff
jmp 0x406859
cmp dword [0x4299e0], edi
je 0x406859
cmp word [0x4291e0], di
je 0x406823
cmp dword [0x40b148], 0xffffffff
jne 0x40682c
push 4
push 0x40000000
push 0x4291e0
call fcn.004060e7
cmp eax, 0xffffffff
mov dword [0x40b148], eax
je 0x406859
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40b148], 0xffffffff
je 0x406859
push esi
mov esi, 0x42aa00
push 0x40b4b0
push esi
call sub.KERNEL32.dll_lstrcatW
lea eax, [ebp + 8]
push edi
push eax
push esi
call sub.KERNEL32.dll_lstrlenW
add eax, eax
push eax
push esi
push dword [0x40b148]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop edi
pop ebp
ret 4

Function at 0x406a46
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x428de4], 0
push esi
jne 0x406a7d
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a57
mov dword [ecx*4 + 0x428de0], eax
inc ecx
cmp ecx, 0x100
jl 0x406a52
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aae
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x428de0]
xor eax, esi
inc ecx
dec edx
jne 0x406a90
pop edi
not eax
pop esi
ret 0xc
Function at 0x40dedb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408cd1
mov dword [ebp - 0x14], eax
cmp dword [0x43207c], esi
jne 0x40dfce
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40df5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e0ae
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e0ae
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e0ae
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43207c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x432080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x432084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43208c], eax
test eax, eax
je 0x40dfcb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x432088], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dff3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dfe6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e008
push 4
pop eax
jmp 0x40e0b0
cmp dword [ebp - 0x14], esi
je 0x40e008
push dword [0x43207c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40dfed
mov eax, dword [0x432088]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e066
cmp dword [0x43208c], edi
je 0x40e066
push eax
call ebx
push dword [0x43208c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e066
test eax, eax
je 0x40e066
call ecx
test eax, eax
je 0x40e05b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e05b
test byte [ebp - 8], 1
jne 0x40e066
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e096
mov eax, dword [0x432080]
cmp eax, edi
je 0x40e093
push eax
call ebx
test eax, eax
je 0x40e093
call eax
mov esi, eax
test esi, esi
je 0x40e093
mov eax, dword [0x432084]
cmp eax, edi
je 0x40e093
push eax
call ebx
test eax, eax
je 0x40e093
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43207c]
call ebx
test eax, eax
je 0x40e0ae
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e0b0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404293
mov esp, ebp
pop ebp
ret
Function at 0x1001c6a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001c73b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001c6f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001c6f2
cmp esi, ebx
jge 0x1001c6f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001c735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001c735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e4]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e4]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001c74d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x1001c970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
mov eax, dword [ebp + 8]
je 0x1001c998
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001c9b2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10016573
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10022650
leave
ret 4

Function at 0x1001cb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x1001cbb6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cc15
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10016573
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10016573
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10016573
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022650
leave
ret 0x10
Function at 0x1001cc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cc5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cc8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cc8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10016573
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022650
leave
ret 8
Function at 0x40c3d0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c59b
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c3f9
mov eax, 0x7000000
jmp 0x40c401
test eax, eax
je 0x40c576
mov dword [esp + 0x14], eax
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
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 + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.00467fe0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
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 + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x8285c0]
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 0x40c58e
cmp edx, 0x21
jae 0x40c582
movsd qword [esp + 0x18], 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 + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.0045f5d0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0045f6a0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x6f1330]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x6f1388]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c551
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x6f13d0]
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.004680a0
mov eax, edx
mov ecx, 0x21
call fcn.00468180
nop
call fcn.00466c30
jmp fcn.0040c3d0
Function at 0x416690
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41689e
sub esp, 0x18
mov eax, dword [0x85d2f0]
test eax, eax
jne 0x416887
nop
nop
lea eax, [0x85d2e0]
mov dword [esp], eax
call fcn.0040a0c0
mov eax, dword [0x85d2e4]
test eax, eax
je 0x4166d8
cmp dword [eax + 8], 0xcc
jne 0x41674e
mov edx, dword [0x85d2e8]
test edx, edx
jne 0x416730
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x864410]
mov dword [esp + 8], eax
call fcn.0040c5b0
mov eax, dword [esp + 0xc]
mov dword [0x85d2e8], eax
mov ecx, dword [0x85d2ec]
mov dword [eax], ecx
mov eax, dword [0x85d2e8]
mov dword [0x85d2ec], eax
movzx eax, byte [0x85d980]
test al, al
jne 0x416730
xor eax, eax
jmp 0x416858
mov edx, dword [0x85d2e8]
mov ebx, dword [edx + 4]
mov dword [0x85d2e8], ebx
mov ebx, dword [0x85d2e4]
mov dword [edx + 4], ebx
mov dword [0x85d2e4], edx
mov edx, dword [0x85d2e4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416837
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.00402c70
mov eax, dword [0x85d680]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x416798
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x4167ae
call fcn.00468040
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 dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x85d680]
test eax, eax
jne 0x4167d2
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x416800
call fcn.00468080
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x85d2e0]
mov dword [esp], eax
call fcn.0040a2c0
nop
lea eax, [0x85d2dc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402df0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004680a0
lea edx, [0x82627c]
movzx ebx, byte [edx + eax]
lea ebp, [0x85d980]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x416730
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 0x416841
mov ecx, 5
call fcn.00468090
lea eax, [0x697493]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00438580
nop
call fcn.00466c30
jmp fcn.00416690
Function at 0x424370
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x424473
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x42446d
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.004247c0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004248a0
movzx eax, byte [esp + 0x18]
test al, 2
je 0x424421
cmp word [esp + 0x10], 0x1f0
jbe 0x424421
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
movzx ebx, byte [edx + 0x30]
test bl, bl
jne 0x424425
mov ebx, dword [esp + 0x28]
cmp ebx, 0x200
jae 0x424425
nop
jmp 0x424425
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x424468
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00424830
add esp, 0x1c
ret
call fcn.004680a0
call fcn.004680a0
nop
call fcn.00466c30
jmp fcn.00424370
Function at 0x424480
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4245b4
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x4245ae
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.004247c0
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00424990
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x4245a7
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00424830
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x42456a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.00430d50
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x4245a3
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.00402bb0
add esp, 0x20
ret
mov eax, edx
call fcn.004680a0
call fcn.004680a0
nop
call fcn.00466c30
jmp fcn.00424480
Function at 0x42a020
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42a164
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00427e80
mov eax, dword [esp + 4]
test eax, eax
je 0x42a14d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x85d3cc]
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.00425aa0
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.0040a0c0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x42a0b7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42a0e2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42a0cc
cmp byte [ebp + 6], bl
je 0x42a0d7
cmp esi, edx
ja 0x42a0de
jne 0x42a0b5
cmp byte [ebp + 6], bl
jbe 0x42a0b5
jmp 0x42a0de
mov ebx, 1
jmp 0x42a0e4
xor ebx, ebx
jmp 0x42a0e4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x42a102
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.00429f20
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a2c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x85d3cc]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42a13d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42a13d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x6998e3]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00438580
nop
call fcn.00466c30
jmp fcn.0042a020
Function at 0x42a5f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42a760
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42a6f0
cmp cl, 1
je 0x42a682
cmp cl, 2
jne 0x42a749
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042fb60
nop
nop
lea eax, [0x8418c0]
mov dword [esp], eax
call fcn.0040a0c0
mov eax, dword [0x841864]
sub eax, dword [0x841848]
nop
mov dword [0x841864], eax
mov eax, dword [0x841854]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x841854], ecx
nop
lea eax, [0x8418c0]
mov dword [esp], eax
call fcn.0040a2c0
jmp 0x42a745
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.00416690
nop
nop
lea eax, [0x8418c0]
mov dword [esp], eax
call fcn.0040a0c0
mov eax, dword [0x84183c]
sub eax, dword [0x841820]
nop
mov dword [0x84183c], eax
mov eax, dword [0x84182c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x84182c], ecx
nop
lea eax, [0x8418c0]
mov dword [esp], eax
call fcn.0040a2c0
jmp 0x42a745
cmp cl, 3
jne 0x42a6fb
mov byte [eax + 8], 1
jmp 0x42a745
cmp cl, 4
jne 0x42a749
nop
nop
lea eax, [0x8418c0]
mov dword [esp], eax
call fcn.0040a0c0
mov eax, dword [0x8418b4]
sub eax, dword [0x841898]
nop
mov dword [0x8418b4], eax
mov eax, dword [0x8418a4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x8418a4], ecx
nop
nop
lea eax, [0x8418c0]
mov dword [esp], eax
call fcn.0040a2c0
add esp, 0x14
ret
lea eax, [0x693e27]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00438580
nop
call fcn.00466c30
jmp fcn.0042a5f0
Function at 0x430510
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4305d1
sub esp, 0x2c
movzx ecx, byte [esp + 0x3c]
test cl, cl
je 0x43053e
mov byte [esp], 6
call fcn.0043d420
movzx ecx, byte [esp + 0x3c]
mov dword [esp + 4], 0
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x430552
test cl, cl
jmp 0x4305be
mov ebx, dword [0x85d3cc]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
lea ebp, [esp + 0x30]
lea edi, [esp + 8]
xor eax, eax
call fcn.00468277
lea ecx, [0x4305e0]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
movzx ecx, byte [esp + 0x3c]
mov byte [esp + 0x24], cl
lea edx, [esp + 4]
mov dword [esp + 0x28], edx
lea edx, [esp + 8]
mov dword [esp], edx
call fcn.00466b40
movzx ecx, byte [esp + 0x3c]
test cl, cl
je 0x4305c5
call fcn.0043d580
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
add esp, 0x2c
ret
call fcn.00466c30
jmp fcn.00430510