joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40160b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
push ebx
push esi
push edi
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x40c], 0x4170
mov dword [ebp - 0x414], 0
jmp 0x4013bf
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x4013e0
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x414]
mov dword [ebp + ecx*4 - 0x400], edx
jmp 0x4013b0
mov dword [ebp - 0x414], 0
nop
push edx
add edx, 0x6fdb
pop edx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x408], 0x364
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x414], 0
jmp 0x40142c
mov eax, dword [ebp - 0x414]
add eax, 1
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0x100
jge 0x4014ce
mov ecx, dword [ebp - 0x414]
mov esi, dword [ebp - 0x41c]
add esi, dword [ebp + ecx*4 - 0x400]
mov eax, dword [ebp - 0x414]
xor edx, edx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax + edx]
add esi, ecx
and esi, 0x800000ff
jns 0x401474
dec esi
or esi, 0xffffff00
inc esi
mov dword [ebp - 0x41c], esi
mov edx, dword [ebp - 0x414]
mov al, byte [ebp + edx*4 - 0x400]
mov byte [ebp - 0x418], al
push ebx
add ebx, 0x169f
nop
pop ebx
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x41c]
mov eax, dword [ebp + edx*4 - 0x400]
mov dword [ebp + ecx*4 - 0x400], eax
mov ecx, dword [ebp - 0x418]
and ecx, 0xff
mov edx, dword [ebp - 0x41c]
mov dword [ebp + edx*4 - 0x400], ecx
jmp 0x40141d
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x410], str.ipnuqw
mov dword [ebp - 0x1420], 0
mov dword [ebp - 0x404], 0
jmp 0x401511
mov eax, dword [ebp - 0x404]
add eax, 1
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
cmp ecx, dword [ebp + 0x10]
jae 0x4015fa
mov edx, dword [ebp - 0x41c]
add edx, 1
and edx, 0x800000ff
jns 0x401539
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x420]
add ecx, dword [ebp + eax*4 - 0x400]
and ecx, 0x800000ff
jns 0x401562
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x420], ecx
mov edx, dword [ebp - 0x41c]
mov al, byte [ebp + edx*4 - 0x400]
mov byte [ebp - 0x418], al
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp + edx*4 - 0x400]
mov dword [ebp + ecx*4 - 0x400], eax
mov ecx, dword [ebp - 0x418]
and ecx, 0xff
mov edx, dword [ebp - 0x420]
mov dword [ebp + edx*4 - 0x400], ecx
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp + eax*4 - 0x400]
mov edx, dword [ebp - 0x420]
add ecx, dword [ebp + edx*4 - 0x400]
and ecx, 0x800000ff
jns 0x4015d8
dec ecx
or ecx, 0xffffff00
inc ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x404]
mov dl, byte [eax]
xor dl, byte [ebp + ecx*4 - 0x400]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x404]
mov byte [eax], dl
jmp 0x401502
inc ecx
add ecx, 0xf3eb
pop ecx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ac4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 7
push 0x14
push str.wfseijb
push 0x404038
call fcn.00401384
add esp, 0x10
push eax
push 0x404038
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0x10
push str.wfseijb
push 0x40405c
call fcn.00401384
add esp, 0x10
push eax
push 0x40405c
call sub.MSVCRT.dll_strcpy
add esp, 8
push edx
add edx, 0x127e9
pop edx
push 7
push 5
push str.wfseijb
push 0x4040d4
call fcn.00401384
add esp, 0x10
push eax
push 0x4040d4
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [0x404258]
add eax, 0x45
mov dword [0x404258], eax
push 7
push 0xc
push str.wfseijb
push 0x404018
call fcn.00401384
add esp, 0x10
push eax
push 0x404018
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0xe
push str.wfseijb
push 0x404070
call fcn.00401384
add esp, 0x10
push eax
push 0x404070
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [0x404154], 0x4041a0
push 7
push 0xd
push str.wfseijb
push 0x404114
call fcn.00401384
add esp, 0x10
push eax
push 0x404114
call sub.MSVCRT.dll_strcpy
jmp 0x4020bc
nop
nop
nop
nop
pop ebx
push 7
push 0x11
push str.wfseijb
push 0x4040dc
call fcn.00401384
add esp, 0x10
push eax
push 0x4040dc
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [0x404154], 0x4041a8
push 7
push 0xc
push str.wfseijb
push 0x404080
call fcn.00401384
add esp, 0x10
push eax
push 0x404080
call sub.MSVCRT.dll_strcpy
add esp, 8
push edx
mov edx, 0x212d
pop edx
push 7
push 0xc
push str.wfseijb
push 0x404028
call fcn.00401384
add esp, 0x10
push eax
push 0x404028
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0xb
push str.wfseijb
push 0x404050
call fcn.00401384
add esp, 0x10
push eax
push 0x404050
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0x12
push str.wfseijb
push 0x4040b0
call fcn.00401384
add esp, 0x10
push eax
push 0x4040b0
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0xe
push str.wfseijb
push 0x404138
call fcn.00401384
add esp, 0x10
push eax
push 0x404138
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [0x404258]
add ecx, 0x2a
mov dword [0x404258], ecx
push 7
push 0x10
push str.wfseijb
push 0x404100
call fcn.00401384
add esp, 0x10
push eax
push 0x404100
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0xc
push str.wfseijb
push 0x404090
call fcn.00401384
add esp, 0x10
push eax
push 0x404090
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [0x404258], 0x1dc
push 7
push 0x12
push str.wfseijb
push 0x404124
call fcn.00401384
add esp, 0x10
push eax
push 0x404124
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 8
push str.wfseijb
push 0x404148
call fcn.00401384
add esp, 0x10
push eax
push 0x404148
call sub.MSVCRT.dll_strcpy
add esp, 8
push eax
mov eax, 0x1ce2
pop eax
push 7
push 0xf
push str.wfseijb
push 0x4040f0
call fcn.00401384
add esp, 0x10
push eax
push 0x4040f0
call sub.MSVCRT.dll_strcpy
add esp, 8
push 7
push 0xe
push str.wfseijb
push 0x4040c4
call fcn.00401384
add esp, 0x10
push eax
push 0x4040c4
call sub.MSVCRT.dll_strcpy
add esp, 8
pop edi
pop esi
pop ebx
pop ebp
ret
add esp, 8
push ebx
mov ebx, 0x169a
jmp 0x4018da
Function at 0x403050
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403220
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.0046d4e0
jmp fcn.00403050
Function at 0x40b930
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bafb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b959
mov eax, 0x7000000
jmp 0x40b961
test eax, eax
je 0x40bad6
mov dword [esp + 0x34], eax
mov ecx, dword [0x5b8348]
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.0046e890
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, [0x58eec0]
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 0x40baee
cmp edx, 0x21
jae 0x40bae2
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.00460f20
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.00460ff0
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 [0x506340]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x506388]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bab1
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x5063c0]
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.0046e970
mov eax, edx
mov ecx, 0x21
call fcn.0046ea10
nop
call fcn.0046d4e0
jmp fcn.0040b930
Function at 0x4131e0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4133de
sub esp, 0x18
mov eax, dword [0x5b8278]
test eax, eax
jne 0x4133c7
nop
nop
lea eax, [0x5b8268]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [0x5b826c]
test eax, eax
je 0x413228
cmp dword [eax + 8], 0xcc
jne 0x41329e
mov edx, dword [0x5b8270]
test edx, edx
jne 0x413280
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5ba970]
mov dword [esp + 8], eax
call fcn.0040bb10
mov eax, dword [esp + 0xc]
mov dword [0x5b8270], eax
mov ecx, dword [0x5b8274]
mov dword [eax], ecx
mov eax, dword [0x5b8270]
mov dword [0x5b8274], eax
movzx eax, byte [0x5b8700]
test al, al
jne 0x413280
xor eax, eax
jmp 0x413398
mov edx, dword [0x5b8270]
mov ebx, dword [edx + 4]
mov dword [0x5b8270], ebx
mov ebx, dword [0x5b826c]
mov dword [edx + 4], ebx
mov dword [0x5b826c], edx
mov edx, dword [0x5b826c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413377
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.004731f0
mov eax, dword [0x5b8448]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x4132f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x413330
call fcn.0046e950
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, [0x5b8268]
mov dword [esp], eax
call fcn.0040a1a0
nop
lea eax, [0x5b8264]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00473370
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0046e970
lea edx, [0x58e36c]
movzx ebx, byte [edx + eax]
lea ebp, [0x5b8700]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x413280
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 0x413381
mov ecx, 5
call fcn.0046e960
lea eax, [0x4e1d7f]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004686c0
nop
call fcn.0046d4e0
jmp fcn.004131e0
Function at 0x418160
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4181e9
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.004730a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4181ce
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4181d2
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.00418200
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004187b0
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x4e1d97]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004686c0
nop
call fcn.0046d4e0
jmp fcn.00418160
Function at 0x427670
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4277b4
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00425300
mov eax, dword [esp + 4]
test eax, eax
je 0x42779d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5b8348]
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.00422d60
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.00409f80
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x427707
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x427732
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42771c
cmp byte [ebp + 6], bl
je 0x427727
cmp esi, edx
ja 0x42772e
jne 0x427705
cmp byte [ebp + 6], bl
jbe 0x427705
jmp 0x42772e
mov ebx, 1
jmp 0x427734
xor ebx, ebx
jmp 0x427734
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x427752
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.00427570
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a1a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5b8348]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42778d
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42778d
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4e3496]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004686c0
nop
call fcn.0046d4e0
jmp fcn.00427670
Function at 0x427c30
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x427e0a
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x427d35
cmp cl, 1
je 0x427cc4
cmp cl, 2
jne 0x427df3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00473140
nop
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [0x5a491c]
sub eax, dword [0x5a4900]
nop
mov dword [0x5a491c], eax
mov eax, dword [0x5a490c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a490c], ecx
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.0040a1a0
jmp 0x427def
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.004131e0
nop
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [0x5a487c]
sub eax, dword [0x5a4860]
nop
mov dword [0x5a487c], eax
mov eax, dword [0x5a486c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a486c], ecx
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.0040a1a0
jmp 0x427def
cmp cl, 3
je 0x427d97
cmp cl, 4
jne 0x427d48
mov byte [eax + 8], 1
jmp 0x427def
cmp cl, 5
jne 0x427df3
nop
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [0x5a48f4]
sub eax, dword [0x5a48d8]
nop
mov dword [0x5a48f4], eax
mov eax, dword [0x5a48e4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a48e4], ecx
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.0040a1a0
jmp 0x427def
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042d160
nop
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [0x5a48a4]
sub eax, dword [0x5a4888]
nop
mov dword [0x5a48a4], eax
mov eax, dword [0x5a4894]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5a4894], ecx
nop
nop
lea eax, [0x5a4928]
mov dword [esp], eax
call fcn.0040a1a0
add esp, 0x14
ret
lea eax, [0x4df712]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004686c0
nop
call fcn.0046d4e0
jmp fcn.00427c30
Function at 0x42d230
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42d3b2
sub esp, 0x24
mov eax, dword [0x5b86dc]
test eax, eax
je 0x42d35d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42d368
mov ecx, dword [0x5b8348]
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 0x42d2b6
cmp ecx, ebx
je 0x42d2b6
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.00458370
mov eax, dword [esp + 0x14]
jmp 0x42d2e0
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.0046c790
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42d361
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.0042dc70
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5b8348]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42d359
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42d359
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.0046e9a0
call fcn.00436980
lea eax, [0x4df348]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004371e0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00437000
call fcn.004369e0
lea eax, [0x4dfee9]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004686c0
nop
call fcn.0046d4e0
jmp fcn.0042d230
Function at 0x452670
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5b8348]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4527fb
sub esp, 0x14
lea eax, [0x5b86f4]
mov dword [esp], eax
call fcn.00473160
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4526a7
mov ecx, dword [esp + 0x18]
jmp 0x4526c3
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 6]
test dl, dl
je 0x4526c3
lea eax, [ecx + 0x30]
nop
mov dword [esp], eax
call fcn.00409f80
mov ecx, dword [esp + 0x18]
test byte [ecx], al
nop
nop
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4526e7
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00452570
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 5]
test dl, 1
je 0x452727
mov ebx, edx
or edx, 2
mov byte [ecx + 5], dl
test dl, 4
jne 0x452727
or ebx, 6
mov byte [ecx + 5], bl
mov eax, dword [ecx + 0x2c]
test byte [eax], al
add eax, 0x14
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00473180
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
test ebx, ebx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test edx, edx
seta dl
and ebx, edx
or ebp, ebx
test eax, eax
jne 0x452789
movzx edx, byte [ecx + 6]
test dl, dl
je 0x452789
xchg ebp, eax
mov byte [esp + 0xf], al
xchg ebp, eax
inc dword [ecx + 0x28]
lea eax, [ecx + 7]
mov dword [esp], eax
call fcn.00472fd0
movzx eax, byte [esp + 4]
test al, al
xchg ebp, ebx
seta bl
xchg ebp, ebx
movzx eax, byte [esp + 0xf]
or ebp, eax
mov ecx, dword [esp + 0x18]
xchg ebp, eax
mov byte [esp + 0xf], al
xchg ebp, eax
mov dword [esp], ecx
call fcn.00452180
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4527a6
movzx ebp, byte [esp + 0xf]
jmp 0x4527f1
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4527b9
movzx ebp, byte [esp + 0xf]
jmp 0x4527f1
lea ecx, [eax + 0x30]
nop
mov dword [esp], ecx
call fcn.0040a1a0
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x4527da
call fcn.004544b0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp], eax
call fcn.00405600
movzx ebp, byte [esp + 4]
movzx eax, byte [esp + 0xf]
or ebp, eax
xchg ebp, eax
mov byte [esp + 0x1c], al
xchg ebp, eax
add esp, 0x14
ret
call fcn.0046d4e0
jmp fcn.00452670