joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x43ca40
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x12
jo 0x43ca17
imul esp, dword [eax], 0x136ab024
and al, 0xb0
push 0x13
add dword [esi], edi
mov edi, 0x8e6c1c1a
push edx
sub ebx, 0x9cd9e2b5
adc dword [ecx - 0x2d], eax
pushfd
and al, 0xbf
mov dh, 0x28
push ss
inc edx
cmpsd dword [esi], dword es:[edi]
jae 0x43ca7d
or dword [ecx - 0x2d], eax
pop ecx
mov byte [edi + 0x60bfa3f5], dh
inc eax
pop ss
shl byte [ecx - 0x47], 0x9e
dec ecx
test eax, 0x77fb491
popal
mov ecx, 0x91a9499e
mov ah, 0x7f
pop es
loope 0x43cab3
pop ebx
adc dword [edi + ecx*2 - 0x34], ebp
mov cl, 0xd5
fist word [edi - 0x64]
mov bl, 0xb0
pushfd
daa
cmp ah, byte [ecx]
mov cl, 0x3a
stosd dword es:[edi], eax
mov al, 0x85
sbb al, 0x6f
add byte [edx + 0x6c51b523], ch
loope 0x43ca10
rol byte [ebx*8 - 0x7fbf145e], 1
daa
movsb byte es:[edi], byte [esi]
arpl word [esp + ecx*2 - 0x65], dx
or al, 0xb9
xor al, 0xd5
cmovae ebp, dword [edi + 0x28]
cmp dword [edi], ebx
aad 0xf
inc ebx
outsd dx, dword [esi]
sub byte [ecx], bh
pop ds
les esi, [edx]
xor al, 0xf1
adc byte [0xecefddb5], al
or edx, dword [ebx - 0x4a3ed408]
mov eax, dword [0x64508b12]
jb 0x43ca7a
push es
jg 0x43ca43
mov esi, 0xb0223f82
and al, 0x8e
push ecx
jns 0x43ca31
push ebx
inc esp
xchg esi, eax
jmp 0x43ca5a
add eax, 0x3d7d8b90
mov ch, 0xc0
dec esp
mov cl, 0x99
or eax, 0x66989525
aas
pop es
sub byte [edx], 0xe1
sal dword [eax + 0x22c0cf31], 1
mov al, 0x37
mov eax, dword [0xf0957ede]
arpl word [ecx], dx
mov esp, 0x9d17a02b
arpl word [esi], cx
mov dword [ebx], esp
ret
Function at 0x461a45
Capabilities:
Encode data using xor

Disassembly:
push esp
int 0xee
mov ch, byte [edx + 0x1a2f4f04]
push ecx
loopne 0x461a12
dec dh
mov ecx, dword [esi]
sbb al, 0x37
test ah, 0x64
push es
sub cl, byte [edi + 0x2c]
bound edi, qword [ebp - 0x2d]
nop
mov word [edi - 0x60a0cfd9], ds
adc ebx, dword [edi + 0x43274561]
invalid
Function at 0x4ac665
Capabilities:
Encode data using xor

