joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dbc8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc48
xor eax, eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41dd6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3a4]
xor eax, eax
call fcn.004029a0
mov eax, dword [ebp - 0x3a4]
lea edx, [ebp - 0x3a0]
call fcn.00408148
push dword [ebp - 0x3a0]
lea edx, [ebp - 0x3ac]
xor eax, eax
call fcn.004029a0
mov eax, dword [ebp - 0x3ac]
lea edx, [ebp - 0x3a8]
call fcn.00408210
push dword [ebp - 0x3a8]
push 0x41dd80
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b0c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402d44
lea eax, [ebp - 0x1d0]
call fcn.00402ad4
lea eax, [ebp - 0x1d0]
call fcn.00402ee8
lea eax, [ebp - 0x3b0]
call fcn.0041ca9c
lea eax, [ebp - 0x3b0]
mov edx, 0x41dd90
call fcn.00404a54
mov edx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x39c]
call fcn.00402d44
lea eax, [ebp - 0x39c]
call fcn.00402ad4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x39c]
call fcn.00404d90
call fcn.00403558
lea eax, [ebp - 0x39c]
call fcn.00402ee8
push 0
lea eax, [ebp - 0x3b4]
call fcn.0041ca9c
lea eax, [ebp - 0x3b4]
mov edx, 0x41dd90
call fcn.00404a54
mov eax, dword [ebp - 0x3b4]
call fcn.00404c44
push eax
call sub.kernel32.dll_WinExec
push 0x5dc
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x3b8]
call fcn.0041ca9c
lea eax, [ebp - 0x3b8]
mov edx, 0x41dd90
call fcn.00404a54
mov eax, dword [ebp - 0x3b8]
call fcn.004080e0
mov eax, dword [ebp - 4]
call fcn.004080e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd74
lea eax, [ebp - 0x3b8]
mov edx, 7
call fcn.004047b8
lea eax, [ebp - 4]
call fcn.00404794
ret

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x43eb5d
Capabilities:
Encode data using xor

Disassembly:
stc
sal byte [edi + 0x77dd8c62], cl
ljmp 0x294e
jo 0x43eab1
lea ebp, [ebx]
aaa
push edx
mov bh, 0x88
stc
stc
fsubr qword [edi - 0x770173b]
dec edx
daa
add edi, ebx
jg 0x43eaf1
cmp eax, 0x1c6517a5
cmpsd dword [esi], dword es:[edi]
loope 0x43eb04
push edx
pop es
dec edi
and bl, bl
and dword [edx - 0x4f18fc0f], ecx
not edi
movsd dword es:[edi], dword [esi]
sbb esi, esi
xchg dword [edi], esi
sbb dl, dh
test al, 0x6a
pop ds
push 0x26
pop ds
mov dl, byte [0x135639ca]
cmp bl, al
push 0xffffffffffffff86
push 0x9bc9b0a
vpmaddubsw xmm3, xmm2, xmm4
xchg esp, eax
sub al, 0xc6
lahf
pop ss
fisttp dword [edx + ebp*4 - 0x4f]
dec ecx
out 0x64, eax
mov ebp, 0x1dd96f58
dec eax
inc ecx
les esp, [eax]
popfd
jnp 0x43ead0
fisubr dword [edx]
jbe 0x43eb40
xor bh, cl
ror eax, cl
retf 0x57a
int3
stosb byte es:[edi], al
ja 0x43eaef
cmpsd dword [esi], dword es:[edi]
or dword [esi - 4], edx
xchg edx, eax
les edx, [edi + 0x36]
pop esi
cmp dword [edi + 0x72], ebx
or al, 0x6e
pushal
jg 0x43eb97
pop ds
pop ds
dec edi
xor esp, dword [ecx + 0x5cd92f4f]
mov ebx, 0x9f34fcd8
push es
cmp eax, 0x11186a44
cmp al, 0x30
push es
aaa
lahf
salc
out dx, al
invalid
fmul st(3), st(0)
xchg esi, eax
movsd dword es:[edi], dword [esi]
xchg esp, eax
sysexit
xlatb
sahf
pop ss
inc ebp
stc
sub dword [eax - 0x103a4916], esp
dec ebp
pop eax
sub byte [ebx], bh
fcmovu st(0), st(0)
or eax, 0x1d824a54
ja 0x43eb73
sbb dword [ebp + 0x39], edx
and al, byte [esi]
fldenv [edx + ecx - 0xe]
std
test byte [edx], cl
adc al, 0xa4
aas
xor al, 0x75
outsb dx, byte [esi]
mov byte [ecx + ecx*2 + 0x2f], 0x72
jmp 0x43ec36
mov edx, 0x78774ad7
or dword [edx], eax
int1
xchg ebp, ebx
stosd dword es:[edi], eax
js 0xaa87003a
xchg dword [eax + 0x32], ebp
cmp esp, esi
jb 0x43ec45
mov eax, 0x98670bbd
jae 0x43ebc8
xchg edi, eax
mov al, byte [0xcacf35eb]
int 0x9b
inc ch
bound edi, qword [esi + ebx + 0x58]
mov ah, 7
ret 0xe525
loope 0x43ebf7
sbb eax, 0x1633a441
scasb al, byte es:[edi]
lcall 0x3197, 0xff31cbf2
insd dword es:[edi], dx
and al, 0xff
xchg ebx, ecx
aaa
call 0x7aa56ee7
das
inc esi
int3

