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

Disassembly:
push edi
imul edx, dword [esi], 0x36f9e47
sahf
outsd dx, dword [esi]
add ebx, eax
add eax, 0x79bb6b59
sahf
outsd dx, dword [esi]
add ebx, eax
add eax, 0x79bb6b59
js 0x42ed7c
rcr dword [edi - 0x17], 0x52
cmp byte [edx], dh
dec ebp
mov ecx, 0xb5f21d74
inc edi
mov ch, 0x47
out dx, al
cmp al, 0x14
xchg edi, eax
dec esp
or eax, dword [edi + 0x2a52289e]
adc cl, byte [edx - 0x3e]
mov al, byte [0xe8934259]
clc
lds esp, [esi]
rcr dword [edx + ebp*8 - 0x2d], cl
or byte [edi + 0x7a], bl
jae 0x42ed96
push es
mov ecx, 0x5f3a9b07
xchg edx, eax
invalid

Function at 0x433e6a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x433e87
call fcn.004387aa
mov dword [eax], 0x16
xor eax, eax
jmp 0x433ef1
push esi
push 0x8c
push 1
call fcn.0043796c
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x433edc
push esi
call fcn.00434ad3
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x433eba
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x433dd5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x433ef0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00433364
test ebx, ebx
pop ecx
je 0x433eee
push ebx
call fcn.004387bc
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x433ff2
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x60
push 0x4588a0
call fcn.0043614c
mov edi, 0x94
mov eax, edi
call fcn.00432680
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x46bfa4], ecx
mov eax, dword [esi + 4]
mov dword [0x46bfb0], eax
mov edx, dword [esi + 8]
mov dword [0x46bfb4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x46bfa8], esi
cmp ecx, 2
je 0x434052
or esi, 0x8000
mov dword [0x46bfa8], esi
shl eax, 8
add eax, edx
mov dword [0x46bfac], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x43408d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43408d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4340a5
cmp eax, 0x20b
je 0x434092
mov dword [ebp - 0x1c], esi
jmp 0x4340b9
cmp dword [ecx + 0x84], 0xe
jbe 0x43408d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4340b3
cmp dword [ecx + 0x74], 0xe
jbe 0x43408d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00436712
pop ecx
test eax, eax
jne 0x4340cd
push 0x1c
call fcn.00433fce
pop ecx
call fcn.00434ccd
test eax, eax
jne 0x4340de
push 0x10
call fcn.00433fce
pop ecx
call fcn.00438e33
mov dword [ebp - 4], esi
call fcn.0043776e
test eax, eax
jge 0x4340f7
push 0x1b
call fcn.00433fa9
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x46c754], eax
call fcn.00438d11
mov dword [0x46be9c], eax
call fcn.00438c6f
test eax, eax
jge 0x43411d
push 8
call fcn.00433fa9
pop ecx
call fcn.00438a3c
test eax, eax
jge 0x43412e
push 9
call fcn.00433fa9
pop ecx
push 1
call fcn.004362fb
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x434144
push eax
call fcn.00433fa9
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004389df
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x434165
movzx eax, word [ebp - 0x40]
jmp 0x434168
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00420430
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x434186
push edi
call fcn.00436428
call fcn.0043644a
jmp 0x4341b8
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00436187
ret
Function at 0x436365
Capabilities:
Terminate process