Disassembly:
dec edx
mov dword [0x344c5215], eax
pop edx
das
push ds
adc eax, 0xa5d61da0
mov gs, word [ebp + 0xd812943]
test al, 0x74
and ch, byte [0xf642d85]
push esp
and eax, 0xe6cc2871
sub eax, 0x25540f64
jno 0x4ac5f8
andps xmm4, xmmword fs:[0xe6cc2871]
int3
test eax, 0xf6d65f4b
mov al, byte [esi - 0x4a9b161f]
cmp eax, 0x102c5bce
cmpsd dword [esi], dword es:[edi]
and dword [esi], ebx
jns 0x4ac5ca
dec ecx
xor ecx, dword [ecx + 0x7439eb8c]
sub dword [ecx + 0x31], edi
sub edi, ecx
mov eax, dword [0xcd9697bd]
mov dl, 0x9b
mov byte [0xc3999365], al
or edi, 0xef899732
jp 0x4ac5c9
jnp 0x4ac687
loopne 0x4ac607
aam 0xc7
ja 0x4ac5a1
mov eax, dword [0xccb9a5e2]
mov byte [0xd308a0ef], al
loop 0x4ac5b7
mov ecx, 0xa0efa2cc
or bl, dl
inc ebp
mov ch, 0x6b
insb byte es:[edi], dx
mov eax, 0xd0e8809c
xchg edi, eax
cmpsd dword [esi], dword es:[edi]
add esp, dword [ebp + 0x58]
lea edx, [edx + 0x47adf2ec]
ror esi, cl
pop ecx
stosb byte es:[edi], al
sub al, 0xe2
add al, 0x5f
and byte [ebx - 0x54], bl
pop ss
cmp dword [esi + 0x3333d319], edi
call 0xe76e0b53
mov dh, 0xb3
bnd js 0x4ac6bf
inc esi
mov eax, 0x5be6b3f0
call 0x3d3aa444
mov esi, edx
in eax, dx
add eax, 0x7993996d
adc eax, 0xb9ab98b7
out dx, eax
imul ecx, dword [ebp + 0x29e88752], 0x658853a0
xchg eax, ebp
sub dword [eax + 0x67658853], esp
push es
xchg eax, ebp
sub dword [eax + 0x67658853], esp
mov al, byte [0x67658853]
push es
cmp dword [esi], edx
pop eax
sub al, 0xc1
mov esp, 0xf1a76cf7
jb 0x4ac610
jbe 0x4ac62f
lodsd eax, dword [esi]
cmpsb byte [esi], byte es:[edi]
xor byte [ebp + 0x2b], 6
pop edx
jecxz 0x4ac6d7
and al, byte [ebp + 0x7c]
fistp word [ecx]
jae 0x4ac678
jl 0x4ac668
sbb dword [ebx - 0x14], esi
in al, dx
jl 0x4ac6a6
and byte [edx - 0x36333668], ch
test esp, ecx
out 0xc2, al
rcr ch, cl
inc esi
cmpsb byte [esi], byte es:[edi]
jns 0x4ac68b
ret 0xddf2
mov byte [0x841e0bb5], al
cdq
push esi
sbb byte [eax + 0xd], dl
cmp dword [ecx], ecx
pop es
or dword [ebx + 0x5308aca3], edx
leave
invalid
test al, 0xb4
mov ecx, 0xf8a73654
mov dl, 0x1b
shr dword [eax + edi*8 + 0x59], cl
inc edx
popfd
invalid
call 0xa6b72608
fbld tbyte [edi - 0x76]
or al, 0x8c
leave
popal
dec ebx
xor byte [eax - 0x36], bh
push esi
sbb eax, dword [esp + eax*2 - 0xd066c91]
dec ecx
cmp dword [ebp + 9], edi
aad 0xe2
psraw mm7, qword [edx + 0x1385a3b6]
cmp dword [eax + 0x6aa977a1], esi
sbb eax, 0x3b43f86e
ror ebx, cl
adc ecx, dword [0x59bfb4bc]
mov edx, esp
add dh, byte [ebx]
int1
xor dh, dl
invalid
Function at 0x54ce45
Capabilities:
Encode data using xor

