joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401090
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4240b4
mov ebx, 9
nop dword [eax]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1ff
push eax
lea edi, [esi - 0x400]
push edi
push dword [edi - 4]
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x4010ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4010e1
movzx eax, ax
or eax, 0x80070000
mov dword [esi], eax
test eax, eax
js 0x4010ed
mov dword [esi], 0xffffffff
push edi
lea eax, [esi - 0x804]
push eax
push dword [esi]
push str._0x_x_____s:___s__n
call fcn.00401020
add esp, 0x10
add esi, 0x808
sub ebx, 1
jne 0x4010b0
pop edi
pop esi
pop ebx
lea eax, [ebp - 8]
push eax
push 0x420ce4
call fcn.00401050
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
call fcn.00401133
mov esp, ebp
pop ebp
ret

Function at 0x401932
Capabilities:
Parse pe header

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

Function at 0x40f08f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41deb8
push 0x41deb0
push str.FlsAlloc
push 0x1f
call fcn.0040ef4e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f0c3
push dword [ebp + 8]
mov ecx, esi
call dword [0x41b11c]
call esi
jmp 0x40f0c9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40f10d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41dec8
push 0x41dec0
push str.FlsGetValue
push 0x21
call fcn.0040ef4e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f144
push dword [ebp + 8]
mov ecx, esi
call dword [0x41b11c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40f14c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ded0
push 0x41dec8
push str.FlsSetValue
push 0x22
call fcn.0040ef4e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f186
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41b11c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4118cd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41196a
push ebx
push esi
call fcn.00411896
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041182a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x411917
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411969
push edi
push eax
call fcn.0040f64c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x411937
call fcn.0040da65
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411968
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041182a
add esp, 0x20
test eax, eax
jne 0x411956
push edi
call fcn.0040da65
jmp 0x41195e
push ebx
call fcn.0040da65
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x417567
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4286d0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4175a7
cmp byte [ebx], 0xa
jne 0x4175a7
or byte [edi + eax + 0x28], 4
jmp 0x4175ac
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4176ab
mov dl, byte [eax]
cmp dl, 0x1a
je 0x41768e
inc eax
cmp dl, 0xd
je 0x4175d8
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4175fe
cmp eax, ecx
jae 0x41760c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4175c0
jmp 0x4176ab
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417689
cmp dword [ebp - 0x10], 0
je 0x417689
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4286d0]
test byte [eax + edi + 0x28], 0x48
je 0x417663
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41764e
mov byte [esi], dl
jmp 0x41765f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4286d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4176ab
cmp byte [ebp - 1], 0xa
jne 0x417672
cmp esi, ebx
jne 0x417672
mov byte [esi], 0xa
jmp 0x4176aa
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004182de
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4176ab
mov byte [esi], 0xd
jmp 0x4176aa
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4286d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4176a8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4176ab
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4176b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4286d0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4176fa
cmp word [ebx], dx
jne 0x4176fa
or byte [eax + edi + 0x28], 4
jmp 0x4176ff
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x417862
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x417842
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x417740
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417776
cmp eax, edx
jae 0x417784
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41771b
jmp 0x417862
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41783d
cmp dword [ebp - 0x18], 0
je 0x41783d
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4286d0]
test byte [eax + edi + 0x28], 0x48
je 0x417813
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4177d7
mov word [esi], cx
jmp 0x41780e
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4286d0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4286d0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4286d0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x417862
pop eax
cmp word [ebp - 4], ax
jne 0x417823
cmp esi, ebx
jne 0x417823
mov word [esi], ax
jmp 0x41785f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004182de
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x417862
push 0xd
pop eax
jmp 0x41781e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4286d0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41785c
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x417862
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a4bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a4bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403630
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403800
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.004662a0
jmp fcn.00403630
Function at 0x40cff0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d1bb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d019
mov eax, 0x7000000
jmp 0x40d021
test eax, eax
je 0x40d196
mov dword [esp + 0x34], eax
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.00467650
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, [0x57ed20]
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 0x40d1ae
cmp edx, 0x21
jae 0x40d1a2
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.00460400
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.004604d0
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 [0x500a68]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x500ad8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d171
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x500b20]
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.00467730
mov eax, edx
mov ecx, 0x21
call fcn.004677c0
nop
call fcn.004662a0
jmp fcn.0040cff0
Function at 0x416d00
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416efe
sub esp, 0x18
mov eax, dword [0x5d551c]
test eax, eax
jne 0x416ee7
nop
nop
lea eax, [0x5d550c]
mov dword [esp], eax
call fcn.0040abd0
mov eax, dword [0x5d5510]
test eax, eax
je 0x416d48
cmp dword [eax + 8], 0xcc
jne 0x416dbe
mov edx, dword [0x5d5514]
test edx, edx
jne 0x416da0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5d7df0]
mov dword [esp + 8], eax
call fcn.0040d1d0
mov eax, dword [esp + 0xc]
mov dword [0x5d5514], eax
mov ecx, dword [0x5d5518]
mov dword [eax], ecx
mov eax, dword [0x5d5514]
mov dword [0x5d5518], eax
movzx eax, byte [0x5d5960]
test al, al
jne 0x416da0
xor eax, eax
jmp 0x416eb8
mov edx, dword [0x5d5514]
mov ebx, dword [edx + 4]
mov dword [0x5d5514], ebx
mov ebx, dword [0x5d5510]
mov dword [edx + 4], ebx
mov dword [0x5d5510], edx
mov edx, dword [0x5d5510]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416e97
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.00402d60
mov eax, dword [0x5d5690]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x416e10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x416e50
call fcn.00467710
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, [0x5d550c]
mov dword [esp], eax
call fcn.0040adf0
nop
lea eax, [0x5d5508]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402ee0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00467730
lea edx, [0x57b3e0]
movzx ebx, byte [edx + eax]
lea ebp, [0x5d5960]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x416da0
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 0x416ea1
mov ecx, 5
call fcn.00467720
lea eax, [0x4dfc00]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004386b0
nop
call fcn.004662a0
jmp fcn.00416d00
Function at 0x42ad60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42aea4
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00428b70
mov eax, dword [esp + 4]
test eax, eax
je 0x42ae8d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5d55ec]
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.00426650
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.0040abd0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x42adf7
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42ae22
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42ae0c
cmp byte [ebp + 6], bl
je 0x42ae17
cmp esi, edx
ja 0x42ae1e
jne 0x42adf5
cmp byte [ebp + 6], bl
jbe 0x42adf5
jmp 0x42ae1e
mov ebx, 1
jmp 0x42ae24
xor ebx, ebx
jmp 0x42ae24
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x42ae42
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.0042ac60
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040adf0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5d55ec]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42ae7d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42ae7d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4e13f2]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004386b0
nop
call fcn.004662a0
jmp fcn.0042ad60
Function at 0x42b320
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42b490
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42b420
cmp cl, 1
je 0x42b3b2
cmp cl, 2
jne 0x42b479
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00430840
nop
nop
lea eax, [0x5a1960]
mov dword [esp], eax
call fcn.0040abd0
mov eax, dword [0x5a1904]
sub eax, dword [0x5a18e8]
nop
mov dword [0x5a1904], eax
mov eax, dword [0x5a18f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a18f4], ecx
nop
lea eax, [0x5a1960]
mov dword [esp], eax
call fcn.0040adf0
jmp 0x42b475
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.00416d00
nop
nop
lea eax, [0x5a1960]
mov dword [esp], eax
call fcn.0040abd0
mov eax, dword [0x5a18dc]
sub eax, dword [0x5a18c0]
nop
mov dword [0x5a18dc], eax
mov eax, dword [0x5a18cc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a18cc], ecx
nop
lea eax, [0x5a1960]
mov dword [esp], eax
call fcn.0040adf0
jmp 0x42b475
cmp cl, 3
jne 0x42b42b
mov byte [eax + 8], 1
jmp 0x42b475
cmp cl, 4
jne 0x42b479
nop
nop
lea eax, [0x5a1960]
mov dword [esp], eax
call fcn.0040abd0
mov eax, dword [0x5a1954]
sub eax, dword [0x5a1938]
nop
mov dword [0x5a1954], eax
mov eax, dword [0x5a1944]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a1944], ecx
nop
nop
lea eax, [0x5a1960]
mov dword [esp], eax
call fcn.0040adf0
add esp, 0x14
ret
lea eax, [0x4dd34e]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004386b0
nop
call fcn.004662a0
jmp fcn.0042b320
Function at 0x4310b0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x431196
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov dword [eax + 0x88], 0
lea ecx, [0x5d5910]
mov dword [esp], ecx
call fcn.00402cd0
mov eax, dword [esp + 4]
test eax, eax
je 0x431172
mov dword [esp + 8], 0
mov ecx, dword [0x5d55ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x30]
lea edi, [esp + 0x10]
xor eax, eax
call fcn.00467859
lea ecx, [0x4311a0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x10]
mov dword [esp], edx
call fcn.004661b0
mov eax, dword [esp + 8]
cmp eax, 0x20
jge 0x43116e
jae 0x43118b
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 8], 0
add esp, 0x2c
ret
lea eax, [fcn.004451e0]
inc eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
add esp, 0x2c
ret
mov ecx, 0x20
call fcn.00467720
nop
call fcn.004662a0
jmp fcn.004310b0