joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c0690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15c000]
push edi
jmp 0x5c06aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c06b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c06a0
mov eax, 1
add ebx, ebx
jne 0x5c06c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c06d4
jne 0x5c06f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c06f3
dec eax
add ebx, ebx
jne 0x5c06e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c06b8
add ebx, ebx
jne 0x5c06ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c0745
xor ecx, ecx
sub eax, 3
jb 0x5c070b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c077a
sar eax, 1
mov ebp, eax
jmp 0x5c0716
add ebx, ebx
jne 0x5c0716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c06e4
inc ecx
add ebx, ebx
jne 0x5c0724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c06e4
add ebx, ebx
jne 0x5c0731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c0726
jne 0x5c0742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c0726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c0764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c0756
jmp 0x5c06a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c0764
add edi, ecx
jmp 0x5c06a6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c0782
cmp byte [edi], 0x11
jne 0x5c0782
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5c0787
lea edi, [esi + 0x1b9000]
mov eax, dword [edi]
or eax, eax
je 0x5c07ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2794d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x279654]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c07b4
mov ecx, edi
jns 0x5c07e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x279658]
or eax, eax
je 0x5c07f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5c07d1
call dword [esi + 0x279668]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5c0830
cmp al, 0xef
ja 0x5c0823
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5c0805
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5c0812
mov ebp, dword [esi + 0x27965c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5c0864
sub esp, 0xffffff80
jmp 0x420577
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x740e6273
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x57ca1a8e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x4015c4
Capabilities:
Encode data using xor

Disassembly:
push 0x6560dc
call fcn.004015be
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dh, dl
xor dl, byte [edx - 0x32f21ea8]
dec ebp
xchg ecx, eax
jge 0x4015d8
aaa
add byte [esi + 0x430], ch
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
dec esi
sub eax, 0x35315136
push eax
jb 0x401672
push 0x65
arpl word [ecx + esi + 0x31], si
xor dword [eax], eax
push 0x65
arpl word [ebx + esi*2], si
add byte [eax], al
add bh, bh
int3
invalid
Function at 0x4570a0
Capabilities:
Encode data using xor

Disassembly:
xor edi, dword [ebp - 0x6d]
stc
and eax, 0x30bd2be8
sub byte [edx], dh
push 0x29723aab
mov bl, 0x58
jb 0x4570c2
mov edx, 0x74794515
popal
mov dl, 0x40
mov ecx, 0xe773c9f4
pushal
sub cl, byte [ebp - 0x6df9316e]
sahf
pmulhw mm4, qword [esi - 0x85bc784]
cmp dword [ebx + 7], esp
daa
popfd
add ebx, dword [eax]
mov dh, 0x6d
insb byte es:[edi], dx
xchg ecx, eax
or dword [ebp - 0x294e8665], 0x52
mov cl, 0xd6
push edx
loope 0x4570b1
wait
out dx, eax
in al, dx
loop 0x4570fd
sti
dec edx
sahf
sahf
jp 0x457065
outsd dx, dword [esi]
stosd dword es:[edi], eax
jne 0x4570a8
inc ecx
sub byte [ebx], al
inc ebx
pop esi
in al, dx
jb 0x4570b2
mov dword [0x626f8faa], eax
mov eax, dword [0xbd45c2f7]
push esp
inc ecx
stosb byte es:[edi], al
invalid
cmp eax, 0x815cd686
adc esp, dword [ecx]
or al, 0
jge 0x4570a5
pop es
and dl, byte [ecx + 0x31]
adc al, 0x67
cmp al, 0x62
int 0xf2
aad 0xc0
mov edi, 0xdda330f4
mov dh, 0x6e
inc eax
sbb edi, 0x27
add eax, 0x2edc3a4f
insd dword es:[edi], dx
inc ebx
mov ah, 0xf
sub byte [eax], al
popfd
pop edx
cvtdq2ps xmm0, xmm0
xor al, 0xd9
adc dword [ecx], 0xe196df5b
lds esi, [esi]
or dword [ebx - 0x505865be], 0x7d
pop ebx
sal byte [ecx + ebx*8], 0x81
adc dword [ebx - 0x21], ebx
xchg esi, eax
loope 0x4570cd
or dword ss:[ebx - 0x505865be], 0x7d
and byte [ebp + 0x14f0e854], dl
xor al, byte [edi + 0xf]
xchg byte [0x7e8c5825], al
and edx, ecx
xor edi, edi
invalid

Function at 0x4581ac
Capabilities:
Encode data using xor

Disassembly:
repe scasb al, byte es:[edi]
cmp eax, 0xd020ff3
push edi
popal
jg 0x4581e6
jbe 0x45821e
mov cs, esp
aad 0xf8
mov eax, 0x1fc6cf56
cdq
mov ecx, dword [eax]
sti
push dword [ebp - 0x6d]
mov ebx, 0x9cda8752
fist word [ebx]
jp 0x458211
sal byte [edi + 0x87640c9], 7
cwde
push es
sbb al, 0x64
aas
mov dh, 0x33
jbe 0x458261
pop ss
hlt
clc
imul eax, dword [ecx], 0x23
wait
retf 0x8b3d
add dh, byte [ebx - 0x57ccfce6]
mov edi, 0x9c8c0eef
lodsd eax, dword [esi]
cmpsb byte [esi], byte es:[edi]
adc edi, ebp
aas
and al, 0x36
cmp cl, ah
mov ah, 0xdc
dec ebp
xor ebp, dword [esi + ebx*4 + 0x65363eb8]
adc esi, dword [esi + 0x46]
add byte [edx + 0x7833fb68], dh
out 0x16, al
cmp eax, 0xc966dcc0
jecxz 0x458223
or al, 0x71
push es
cmpsd dword [esi], dword es:[edi]
mov edi, 0xf1d50d92
insb byte es:[edi], dx
push edi
insd dword es:[edi], dx
retf
xchg edx, eax
push ds
or di, word [ecx - 0x53]
mov bl, 0xe9
out 0xac, eax
pop edi
xor al, ch
aam 0xdb
out 0xd6, eax
push ecx
pop ss
imul ecx, dword [ebp + 0x707280c], 0xcdf585dd
fcomp qword [ebx + 0x58]
std
in al, dx
xchg esi, eax
salc
iretd

Function at 0x4a0f60
Capabilities:
Encode data using xor

Disassembly:
and dword [esi], 0xffffffe5
xor dword [ebx], esp
adc byte [edx], 0xd2
and dword [eax], 0x325830ac
mov al, 0x4e
cmp esp, dword [edx - 0x46]
outsb dx, byte gs:[esi]
retf
out 0xdf, al
out 0x68, eax
add al, 0x5b
push ss
inc ebx
jno 0x4a0f29
dec esp
push edi
push edx
salc
push es
mov ecx, ebp
pop eax
cli
xor dword [edx], edi
imul ebp, esi, 0xffffffb2
inc esi
loopne 0x4a0f6e
cdq
adc ah, cl
push es
fcom dword [esi + 0x65]
add al, 0xb1
ret 0x6c7a
Function at 0x659d8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6633a8
cmp edx, dword [eax]
je 0x659daf
add eax, 8
inc ecx
cmp eax, 0x663438
jl 0x659da0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6633a8]
jne 0x659edd
mov eax, dword [0xa60108]
cmp eax, 1
je 0x659eb7
test eax, eax
jne 0x659de0
cmp dword [0x6632d4], 1
je 0x659eb7
cmp edx, 0xfc
je 0x659edd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659e17
lea eax, [ebp - 0x1a4]
push 0x65fc40
push eax
call fcn.0065a770
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065ac00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659e5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065ac00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65fc3c
push edi
call fcn.0065cad0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65fc20
push eax
call fcn.0065a770
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a780
lea eax, [ebp - 0xa0]
push 0x65fc1c
push eax
call fcn.0065a780
push dword [esi + 0x6633ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a780
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65fbf4
push eax
call fcn.0065ca44
add esp, 0x2c
pop edi
jmp 0x659edd
lea eax, [ebp + 8]
lea esi, [esi + 0x6633ac]
push 0
push eax
push dword [esi]
call fcn.0065ac00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1401110
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x158c938
push 0x144ac10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x14011b2
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x14011b2
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x14011b2
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x14011b2
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1401480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x1401548
nop word [eax + eax]
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x14014c5
sub edi, 0x8000000
jmp 0x1401540
push 0x1c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1401548
cmp dword [ebp - 0xc], 0x10000
jne 0x140152b
cmp dword [ebp - 0x10], 0x10000
jb 0x140152b
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1401604
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1401548
sub edi, 0x10000
jmp 0x1401540
mov ecx, dword [ebp - 0x18]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x14014b0
movzx eax, si
test eax, eax
je 0x1401557
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x1401602
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax + eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x1401585
add esi, 0x8000000
jmp 0x14015fa
push 0x1c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call ebx
test eax, eax
je 0x1401602
cmp dword [ebp - 0xc], 0x10000
mov ecx, dword [ebp - 0x10]
jne 0x14015e5
cmp ecx, 0x10000
jb 0x14015e5
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1401604
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
je 0x1401602
add esi, 0x10000
jmp 0x14015fa
mov esi, dword [ebp - 0x1c]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x14015fa
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x1401570
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1401610
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x15bcf3c], 0
jne 0x140168c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x15bcf3c
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x140168c
push esi
mov esi, dword [0x15bcf48]
mov dword [0x15bcf50], eax
mov dword [0x15bcf4c], eax
mov dword [0x15bcf44], eax
push edi
test esi, esi
je 0x140166e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x140167b
mov esi, dword [esi + 4]
test esi, esi
jne 0x1401655
xor eax, eax
pop edi
mov dword [0x15bcf38], eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x15bcf38], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
Function at 0x1405ce0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1000
call fcn.0144aac0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0xc]
push 0xfff
push eax
call fcn.014028c0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.01431212
mov eax, dword [0x15bbec4]
add esp, 0x1c
mov byte [esp + 0xfff], 0
test eax, eax
je 0x1405d3b
mov eax, dword [eax + 0x50]
test eax, eax
je 0x1405d3b
push str.escape_n
call eax
add esp, 4
push 0x10
push str.Fatal_Error
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1407e50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x15bcedc]
push edi
test esi, esi
je 0x1408013
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop dword [eax]
cmp byte [esi + 4], 0
jne 0x1408008
mov eax, dword [esi]
cmp eax, 1
jne 0x1407eac
call fcn.01401610
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0x18]
sub esp, 0xc
call fcn.01401950
call fcn.014016a0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1408004
mov eax, dword [esi + 0x18]
jmp 0x1408002
cmp eax, 2
jne 0x1407ee9
mov edi, dword [esi + 0x28]
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [esi + 8], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call ebx
test eax, eax
je 0x1407ff8
mov eax, dword [esi + 0xc]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call ebx
jmp 0x1407ff8
cmp eax, 3
jne 0x1407f26
mov edi, dword [esi + 0x20]
mov dword [ebp - 8], 0
mov eax, dword [edi]
mov dword [esi + 8], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call ebx
test eax, eax
je 0x1407ff8
mov eax, dword [esi + 0xc]
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push edi
call ebx
jmp 0x1407ff8
cmp eax, 4
jne 0x1408004
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1407f3e
mov eax, dword [0x15bd4d0]
add eax, 5
mov dword [0x15bd4d0], eax
mov edx, eax
mov dword [ebp - 0x10], 0
mov edi, eax
mov ebx, eax
mov cl, byte [eax]
cmp cl, 0xff
jne 0x1407f70
mov al, byte [edx + 1]
cmp al, 0x15
jne 0x1407f65
mov eax, dword [edi + 2]
mov eax, dword [eax]
jmp 0x1407f82
cmp al, 0x25
jne 0x1407f9b
mov eax, dword [ebx + 2]
mov eax, dword [eax]
jmp 0x1407f82
cmp cl, 0xe8
je 0x1407f7a
cmp cl, 0xe9
jne 0x1407f9b
mov ecx, dword [eax + 1]
add eax, 5
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov edx, eax
inc ecx
mov dword [0x15bd4d0], eax
mov dword [ebp - 0x10], ecx
mov edi, edx
mov ebx, edx
cmp ecx, 1
jb 0x1407f50
jmp 0x1407f9d
xor eax, eax
push dword [esi + 0x1c]
mov dword [esi + 8], eax
lea eax, [esi + 0x20]
push dword [esi + 0x18]
push eax
call fcn.0142ae20
mov edi, dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0xc], 0
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1407ff2
push edi
lea eax, [esi + 0x28]
push eax
push ebx
call fcn.0142ae20
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
jmp 0x1407ff8
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1408004
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov byte [esi + 4], 1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x1407e70
pop edi
pop esi
mov byte [0x15bbe68], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x140a4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x140a59c
mov eax, dword [esi]
cmp eax, 1
jne 0x140a512
call fcn.01401610
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0x18]
call fcn.01401e50
call fcn.014016a0
jmp 0x140a598
push ebx
push edi
cmp eax, 2
jne 0x140a51e
mov edi, dword [esi + 0x28]
jmp 0x140a526
cmp eax, 3
jne 0x140a555
mov edi, dword [esi + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x140a596
mov eax, dword [esi + 8]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call ebx
jmp 0x140a596
cmp eax, 4
jne 0x140a596
mov edi, dword [esi + 0x1c]
lea eax, [ebp - 4]
mov ebx, dword [esi + 0x18]
push eax
push 0x40
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140a596
push edi
lea eax, [esi + 0x20]
push eax
push ebx
call fcn.0142ae20
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov byte [esi + 4], 0
push 0x164
push esi
call fcn.01428255
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x140ae00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x144c260
push 0x164
mov edi, edx
mov ebx, ecx
call fcn.01428200
mov esi, eax
add esp, 8
test esi, esi
je 0x140af26
push 0x14c
lea eax, [esi + 0x18]
mov byte [esi + 4], 0
push 0
push eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0142ac10
push 0x160
lea eax, [esi + 4]
push 0
push eax
call fcn.0142ac10
mov ecx, dword [ebp + 0x18]
mov dword [esi], 3
mov eax, dword [0x15bcedc]
mov dword [esi + 0x14], eax
mov dword [0x15bcedc], esi
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
push 0x40
push dword [ebp + 8]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x24]
push eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ecx
call fcn.014355b0
push 0x100
push dword [ebp + 0xc]
lea eax, [esi + 0x64]
mov byte [esi + 0x63], 0
push eax
call fcn.014355b0
mov eax, dword [ebp + 0x14]
add esp, 0x30
cmp byte [0x15bbe68], 0
mov byte [esi + 0x163], 0
mov dword [esi + 0x10], eax
je 0x140aedc
xor al, al
mov byte [esi + 4], al
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x20]
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 4], 0
call ebx
test eax, eax
je 0x140af0c
mov eax, dword [esi + 0xc]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call ebx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x140af18
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov al, 1
mov byte [esi + 4], al
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x140bb50
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x1590594
call fcn.014292c4
add esp, 4
test eax, eax
jne 0x140bcb3
cmp dword [0x15905c0], 0x7fffffff
je 0x140bcba
mov eax, dword [0x15bcf20]
mov ecx, dword [0x15bcf24]
push esi
push edi
mov edi, dword [ebp + 8]
cmp eax, ecx
je 0x140bb9e
nop
mov esi, dword [eax]
cmp edi, dword [esi + 0xc]
je 0x140bc05
add eax, 4
cmp eax, ecx
jne 0x140bb90
push 0x1590594
call fcn.014292d5
add esp, 4
push ebx
push edi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x140bbfc
movzx ecx, word [eax + 0x14]
movzx esi, word [eax + 6]
add ecx, eax
mov dword [ebp - 8], ecx
xor eax, eax
add ecx, 0x18
mov dword [ebp - 4], ecx
xor ecx, ecx
cmp ax, si
jae 0x140bbfc
mov ebx, dword [ebp + 0xc]
movzx eax, cx
lea edx, [eax + eax*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + edx*8]
cmp eax, dword [ebx]
jne 0x140bbf6
mov eax, dword [ebp - 4]
mov eax, dword [eax + edx*8 + 4]
cmp eax, dword [ebx + 4]
je 0x140bc8d
inc ecx
cmp cx, si
jb 0x140bbd6
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x1590594
call fcn.014292d5
add esp, 4
test esi, esi
je 0x140bbab
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x7865742e
jne 0x140bc3c
cmp dword [eax + 4], 0x74
jne 0x140bc3c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x140bc33
mov eax, dword [esi + 0x24]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [eax], 0x7461642e
jne 0x140bc5f
cmp dword [eax + 4], 0x61
jne 0x140bc5f
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x140bc56
mov eax, dword [esi + 0x2c]
mov dword [ecx], eax
mov eax, dword [esi + 0x28]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [eax], 0x6164722e
jne 0x140bc85
cmp dword [eax + 4], 0x6174
jne 0x140bc85
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x140bc7c
mov eax, dword [esi + 0x34]
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 8]
test esi, esi
je 0x140bca6
mov ecx, dword [ebx + edx*8 + 0x28]
cmp ecx, dword [ebx + edx*8 + 0x20]
cmovbe ecx, dword [ebx + edx*8 + 0x20]
mov dword [esi], ecx
mov eax, dword [ebx + edx*8 + 0x24]
pop ebx
add eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.01429266
push 6
mov dword [0x15905c0], 0x7ffffffe
call fcn.01429266
int3