Disassembly:
pop ebx
stc
mov cl, 0xc1
cmp eax, 0xcdc9ba65
stosd dword es:[edi], eax
in eax, dx
pop esp
mov bl, 0x3d
lds ecx, [ebx + 0x7a776a4d]
xchg esi, eax
mov edx, 0x767b1bfc
dec ecx
adc al, 5
aaa
out dx, al
aaa
pop es
push cs
test eax, 0x52688735
push eax
xor eax, 0x50526887
xchg ebp, eax
jb 0x54ce69
popal
mov al, byte [0xfb20c6c8]
inc eax
sahf
dec edx
frstor dword [ebp + 0x78cb9130]
wait
and ebp, ebx
lahf
ficomp dword [edx]
shr eax, cl
test byte [ebx], al
mov esp, 0x4065ae08
retf 0x1a5b
Function at 0x624f95
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xe29094c7
xchg ecx, eax
jg 0x624faa
dec edi
sbb edx, ecx
xor ebx, dword [ebx + ebx - 0x18]
sal byte [ebx - 0x49d468a8], cl
lahf
push es
in al, dx
pop eax
popal
in eax, dx
mov edx, 0x9e8e5645
mov dh, 0x3a
sub eax, 0xded6f6ce
scasb al, byte es:[edi]
sahf
lds ebp, [edi - 0x6328fd9a]
or al, 0x9c
xor bl, byte [edx + 0x7f]
xchg byte [ecx], bh
rcr dword [ebx], cl
daa
lahf
cmp dl, 0x90
lodsb al, byte [esi]
test al, 0xfe
scasd eax, dword es:[edi]
clc
sbb ebx, dword [ebx]
inc esi
movsd dword es:[edi], dword [esi]
sar dword [ebx + 0x41f3eb35], 0xa3
dec edx
xor esp, dword [ecx + 0x2e]
mov dword [0x2e61334a], eax
and ebp, dword [0x69e6a1ef]
arpl bx, bx
adc dword [ecx + 0x52], edx
jb 0x624fd6
sal ebx, cl
dec eax
sal ebx, 0x15
cmp al, cl
add edi, edx
xor dword [eax + esi - 0x7ba99e7a], ebp
cmp dh, byte [ebx + 0x77]
stosd dword es:[edi], eax
lea eax, [ecx]
fdivp st(7)
pop ebx
shr byte [ebx], cl
salc
mov gs, word [eax + 0x51]
lodsd eax, dword [esi]
scasb al, byte es:[edi]
loope 0x624fe2
jge 0x625077
pop esi
and ecx, dword [edx + 0x5b27eafc]
cwde
dec esi
xor dword [ebp - 0x7e5060cb], esi
ror ah, cl
xchg esp, eax
cdq
scasb al, byte es:[edi]
mov word [eax], es
shl byte [ecx - 0x10], 1
clc
mov dl, 0x83
pop ecx
mov es, word [ecx + eax*8 + 0xe]
mov dl, cl
scasd eax, dword es:[edi]
adc dword [ecx + 0x5ffd59ca], 0xa2d98d3c
jle 0x6250b8
imul ebp, dword [esi + 0x24], 0x3e1cde0b
and al, 0xb
ficomp word [esi + edi]
sar dword [esi], 0xca
loop 0x6250a0
and al, byte [edx]
inc bh
mov dword [0x1e017f35], eax
inc ecx
push ds
in al, dx
aaa
xchg edx, eax
fldenv [ebx + 5]
mov ebx, es
imul ecx, dword fs:[esi + ebp*2 + 0x6e7c4621], 2
into
add dword [edi + 0x48725ec7], esp
rcr byte [edi - 0x2f], 1
insd dword es:[edi], dx
test al, 0xd6
enter 0xffffffffffff85c7, 0x14
jno 0x6250d7
invalid
in eax, dx
mov edx, dword [edx + 0x1f]
xlatb
push cs
nop
loope 0x6250bc
add ebx, esp
mov al, 0xf1
fdiv qword [eax + 0x11fb03f1]
lodsb al, byte [esi]
retf
add edi, ebx
adc dword [ebx + ecx*8 + 0x30bf5e8f], ebp
mov bh, 0x70
mov byte [0xf761ef5], al
mov bh, 0xd0
call 0xeacb4f17
insd dword es:[edi], dx
jns 0x62505f
pushfd
out 0x7e, eax
push ecx
retf 0x7b20
Function at 0x625325
Capabilities:
Encode data using xor

Disassembly:
loopne 0x625347
aas
leave
sbb esp, dword [ecx - 0xace5f3b]
pop es
sbb edx, edi
retf
insd dword es:[edi], dx
in al, 0x15
mov esi, 0x7412fdbd
xor al, 0x82
fidiv dword [edx - 0x2e]
push ecx
pop edx
mov byte [0x3eae04c0], al
in eax, 0x3f
push ebx
ficom word [0x4f7e707b]
cdq
cmp dword [ebp + 9], ecx
loope 0x62538f
and al, 0x86
invalid
xchg byte [edi + 0x750dcbf], cl
pop esi
cmpsb byte [esi], byte es:[edi]
xor dword [esp + ecx], eax
pop ss
out dx, eax
sti
jecxz 0x62536a
fbstp tbyte [ecx - 0x67]
or byte [ecx], bh
invalid
nop
imul edx, esi, 0xcebebe75
jne 0x625408
xor byte [ebp - 0x66702dcf], dh
pop ss
scasb al, byte es:[edi]
mov al, 0xbf
mov dword [0x358757b7], eax
xchg dword [0xcc595b6b], esi
bound edx, qword [ecx + 0x3dd2b939]
aad 0x60
aam 0xe2
rcr edx, 0x44
wait
xor eax, 0x24ee70f4
jo 0x6253f7
salc
enter 0x5cc5, 0xffffffffffffffa2
push ebp
insb byte es:[edi], dx
push ss
int3
outsb dx, byte [esi]
daa
jp 0x625439
mov ss, word [eax]
pop edx
mov al, byte [0xf142e36a]
adc byte [ecx + 0x4f710c74], ah
dec edi
mov byte [ebp + 0x22ef8675], cl
mov byte [0x8569d53a], al
add al, 0xbe
loope 0x6253b3
out dx, eax
mov dl, 0x75
mov edx, 0xb2d16fff
int1
and cl, byte [ebx]
popal
popal
dec esp
xlatb
or edx, 0x5f02d7d0
dec ecx
invalid
sub dh, al
test byte [ecx], 0x9e
pop ds
sbb al, 0xfc
mov dword [0x3b3105dd], eax
mov ebp, 0x951624de
sub ecx, dword [ecx + 0x171cc35a]
invalid

Function at 0x62dc35
Capabilities:
Encode data using xor

Disassembly:
push cs
pop ds
fcomp qword [ebx - 0x4d]
add ecx, dword [edi - 0x22e0e92]
dec esi
cmp esi, dword [ecx - 0x3cb1c5c1]
rcl ecx, 1
xchg ebp, eax
in eax, dx
mov ch, 0x69
pop ecx
pop es
in al, 0xf7
test eax, 0x410a700e
adc dword [ecx - 0x22], edx
xchg esp, eax
inc esi
leave
sahf
mov cs, edi
xlatb
mov edx, 0xc9110be1
ret
adc esi, dword [eax - 0x66]
dec ebx
rcr dword [eax + edx*4], cl
add eax, dword [esp + ebp*8 - 0x2483fe4c]
out dx, al
ja 0x62dc32
mov bl, 0x5d
invalid
add byte [esi - 0x72f403f], bl
push esp
adc al, 0x91
mov dl, 0xd0
je 0x62dbd3
push eax
invalid
insd dword es:[edi], dx
add dword [ebx], ecx
loop 0x62dc98
scasd eax, dword es:[edi]
mov ch, cl
jo 0x62dc54
pop esp
dec dword [ecx + 0x26f6f3f4]
salc
invalid
insd dword es:[edi], dx
cmc
mov eax, dword [0xc38d2267]
push dword [ebx - 0x42e37a88]
js 0x62dbe4
sbb al, 0xbd
sbb cl, byte [edi]
xor esi, dword [eax]
scasb al, byte es:[edi]
das
inc edi
nop
adc dword [edx - 0x36], eax
jle 0x62dc1c
xchg ecx, eax
out dx, al
mov gs, word [esp + edi*2]
jp 0x62dc5d
rcl ebp, 1
pop edx
mov eax, dword [0xd58df5df]
pop ss
add dword [esi], edi
loopne 0x62dcfc
pop ss
mov dword [0x3b9a7b50], eax
ljmp 0xcd2e
pop ss
and al, 0x49
int3
adc bh, byte [ecx + eax*4 - 0x1c15718]
lcall 0x9e2d, 0x80357afb
scasb al, byte es:[edi]
invalid
Function at 0x65921d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x660378
cmp edx, dword [eax]
je 0x65923f
add eax, 8
inc ecx
cmp eax, 0x660408
jl 0x659230
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x660378]
jne 0x65936d
mov eax, dword [0xa65cb0]
cmp eax, 1
je 0x659347
test eax, eax
jne 0x659270
cmp dword [0x6602a4], 1
je 0x659347
cmp edx, 0xfc
je 0x65936d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6592a7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00659c00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a090
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6592ea
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a090
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e624
push edi
call fcn.0065bf60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00659c00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00659c10
lea eax, [ebp - 0xa0]
push 0x65e604
push eax
call fcn.00659c10
push dword [esi + 0x66037c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00659c10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065bed4
add esp, 0x2c
pop edi
jmp 0x65936d
lea eax, [ebp + 8]
lea esi, [esi + 0x66037c]
push 0
push eax
push dword [esi]
call fcn.0065a090
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 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x10001130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push edi
push eax
push 0x40
lea edi, [ecx + 0x3012e]
mov dword [esp + 0x14], 0
push 1
push edi
lea ebx, [ecx + 0x301d3]
mov dword [esp + 0x20], 0
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push ebx
call esi
lea eax, [esp + 0x10]
push eax
push 1
push 0x10013d3c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call esi
lea eax, [esp + 0x10]
push eax
push 1
push 0x10013d3c
push ebx
call edi
push eax
call esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10001320
Capabilities:
Create thread

Disassembly:
sub dword [esp + 8], 1
jne 0x10001378
push esi
xor ecx, ecx
call fcn.10002340
mov esi, eax
test esi, esi
je 0x10001352
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.100026f0
test eax, eax
jne 0x10001380
mov ecx, esi
call fcn.10002340
mov esi, eax
test esi, esi
jne 0x10001335
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7e
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
push 0
push 0x100012e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov eax, 1
ret 0xc
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1000135a
mov ecx, eax
call fcn.100027f0
jmp 0x10001362

Function at 0x100013b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100143c0
push 0x100044d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
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 0x10001460
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10001460
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10001460
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10001460
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001710
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, edx
push esi
mov esi, ecx
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 0x100017db
nop dword [eax + eax]
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001755
sub edi, 0x8000000
jmp 0x100017d3
push 0x1c
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [esp + 0x1c], xmm0
movq qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100017db
cmp dword [esp + 0x20], 0x10000
jne 0x100017bd
cmp dword [esp + 0x1c], 0x10000
jb 0x100017bd
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10001897
call ebp
cmp eax, 0x677
je 0x100017db
sub edi, 0x10000
jmp 0x100017d3
mov ecx, dword [esp + 0x14]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x10001740
movzx eax, si
test eax, eax
je 0x100017ea
sub esi, eax
add esi, 0x10000
mov edi, dword [esp + 0x30]
cmp esi, edi
jae 0x10001895
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
nop dword [eax]
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001815
add esi, 0x8000000
jmp 0x1000188d
push 0x1c
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esp + 0x1c], xmm0
movq qword [esp + 0x2c], xmm0
call ebx
test eax, eax
je 0x10001895
cmp dword [esp + 0x20], 0x10000
mov ecx, dword [esp + 0x1c]
jne 0x10001877
cmp ecx, 0x10000
jb 0x10001877
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10001897
call ebp
cmp eax, 0x677
je 0x10001895
add esi, 0x10000
jmp 0x1000188d
mov esi, dword [esp + 0x10]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x1000188d
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x10001800
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10002270
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [esp + 0x24], 0
push 0x1c
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push esi
push edi
movups xmmword [esp + 0x1c], xmm0
movq qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x100022b4
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
push dword [esp + 0x30]
test byte [esp + 0x24], 0xf0
mov ecx, 0x40
mov eax, 4
cmovne eax, ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8

Function at 0x10002340
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100143e0
push 0x100044d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
lea esi, [ecx + 0x10000]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100023b4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x24], 0x1000
jne 0x10002446
cmp byte [ebp - 0x20], 1
je 0x10002446
test dword [ebp - 0x20], 0x100
jne 0x10002446
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x100023f2
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x28]
ja 0x100023f2
cmp eax, 0x40
jb 0x100023f2
cmp dword [eax + esi], 0x4550
je 0x10002401
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x10002391
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x10002391
Function at 0x10002570
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10014420
push 0x100044d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [section..data]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
test ebx, ebx
jne 0x100025b2
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [ebx], ax
je 0x100025cd
push 0xc1
jmp 0x100026c1
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
mov dword [ebp - 0x24], ecx
cmp dword [ecx], 0x4550
je 0x100025e7
push 0xbf
jmp 0x100026c1
movzx eax, word [ecx + 0x14]
test ax, ax
je 0x100026bc
lea edx, [eax + ecx]
mov dword [ebp - 0x1c], edx
lea edx, [eax + 0x18]
add edx, ecx
mov dword [ebp - 0x28], edx
xor esi, esi
mov dword [ebp - 0x20], esi
movzx eax, word [ecx + 6]
cmp esi, eax
jae 0x100026bc
lea edi, [esi + esi*4]
mov ecx, str..detour
lea eax, [edx + edi*8]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002640
test dl, dl
je 0x1000263c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002640
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002620
xor eax, eax
jmp 0x10002645
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000269a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + edi*8 + 0x24]
test eax, eax
je 0x100026bc
cmp dword [ecx + edi*8 + 0x28], 0
je 0x100026bc
lea esi, [eax + ebx]
mov eax, dword [esi]
cmp eax, 0x40
jb 0x100026bc
cmp dword [esi + 4], 0x727444
jne 0x100026bc
cmp dword [esi + 8], 0
jne 0x10002677
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc esi
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
jmp 0x10002604
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006694
Capabilities:
Parse pe header

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