Disassembly:
push 8
push 0x458cf8
call fcn.0043614c
push 8
call fcn.00436631
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x46bfe4], esi
jne 0x436399
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x46bfe0], esi
mov al, byte [ebp + 0x10]
mov byte [0x46bfdc], al
cmp dword [ebp + 0xc], edi
jne 0x4363e3
cmp dword [0x46c74c], edi
je 0x4363d3
mov eax, dword [0x46c748]
sub eax, 4
mov dword [0x46c748], eax
cmp eax, dword [0x46c74c]
jb 0x4363d3
mov eax, dword [eax]
cmp eax, edi
je 0x4363b4
call eax
jmp 0x4363b4
push 0x460044
mov eax, 0x46003c
call fcn.004362e3
pop ecx
push 0x460050
mov eax, 0x460048
call fcn.004362e3
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x436414
cmp dword [ebp + 0x10], edi
jne 0x436422
mov dword [0x46bfe4], esi
push dword [ebp + 8]
call fcn.004362a1
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x436421
push 8
call fcn.0043657c
pop ecx
ret
call fcn.00436187
ret
Function at 0x402c74
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x435c00
push 0x400
add eax, 0x3e8
push esi
push ebx
mov dword [0x42eb6c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 3
push 0x80000000
push esi
call fcn.004057be
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xc], edi
mov dword [0x409014], edi
jne 0x402cce
mov eax, 0x409100
jmp 0x402eab
push esi
mov esi, 0x434c00
push esi
call fcn.00405ae9
push esi
call fcn.00405619
push eax
push 0x436000
call fcn.00405ae9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
mov dword [0x428b88], eax
mov esi, eax
jle 0x402de9
mov ebx, 0x420b88
mov eax, dword [0x42eb74]
mov edi, esi
neg eax
sbb eax, eax
and eax, 0x7e00
add eax, 0x200
cmp esi, eax
jl 0x402d22
mov edi, eax
push edi
push ebx
call fcn.004030d3
test eax, eax
je 0x402e53
cmp dword [0x42eb74], 0
jne 0x402db4
push 0x1c
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00405779
mov eax, dword [ebp - 0x28]
test eax, 0xfffffff0
jne 0x402dc2
cmp dword [ebp - 0x24], 0xdeadbeef
jne 0x402dc2
cmp dword [ebp - 0x18], 0x74736e49
jne 0x402dc2
cmp dword [ebp - 0x1c], 0x74666f73
jne 0x402dc2
cmp dword [ebp - 0x20], 0x6c6c754e
jne 0x402dc2
or dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x414b80]
and eax, 2
or dword [0x42ec00], eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
mov dword [0x42eb74], ecx
jg 0x402e4c
test byte [ebp + 8], 8
jne 0x402da6
test byte [ebp + 8], 4
jne 0x402de7
inc dword [ebp - 4]
lea esi, [eax - 4]
cmp edi, esi
jbe 0x402dc2
mov edi, esi
jmp 0x402dc2
test byte [ebp + 8], 2
jne 0x402dc2
push 0
call fcn.00402c10
pop ecx
cmp esi, dword [0x428b88]
jge 0x402dd7
push edi
push ebx
push dword [ebp - 8]
call fcn.00405eab
mov dword [ebp - 8], eax
add dword [0x414b80], edi
sub esi, edi
test esi, esi
jg 0x402d07
xor ebx, ebx
push 1
call fcn.00402c10
cmp dword [0x42eb74], ebx
pop ecx
je 0x402e4c
cmp dword [ebp - 4], ebx
je 0x402e20
push dword [0x414b80]
call fcn.00403105
lea eax, [ebp + 8]
push 4
push eax
call fcn.004030d3
test eax, eax
je 0x402e4c
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x402e4c
push dword [ebp - 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov eax, dword [0x42eb74]
add eax, 0x1c
push eax
call fcn.00403105
push dword [ebp - 0x14]
push esi
push ebx
push 0xffffffffffffffff
call fcn.00402eb2
cmp eax, dword [ebp - 0x14]
je 0x402e5d
mov eax, 0x409034
jmp 0x402eab
push 1
call fcn.00402c10
pop ecx
jmp 0x402e4c
test byte [ebp - 0x28], 1
mov dword [0x42eb70], esi
mov eax, dword [esi]
mov dword [0x42eb78], eax
je 0x402e76
inc dword [0x42eb7c]
lea edi, [esi + 0x3c]
push 8
mov eax, edi
pop ecx
add dword [eax], esi
dec ecx
sub eax, 8
test ecx, ecx
ja 0x402e7e
push 1
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esi, 4
push 0x40
push esi
push 0x42eb80
mov dword [edi], eax
call fcn.00405779
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10003400
Capabilities:
Encode data using xor

Disassembly:
push 0x5c8b41a0
xor al, 0x46
inc esi
push ebp
salc
xchg esi, eax
and dword [eax + 0x64], 0xe343d3e1
dec eax
mov dh, 0x5c
mov gs, word [ebp - 0x1ddecfcd]
pop es
adc byte [edi + 5], dh
xor ebp, ebx
std
sar byte [edi - 0x5c479cac], 1
mov al, byte [0x8508f80e]
mov dl, 0x13
push 0x8250d774
dec esi
sbb dl, cl
movsd dword es:[edi], dword [esi]
adc byte [ebp + edx - 0x58], al
stosd dword es:[edi], eax
ror cl, 1
fdivrp st(1)
xor eax, 0x734001fa
mov edx, edx
adc bh, 0x66
or edi, dword [eax - 0x61eb449a]
dec edx
push edi
pop ds
sub dword [edi], ecx
in al, 0x46
fcom st(4)
mov word [eax], cs
xlatb
or edi, dword [ecx - 0x64]
push edi
jge 0x10003406
and al, byte [edx + 0x57]
cld
push ebx
pmaxsw mm1, qword [ecx]
invalid

Function at 0x10f46058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10f461a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10f4607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f4606a
add dl, dl
jne 0x10f46089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f460dc
xor eax, eax
add dl, dl
jne 0x10f46096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f4617d
add dl, dl
jne 0x10f460a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f460b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f460bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f460c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10f460d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10f46075
mov eax, 1
add dl, dl
jne 0x10f460ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f460f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f460e1
sub eax, ebx
mov ebx, 1
jne 0x10f46128
mov ecx, 1
add dl, dl
jne 0x10f4610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f46119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f46105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f46075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10f4613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f4614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f46136
cmp eax, 0x7d00
jae 0x10f4616d
cmp eax, 0x500
jb 0x10f46168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f46075
cmp eax, 0x7f
ja 0x10f46170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f46075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10f4619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10f46075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4148a8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x4148e3
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x4148c0
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x4148ff
dec esi
je 0x4148f8
dec esi
jne 0x414904
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x474411
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub edi, 4
stc
pushfd
stc
cmc
push dword [edi]
pop dword [esp + 0xc]
clc
clc
cmc
clc
cmp edi, ebx
push edi
call fcn.004791ad
add byte [eax], al
inc edi
je 0x474473
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x4744a3
insb byte es:[edi], dx
dec ebp
outsd dx, dword [esi]
add al, bh
invalid
add eax, dword [eax]

Function at 0x474a87
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or dl, ch
btr dx, ax
add esi, eax
setno dh
dec dx
clc
pushal
mov edx, dword [esi + 0x78]
bt cx, 0xd
mov byte [esp], 0x6c
call fcn.004c2d0e
test eax, eax
mov byte [esp + 4], 0x2e
pushal
mov word [esp + 4], 0x6840
jmp 0x474b13
lea esp, [esp + 0x28]
je fcn.004a4ef0
jmp 0x4a0a51
neg dx
mov si, sp
rcl si, 6
mov esi, dword [eax + 0x3c]
jmp 0x4744a5

Function at 0x4c2b01
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [esi*2 - 0x60765c33]
rol al, cl
mov eax, dword [ebp + 8]
cmp ch, 0x30
push 0x1ae2c631
clc
call fcn.00474a87
lea esp, [esp + 0x24]
je fcn.004a4ef0
sub dh, dl
sar si, cl
and esi, ecx
mov esi, dword [eax + 0x3c]
bsf dx, sp
add esi, eax
inc dh
shr edx, 1
mov edx, dword [esi + 0x78]
call fcn.004a48a1
shrd ax, dx, cl
aad 0xdb
lea eax, [esp + 0x4c87c9e1]
mov dword [esp], edx
jo 0x4c2899
neg al
push ebx
mov eax, dword [ebp + 8]
pushal
test eax, eax
jmp 0x4c28b3
Function at 0x4252e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x66ed88]
xor edx, edx
cmp eax, edx
jne 0x425306
xor eax, eax
mov byte [eax + 0x66ec88], al
inc eax
cmp eax, 0x100
jl 0x4252ee
mov dword [0x66ed88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x66ec88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425397
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 0x42536a
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 0x425338
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425410
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 0x425463
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 0x42544a
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 0x4297d0
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 0x4299f1
cmp eax, 8
jg 0x4299f1
cmp dword [esp + 0x8c], 2
jl 0x4299f1
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 0x4299f1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4299f1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x429857
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 0x4299da
mov ebp, dword [0x48943c]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x429889
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4299c1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4298a9
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 [0x489450]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4298e8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x489448]
lea ecx, [esp + 0x28]
push ecx
call dword [0x489408]
test eax, eax
jne 0x4299a8
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.00428de0
cmp eax, 1
jne 0x4299d2
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.00429690
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x42989d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4299da
jmp 0x429874
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004289e0
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 0x42c480
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 0x42c618
cmp ebp, ebx
jle 0x42c618
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 0x42c4de
dec eax
or eax, 0xfffffff8
inc eax
je 0x42c4e5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42c4f4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42c4fb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00479c1a
add esp, 4
cmp eax, ebx
je 0x42c51c
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.00479c1a
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 0x42c60e
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 0x42c5f5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42c5e1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42c5d6
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 0x42c5e4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42c5e4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42c580
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 0x42c571
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 0x434030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x486e08
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.00434bb0
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x4895e8]
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 [0x489408]
test eax, eax
je 0x4340d9
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.00433cc0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x48943c]
push edi
lea ecx, [esp + 0x4c]
call fcn.00480878
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.0044a970
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x4890f0]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x4893d4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x489448]
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.004808ea
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14