Function at 0x49b3cc
Capabilities:
Encode data using xor

Disassembly:
cmp dword [ebx], 0x5615d6fc
dec ebp
sub bl, ch
cli
out 0xcb, eax
invalid
pop edi
fst dword [ebx]
adc edx, dword [ecx - 0x67]
adc edx, dword [ecx - 0x67]
inc edi
das
xor byte [esi - 0x55c3ccb5], bh
popal
out dx, eax
mov eax, 0xad927be3
add bl, byte [eax]
jb 0x49b3ca
sub esi, ecx
scasd eax, dword es:[edi]
pop ebp
std
mov byte [0x738965a7], al
adc bl, byte [ebx]
dec edx
daa
mov eax, 0x5325a9ed
clc
sub dword [ebp - 0x2805e76f], ebp
int 0x45
scasd eax, dword es:[edi]
in al, 0xf1
call 0x2f98c511
das
mov ebp, eax
jns 0x49b405
jg 0x49b3b3
push ebp
fsubr st(5), st(0)
retf
Function at 0x564c83
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
fadd qword [eax]
cmp eax, dword [edi + 0x614b7fd0]
cmc
mov ebx, 0xf9f5cca1
stc
push ecx
bound edx, qword [edi + 0x21]
or eax, edi
push ebx
outsb dx, byte [esi]
popal
and byte [ebx - 0x4e8c9dbf], 5
inc ebp
xor ah, byte [ebp + 0x50baa076]
ja 0x564c40
ret
and dword [edi], ebx
jbe 0x564c88
std
adc eax, 0x807eb6f4
pop edx
aaa
add byte [ecx + ebx*8 - 0x3f7857fa], bh
in eax, dx
rcl ch, cl
sub byte [eax + ebp*2], 0x88
adc ch, byte [edx - 0x2b438870]
sbb al, 0x18
mov ebx, 0xca083a2e
test dword [edi + 0x16], eax
std
jns 0x564c32
loop 0x564c32
dec ebp
aas
invalid
Function at 0x65019e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6561d0
cmp edx, dword [eax]
je 0x6501c0
add eax, 8
inc ecx
cmp eax, 0x656260
jl 0x6501b1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6561d0]
jne 0x6502ee
mov eax, dword [0xa59814]
cmp eax, 1
je 0x6502c8
test eax, eax
jne 0x6501f1
cmp dword [0x656114], 1
je 0x6502c8
cmp edx, 0xfc
je 0x6502ee
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x650228
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006508b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00650ae0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65026b
lea eax, [ebp - 0x1a4]
push eax
call fcn.00650ae0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x654588
push edi
call fcn.006522b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006508b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006508c0
lea eax, [ebp - 0xa0]
push 0x654568
push eax
call fcn.006508c0
push dword [esi + 0x6561d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.006508c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00652224
add esp, 0x2c
pop edi
jmp 0x6502ee
lea eax, [ebp + 8]
lea esi, [esi + 0x6561d4]
push 0
push eax
push dword [esi]
call fcn.00650ae0
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 0x40529a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ef3c]
jne 0x4052a4
repz ret
jmp fcn.00409092

