joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c584
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edx
mov esi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40c675
xor edx, edx
xor eax, eax
movsx ecx, byte [esi + edx]
mov edi, ecx
shl edi, 0x11
lea ecx, [edi + ecx]
add ecx, eax
mov eax, ecx
shr eax, 2
xor eax, ecx
inc edx
cmp ebx, edx
ja 0x40c5a4
mov edx, ebx
shl edx, 0x11
add edx, ebx
lea eax, [edx + eax]
mov edx, eax
shr edx, 2
xor edx, eax
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x40c5de
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor edx, edx
div dword [ecx]
shl edx, 2
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add edx, eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40c601
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
test edi, edi
je 0x40c680
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], esi
mov esi, ebx
jmp 0x40c61d
mov dword [ebp - 0x20], edi
mov edi, eax
mov edx, dword [ebp - 0x1c]
cmp dword [edi + 8], edx
jne 0x40c645
mov ebx, dword [edi + 4]
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x40c645
cmp byte [ebx + esi], 0
je 0x40c654
mov eax, dword [edi]
test eax, eax
jne 0x40c618
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40c67c
mov eax, dword [edi]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [ecx], edi
mov eax, edi
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
jmp 0x40c5be
mov eax, edi
jmp 0x40c64b
xor eax, eax
jmp 0x40c64b

Function at 0x40cf18
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov eax, dword [0x4fe288]
test eax, eax
je 0x40cffc
mov edx, dword [0x4fe284]
test edx, edx
jne 0x40cf68
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_fread
cmp eax, 0
jl 0x40cf85
je 0x40cfad
lea eax, [ebx + eax]
add esp, 0x14
pop ebx
leave
ret
mov dword [esp + 8], 0x8000
mov dword [esp + 4], ebx
mov dword [esp], 0x40cb58
call fcn.00401648
cmp eax, 0
jge 0x40cf5a
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00489fe0
mov dword [esp + 8], eax
mov eax, dword [0x4fe28c]
mov dword [esp + 4], eax
mov dword [esp], str.cant_read_from__s:__s
call fcn.00411b1c
mov eax, dword [0x4fe288]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
test eax, eax
jne 0x40cfd0
mov dword [0x4fe288], 0
xor eax, eax
add esp, 0x14
pop ebx
leave
ret
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00489fe0
mov dword [esp + 8], eax
mov eax, dword [0x4fe28c]
mov dword [esp + 4], eax
mov dword [esp], 0x4a3a20
call fcn.00411a80
jmp 0x40cfbe
xor eax, eax
add esp, 0x14
pop ebx
leave
ret
Function at 0x4339fc
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, edx
test eax, eax
je 0x433a9b
mov dword [esp + 4], 0x4dd013
mov dword [esp], eax
call fcn.0043bcb0
mov esi, eax
test eax, eax
je 0x433a91
xor ebx, ebx
nop
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 1
mov dword [esp], 0x500fa0
call sub.msvcrt.dll_fread
test eax, eax
je 0x433a7a
not ebx
add eax, 0x500fa0
cmp eax, 0x500fa0
jbe 0x433a76
mov edx, 0x500fa0
nop
mov cl, byte [edx]
xor ecx, ebx
movzx ecx, cl
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4dd040]
inc edx
cmp eax, edx
ja 0x433a60
not ebx
jmp 0x433a28
mov dword [esp], esi
call sub.msvcrt.dll_fclose
xor eax, eax
cmp edi, ebx
sete al
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 4], 0x4a0
mov dword [esp], str..._.._bfd_opncls.c
mov dword [ebp - 0x1c], eax
call fcn.004323ec
mov eax, dword [ebp - 0x1c]
jmp 0x433a0f

Function at 0x437208
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x437278
mov edi, str.default
mov ecx, 8
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x437258
mov eax, dword [0x49e8c8]
test eax, eax
je 0x43724c
test ebx, ebx
je 0x437242
mov dword [ebx + 8], eax
or byte [ebx + 0xb4], 2
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [0x49e8c4]
mov eax, dword [eax]
jmp 0x437234
test ebx, ebx
je 0x437263
and byte [ebx + 0xb4], 0xfd
call fcn.00437114
test eax, eax
je 0x437242
test ebx, ebx
je 0x437242
mov dword [ebx + 8], eax
jmp 0x437242
mov dword [esp], str.GNUTARGET
call sub.msvcrt.dll_getenv
test eax, eax
je 0x43722b
jmp 0x43721b
Function at 0x437728
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
movzx eax, byte [esi]
lea ecx, [esi + 1]
test eax, eax
je 0x43784e
xor edx, edx
nop
add edx, eax
shl eax, 0x11
lea eax, [edx + eax]
mov edx, eax
shr edx, 2
xor edx, eax
movzx eax, byte [ecx]
inc ecx
test eax, eax
jne 0x437758
mov eax, esi
not eax
lea eax, [ecx + eax]
mov dword [ebp - 0x20], eax
add edx, eax
shl eax, 0x11
add edx, eax
mov ebx, edx
shr ebx, 2
xor ebx, edx
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0xc]
mov eax, dword [ecx]
mov edi, dword [eax + edx*4]
test edi, edi
jne 0x4377a2
jmp 0x4377c4
mov edi, dword [edi]
test edi, edi
je 0x4377c4
cmp dword [edi + 8], ebx
jne 0x43779c
mov eax, dword [edi + 4]
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x43779c
mov eax, edi
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x437828
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x43780d
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x24], ecx
je 0x437834
mov eax, dword [ebp - 0x20]
add eax, 8
and eax, 0xfffffff8
mov ecx, dword [edx + 4]
cmp ecx, eax
jb 0x437840
mov edi, dword [edx]
add edi, eax
mov dword [edx], edi
sub ecx, eax
mov dword [edx + 4], ecx
sub edi, eax
mov eax, edi
test eax, eax
je 0x437855
mov edi, eax
mov ecx, dword [ebp - 0x24]
rep movsb byte es:[edi], byte [esi]
mov esi, eax
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], esi
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
jmp fcn.00437554
xor edi, edi
mov eax, edi
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov eax, 8
mov ecx, dword [edx + 4]
cmp ecx, eax
jae 0x4377f1
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0048f3b0
jmp 0x437800
xor edx, edx
jmp 0x43776f
mov dword [esp], 6
call fcn.004328a0
xor edi, edi
jmp 0x4377ba
Function at 0x463848
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x463873
inc ecx
mov eax, 0x1505
nop
mov ebx, eax
shl ebx, 5
movzx edx, dl
lea edx, [ebx + edx]
add eax, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x46385c
pop ebx
leave
ret
mov eax, 0x1505
jmp 0x463870
Function at 0x4874e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], ecx
mov ebx, edx
mov edx, dword [eax + 0x2c]
test edx, edx
jne 0x4875d4
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4876a5
xor eax, eax
xor ebx, ebx
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
nop
movzx edx, byte [edi + eax]
mov ecx, edx
shl ecx, 0x11
lea edx, [ecx + edx]
add edx, ebx
mov ebx, edx
shr ebx, 2
xor ebx, edx
inc eax
cmp eax, esi
jb 0x487518
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
div dword [ecx + 0xc]
shl edx, 2
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + edx]
test eax, eax
je 0x487658
mov edx, dword [ebp - 0x28]
jmp 0x48755e
mov eax, dword [eax]
test eax, eax
je 0x487658
cmp dword [eax + 8], ebx
jne 0x487554
cmp dword [eax + 0xc], edx
jne 0x487554
mov esi, dword [eax + 4]
cmp edx, edx
mov edi, dword [ebp - 0x20]
mov ecx, edx
repe cmpsb byte [esi], byte es:[edi]
seta byte [ebp - 0x21]
setb cl
cmp byte [ebp - 0x21], cl
jne 0x487554
mov edx, dword [ebp - 0x2c]
cmp dword [eax + 0x10], edx
jae 0x487665
cmp dword [ebp + 8], 0
je 0x487663
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esp + 8], ebx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00437554
test eax, eax
je 0x487665
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x10], ecx
jmp 0x487665
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x28]
cmp ecx, 1
je 0x48766d
test ecx, ecx
je 0x487634
xor edi, edi
xor edx, edx
nop
movzx esi, byte [ebx]
mov eax, esi
test al, al
jne 0x48760b
xor eax, eax
jmp 0x487602
cmp byte [ebx + eax], 0
jne 0x487607
inc eax
cmp ecx, eax
ja 0x4875fc
cmp eax, ecx
je 0x487638
xor eax, eax
jmp 0x487614
movzx esi, byte [ebx + eax]
and esi, 0xff
lea edx, [esi + edx]
shl esi, 0x11
lea esi, [edx + esi]
mov edx, esi
shr edx, 2
xor edx, esi
inc eax
cmp ecx, eax
ja 0x487610
add ebx, ecx
inc edi
jmp 0x4875ec
xor edi, edi
xor edx, edx
lea eax, [edi + edx]
mov edx, edi
shl edx, 0x11
add eax, edx
imul edi, ecx
mov ebx, eax
shr ebx, 2
xor ebx, eax
add edi, ecx
mov dword [ebp - 0x28], edi
jmp 0x487532
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4875a4
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax]
test edx, edx
je 0x4876ae
xor edi, edi
xor eax, eax
mov ebx, dword [ebp - 0x20]
nop
lea eax, [edx + eax]
shl edx, 0x11
lea edx, [eax + edx]
mov eax, edx
shr eax, 2
xor eax, edx
inc edi
movzx edx, byte [ebx + edi]
test edx, edx
jne 0x487680
lea eax, [edi + eax]
mov edx, edi
shl edx, 0x11
add eax, edx
jmp 0x487645
xor edx, edx
xor ebx, ebx
jmp 0x48753f
xor edi, edi
xor eax, eax
jmp 0x487699
Function at 0x4974b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 4], esi
lea esi, [ebp + 0xc]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x497500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x497526
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x4975ba
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x497575
cmp eax, 0x40
je 0x497575
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x497519
cmp eax, 0x40
je 0x497519
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x497519
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.004974b0
lea esi, [esi]
lea edi, [edi]
Function at 0x420ff0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1041278]
xor edx, edx
cmp eax, edx
jne 0x421016
xor eax, eax
mov byte [eax + 0x1041178], al
inc eax
cmp eax, 0x100
jl 0x420ffe
mov dword [0x1041278], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1041178
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4210a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42107a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x421048
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x421173
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42115a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x425631
cmp eax, 8
jg 0x425631
cmp dword [esp + 0x8c], 2
jl 0x425631
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x425631
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x425631
mov eax, dword [esp + 0x80]
test eax, eax
je 0x425497
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x42561a
mov ebp, dword [0x46d454]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4254c9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x425601
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4254e9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x46d464]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x425528
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x46d460]
lea ecx, [esp + 0x28]
push ecx
call dword [0x46d420]
test eax, eax
jne 0x4255e8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00424a20
cmp eax, 1
jne 0x425612
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004252d0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4254dd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x42561a
jmp 0x4254b4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00424620
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x427bb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x427d48
cmp ebp, ebx
jle 0x427d48
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x427c0e
dec eax
or eax, 0xfffffff8
inc eax
je 0x427c15
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x427c24
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x427c2b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045e858
add esp, 4
cmp eax, ebx
je 0x427c4c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0045e858
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x427d3e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x427d25
mov al, byte [edx]
cmp al, 0xc0
jbe 0x427d11
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x427d06
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x427d14
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x427d14
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x427cb0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x427ca1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42f300
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46b738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0042fe80
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x46d600]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x46d420]
test eax, eax
je 0x42f3a9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0042ef90
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x46d454]
push edi
lea ecx, [esp + 0x4c]
call fcn.004654b6
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.0043e790
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x46d0bc]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x46d3d0]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x46d460]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00465528
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14