Function at 0x40bb2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406cf4
and dword [ebp - 4], 0
cmp dword [0x450850], 0
mov ebx, eax
jne 0x40bbdd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bc8e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40bc8e
push eax
call fcn.00406c82
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x450850], eax
call esi
push eax
call fcn.00406c82
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x450854], eax
call esi
push eax
call fcn.00406c82
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x450858], eax
call esi
push eax
call fcn.00406c82
pop ecx
mov dword [0x450860], eax
test eax, eax
je 0x40bbdd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406c82
pop ecx
mov dword [0x45085c], eax
mov eax, dword [0x45085c]
cmp eax, ebx
je 0x40bc35
cmp dword [0x450860], ebx
je 0x40bc35
push eax
call fcn.00406cfd
push dword [0x450860]
mov esi, eax
call fcn.00406cfd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bc35
test edi, edi
je 0x40bc35
call esi
test eax, eax
je 0x40bc2c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bc2c
test byte [ebp - 0xc], 1
jne 0x40bc35
or dword [ebp + 0x10], 0x200000
jmp 0x40bc6e
mov eax, dword [0x450854]
cmp eax, ebx
je 0x40bc6e
push eax
call fcn.00406cfd
pop ecx
test eax, eax
je 0x40bc6e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bc6e
mov eax, dword [0x450858]
cmp eax, ebx
je 0x40bc6e
push eax
call fcn.00406cfd
pop ecx
test eax, eax
je 0x40bc6e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x450850]
call fcn.00406cfd
pop ecx
test eax, eax
je 0x40bc8e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bc90
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
add edi, 0x82
or edx, 0xf7
or edx, 0x4c
or eax, 1
bswap ebx
sub esi, 0xef
neg esi
imul ebx
add edx, 0x31
dec eax
imul edi
bswap edx
neg edx
rcl edi, 0x20
dec ebx
add edi, 0xbf
and eax, 0x69
sub edi, 0x9b
and ebx, 0xc8
neg ebx
not eax
and edi, 0x79
imul eax
rol eax, 0x3d
ror eax, 0x73
imul esi
rcr edx, 0xbb
inc edi
or edi, 0x87
sub ebx, 0x29
rcl edx, 0x15
and ebx, 0xc7
neg ebx
and esi, 0x62
rcr edx, 0xe4
neg edi
bswap edi
dec edi
rcl edi, 0xb6
inc esi
imul edi
dec edx
and edi, 0xca
add esi, 0x98
imul edi
rol edx, 0x97
imul esi
bswap edx
ror edi, 0x28
neg edx
xor ecx, ecx
xor edi, edi
rcr edx, 0x63
neg ebx
inc ebx
dec edi
and esi, 0x2f
not ebx
sub eax, 0xa3
not edx
dec ebx
add eax, 0xfa
dec esi
bswap esi
bswap eax
or edx, 0x99
rcr ebx, 2
rcr edi, 0xb
add eax, 0x75
rcl eax, 0x40
dec edx
add edi, 0x24
not edx
imul edi
imul ebx
or esi, 0xd9
dec esi
dec esi
dec edi
or eax, 0x76
dec ebx
inc eax
mov edi, 0x74
neg edi
bswap esi
imul eax
neg esi
rol ebx, 0x1a
not ebx
not ebx
inc ebx
rcr ebx, 0x3e
neg ebx
rol esi, 0xbe
not edx
inc edi
bswap edx
dec esi
and edi, 0x7a
dec eax
dec edi
rol eax, 0xcf
mov ecx, dword [ebp + 0xc]
or edx, 0xef
neg edx
sbb eax, 0x9b
imul edi
and eax, 0x6c
or edx, 0x9d
not esi
dec edx
and esi, 0x99
mov ebx, 0x25
dec esi
ror edx, 0x65
neg eax
sbb edx, 0xbe
bswap eax
not esi
not eax
bswap esi
sbb ebx, 0x6b
inc edx
not esi
add edi, 0xe2
rcl esi, 0x5a
not edx
dec eax
or edx, 0xbb
dec edx
not esi
sub esi, 0xf8
imul esi
sub edx, 0xdd
dec esi
neg edx
ror ebx, 0x9d
sbb edx, 0xda
neg eax
sub edx, 0xf4
ror esi, 0x9e
dec edi
neg ebx
not esi
rcl eax, 0xe0
neg edx
rcl edx, 0xcb
neg esi
neg edx
or ebx, 0x65
sub edi, 0x28
rcr edi, 0xa0
sub eax, 0x23
mov edi, dword [ebp + 8]
mov ebx, eax
xor ebx, ebx
xor eax, ebx
not byte [edi]
xor ebx, esi
mov ebx, esi
xor ebx, esi
xor esi, ebx
xor ebx, eax
xor eax, eax
xor esi, eax
xor ebx, eax
mov eax, esi
add byte [edi], 0x48
xor eax, ebx
mov esi, ebx
mov ebx, ebx
mov eax, esi
xor esi, ebx
mov esi, esi
mov esi, ebx
xor esi, ebx
mov esi, ebx
sub byte [edi], 0x97
mov eax, eax
xor esi, esi
mov esi, ebx
mov ebx, ebx
mov eax, esi
mov eax, ebx
xor esi, eax
xor esi, esi
mov esi, ebx
imul byte [edi]
inc edi
loop 0x4103e6
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40155d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
movzx eax, ax
add eax, edx
add eax, 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x4016f3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x40163b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x401636
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0x34]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x14]
add ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401600
mov eax, 0
jmp 0x40170d
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._memset
jmp 0x4016eb
jmp 0x4016eb
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._CheckSize
test eax, eax
jne 0x401666
mov eax, 0
jmp 0x40170d
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0x34]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x14]
add ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4016b0
mov eax, 0
jmp 0x40170d
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
mov edx, dword [ebp + 8]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._memcpy
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
add dword [ebp - 0xc], 1
add dword [ebp - 0x10], 0x28
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0xc]
jg 0x401595
mov eax, 1
add esp, 0x40
pop ebx
pop esi
pop ebp
ret
Function at 0x403560
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x409044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40903c]
sub esp, 4
test ebx, ebx
je 0x4035ab
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x4035a4
test esi, esi
je 0x4035a4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x403580
mov dword [esp], 0x409044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x403790
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4037e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4038b4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40381e
cmp eax, 4
jne 0x403840
test esi, esi
je 0x403832
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x403824
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40387f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x403871
cmp ecx, 0x40
je 0x403832
cmp ecx, 4
je 0x403832
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00403790
lea esi, [esi]
Function at 0x4062e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b508
cmp edx, dword [eax]
je 0x406307
add eax, 8
inc ecx
cmp eax, 0x40b598
jl 0x4062f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b508]
jne 0x406435
mov eax, dword [0x40ba54]
cmp eax, 1
je 0x40640f
test eax, eax
jne 0x406338
cmp dword [0x40b1b4], 1
je 0x40640f
cmp edx, 0xfc
je 0x406435
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40636f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004038a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4063b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004038a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40957c
push edi
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037c0
lea eax, [ebp - 0xa0]
push 0x40955c
push eax
call fcn.004037c0
push dword [esi + 0x40b50c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407726
add esp, 0x2c
pop edi
jmp 0x406435
lea eax, [ebp + 8]
lea esi, [esi + 0x40b50c]
push 0
push eax
push dword [esi]
call fcn.004038a0
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x2cd4917
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x6fa13ed8
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10013790
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ebx, [ebp + 0x528]
call dword [fcn.100dd960]
mov edi, eax
or ecx, 0xffffffff
add edi, 5
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
push 0x100015f8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + ebp + 0x524], al
lea ecx, [esp + 0x1c]
push ecx
call fcn.1004f029
lea edx, [esp + 0x20]
lea esi, [ebp + 0x428]
push edx
push 0x100deabc
push 0x100015f0
push esi
call fcn.1004f029
add esp, 0x1c
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0x424], eax
je 0x10013871
push 0
push 0
push 0
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0x424]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [ebp + 0x634]
push 0x757b0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 4

Function at 0x100148a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x100dacf0
jmp 0x10016d50
push 0xffffffffffffffff
push 0x1005f81f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
call fcn.1003a4c0
mov al, byte [esp + 0x13]
mov dword [esp + 0x38], ebx
mov byte [esi + 0x1c], al
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], cl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dl, byte [esp + 0x13]
push 0x1000
mov byte [esp + 0x3c], 2
mov byte [esi + 0x2c], dl
call fcn.1004f5d9
mov edi, eax
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], edi
mov ebp, 0x100
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov byte [esp + 0x38], 3
je 0x10016e05
mov al, byte [esp + 0x20]
push ebx
mov ecx, edi
mov byte [edi], al
call fcn.1000e790
mov ecx, dword [0x100085e4]
lea edx, [esp + 0x20]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.1000fdc0
add edi, 0x10
dec ebp
mov byte [esp + 0x38], 2
mov dword [esp + 0x14], edi
jne 0x10016dd6
mov eax, dword [esi + 0x30]
add eax, 0x1000
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10016e47
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10016e3e
cmp al, 0xff
je 0x10016e3e
dec al
mov byte [ecx], al
jmp 0x10016e47
push ecx
call fcn.10041d82
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret