joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062cf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10062d1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10062d1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
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 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40457f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437a6f
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4046a2
push ecx
lea ecx, [esi + 0x18]
call fcn.00423d9f
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4046b9
push ecx
lea ecx, [esi + 0x24]
call fcn.00423caf
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4780df
Capabilities:
Encode data using xor

Disassembly:
or byte [ebx - 0x319c7d32], 0xe6
fld xword [ecx + 0x5e]
and byte [ebx - 0x42eb34fe], dh
cmpsd dword [esi], dword es:[edi]
mov bl, 0x20
test eax, 0x45f61aea
sub al, cl
idiv byte [ecx + ebp*2 + 0x74]
xor eax, 0xd88f042b
sbb byte [ebx - 0x349f30ad], 0x89
stc
aaa
fimul dword [eax + 0x59]
jns 0x4780e5
out 0xdb, al
imul ebx, dword [esi + 0x20], 0x14cb02b3
mov ebp, 0xa920b3a7
ljmp 0xc12a
or dword [esi - 0x413ef4e8], 0x3f
test ebx, eax
mov eax, dword [0xecec43cb]
ja 0x47819f
js 0x478165
pop edx
xchg esp, eax
je 0x478198
dec eax
mov ebp, dword [0xbe883148]
push cs
jnp 0x47819f
and dword [esi + 0xfdc4bc3], eax
mov bl, 0xe4
cmp byte [edx], 0x70
jbe 0x478192
jecxz 0x4781a5
push es
cmpsb byte cs:[esi], byte es:[edi]
dec esp
ret 0x9ca3
mov dword [0xa7d3dd57], eax
inc esp
push edx
xchg edi, edi
retf 0xb63f
push esp
lodsd eax, dword [esi]
loopne 0x478197
stosd dword es:[edi], eax
xor eax, dword [eax + ebp*8 - 0x5cda82c5]
push es
test al, ch
cmp edi, dword [ebp + 0x25]
mov dword [0xc32a6406], eax
sub al, bl
jnp 0x4781e3
sub edi, dword [esi + 0x3b]
jle 0x4781e2
retf 0x1183
loope 0x478245
popal
fbstp tbyte [eax + 0x40]
inc esi
mov ecx, 0xaa18d433
and dword [edi - 0x5c9c9cc6], esp
or esp, dword [0x43df4dd2]
push ss
push ds
and dword [ecx], esi
bound edx, qword [edi - 0x5c7e6a44]
pop es
invalid
mov bh, 0x43
cwde
push ss
Function at 0x496c9f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004ca18f
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x496dc2
push ecx
lea ecx, [esi + 0x18]
call fcn.004b64bf
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x496dd9
push ecx
lea ecx, [esi + 0x24]
call fcn.004b63cf
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a53bf
Capabilities:
Encode data using xor

Disassembly:
or eax, 0x243004ee
inc esp
and al, 0x44
xor edi, dword [esi]
jecxz 0x4a53c3
int1
dec edx
pop edx
imul ebp, dword [ebx - 0x5483929b], 0xe01c4509
pop ss
xor ebx, dword [0x3ad7cb22]
ret
Function at 0x4b5ecf
Capabilities:
Encode data using xor

Disassembly:
cmp byte [edi - 0x993dc3c], 0x90
adc edi, dword ss:[esp + esi*2]
adc edi, dword [esp + esi*2]
adc edi, dword [esp + esi*2]
sub dl, byte [edx - 0xa]
jne 0x4b5ee1
lcall 0xfa46, 0x2a73d0d6
in eax, dx
add dword [ebp - 0x703e3076], ebx
mov bl, 0x96
cli
popfd
xchg esp, eax
mov cl, bh
ror dword [edi - 0x6205694d], 0x94
xchg ebp, eax
push edx
mov esi, 0x3081313f
add dword [esi], esp
inc eax
push es
movsb byte es:[edi], byte [esi]
pop ds
sub ebx, dword es:[0x7aeffa57]
lcall 0x1782, 0x1db135c6
mov dh, 0x59
mov eax, dword [0xf65de073]
xor al, 0x99
push 0x5304b426
mov al, 0xd8
push eax
mov bl, 0x36
xchg ecx, eax
arpl sp, bx
inc edi
mov word [ecx + 0x23], fs
mov al, 0xdf
dec ebp
jbe 0x4b5f5b
push es
xchg dword [edx + 0x16f61e44], ebx
push ss
and edi, ebx
ja 0x4b5ec7
mov edx, dword [edx - 0x4b]
bound edx, qword [ebp - 0x389bea2f]
mov al, 0x51
adc eax, 0x51b0c764
jnp 0x4b5f2c
mov edx, esi
push cs
test bh, bh
jb 0x4b5f37
cmp dword [ebp + edi*2 - 0x22], ebx
pop dword [edi - 0x3cd65943]
jb 0x4b5fa2
test dword [edx], ebp
imul edx, dword [esi], 0x45
xchg edx, eax
jne 0x4b5fc3
in eax, 0xb0
jecxz 0x4b5ef7
pop ebp
ret
push edi
push esp
invalid
mov dword [0xb6358737], eax
push ebp
call 0x42397614
outsb dx, byte [esi]
xor al, 5
and al, 0x8e
invalid

Function at 0x4b70bf
Capabilities:
Encode data using xor

Disassembly:
sbb eax, 0x104b9131
das
aas
neg byte [ecx + 0x4d4aa2c0]
aaa
mov dword [0xf2c3e8d0], eax
dec eax
pop ecx
pop es
push esp
xchg esi, eax
inc esi
cli
pop ss
invalid

Function at 0x4fea2f
Capabilities:
Encode data using xor

Disassembly:
jge 0x4fea39
add bh, byte [ebp + 0x79eac574]
popfd
daa
and byte [ecx + 0x1ab26071], 0xab
fdivp st(5)
aad 0xff
dec esi
mul byte [ebx + ebx*8 + 0x14189c21]
movsd dword es:[edi], dword [esi]
add byte [ecx + 0x4da0c166], 0x4f
mov dl, 0x8f
sbb esi, dword [edi + 0x4a]
add byte [edi + ebp*2 + 0x759379f0], ah
xor esp, dword [eax + 0xe]
mov ecx, 0x2754ee39
pushfd
imul edi, ebp, 0x610f6c71
cmc
mov dword [0x784ba06e], eax
adc eax, 0x53f609e3
or edi, esi
invalid

Function at 0x5019bf
Capabilities:
Encode data using xor

Disassembly:
jge fcn.005019bf
sahf
mov ah, 0x86
loopne 0x501997
push ss
cmp byte [ebx], cl
pop eax
inc edi
shl dword [edi - 0x13], 0x72
pop ss
test byte [edi + 0x260a0757], 0x42
pop ds
outsb dx, byte [esi]
lcall 0xc713, 0xbef52e5a
xchg esi, eax
mov dh, 0x85
xchg dword [esi - 0x64469a5f], esi
cmc
mov esi, 0xb696c713
test dword [edi - 0x469a5e4a], eax
wait
pop esi
xor al, 0x59
jb 0x5019a4
arpl word [edi], si
push 0x320f93e9
mov esi, dword [ecx]
pop esi
popal
jle 0x501987
retf
Function at 0x59141f
Capabilities:
Encode data using xor

Disassembly:
rcl dword [edx - 0x6bf4efa0], 0x1b
movsb byte es:[edi], byte [esi]
fdiv qword [ecx - 0x7f6277cc]
iretd
or edx, dword [ebx + ebx + 0x34b1dca4]
mov byte [ebp - 0x18300d80], bl
mov dl, 0xf9
sub byte [ebp + 0x28], ch
xor edx, dword [eax]
jg 0x591421
insd dword es:[edi], dx
sub byte [ebx], dh
adc byte [edi + 0x35], bh
cmp byte [ebx - 0x43], ah
push ebp
push 0xfffffffffffffff0
push esi
bound esi, qword [ebp + 0x23]
mov byte [eax - 0x24b07e3a], 0xb2
or dword [ecx + 0x196d5fec], ebx
pushal
mov word [edi], fs
and dl, byte [ecx]
or al, 0x25
or al, 0x6d
cld
invalid
je 0x5913d2
mov esi, 0x836cf9c8
mov ch, 0xe5
lcall 0x926f, 0x6c749c60
cli
pop edi
xor byte [edx + edx*4], 0xf0
push ebp
cmp dword gs:[0x295d6ce0], ebx
or byte [esi - 0x28], 0x9a
adc byte [ebp - 0x50], bl
in al, dx
outsb dx, byte [esi]
pop esp
jo 0x5913d6
jmp 0x5913e6

Function at 0x6307af
Capabilities:
Encode data using xor

Disassembly:
invalid
dec bx
dec bx
inc ebp
mov eax, dword [0x88176a0c]
push 3
mov byte [edx + 3], ch
jno 0x6307b7
nop
je 0x630778
in eax, 0xd0
push ecx
and al, 0x60
rcl dword [ecx]
ftst
aad 0x40
pop ebx
rcr edi, 0x9f
lahf
in eax, dx
imul eax, dword [ecx], 0x4593e6c
pop ebp
cmp bh, bl
cmpsb byte [esi], byte es:[edi]
lcall 0x2c41, 0x2f541f7c
sbb byte [edi], bh
aaa
sbb edi, dword [esi + ebx*8 - 0x3c49f737]
xlatb
xchg edx, eax
shr byte [ebx + 0x40], 1
dec edi
xor dword [ebx + 0x39], esi
inc esp
mov bl, 0x71
scasb al, byte es:[edi]
jno 0x6307c7
shl ecx, 1
push ds
jecxz 0x6307ae
invalid

Function at 0x64d9ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656388
cmp edx, dword [eax]
je 0x64da0f
add eax, 8
inc ecx
cmp eax, 0x656418
jl 0x64da00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656388]
jne 0x64db3d
mov eax, dword [0xa59ce0]
cmp eax, 1
je 0x64db17
test eax, eax
jne 0x64da40
cmp dword [0x6562b4], 1
je 0x64db17
cmp edx, 0xfc
je 0x64db3d
invalid
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleFileNameA
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e860
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64daba
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e860
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652b14
push edi
call fcn.00650730
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e3d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e3e0
lea eax, [ebp - 0xa0]
push 0x652af4
push eax
call fcn.0064e3e0
push dword [esi + 0x65638c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e3e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.006506a4
add esp, 0x2c
pop edi
jmp 0x64db3d
lea eax, [ebp + 8]
lea esi, [esi + 0x65638c]
push 0
push eax
push dword [esi]
call fcn.0064e860
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 0x401007
Capabilities:
Delete file
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4306f8]
push esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4306fc]
push edi
mov edi, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x34], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x430700]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], eax
mov eax, dword [0x430704]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
jmp 0x40105d
xor ecx, ecx
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, edi
shl eax, 4
cmp dword [0x43f954], 0xc
mov dword [ebp - 4], eax
jne 0x401087
push ecx
lea eax, [ebp - 0x38]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [0x43f954]
cmp eax, 0xfa9
jne 0x4010a3
mov dword [0x43f950], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c8
push str.xuzujamasahigomurefexob
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x43f8a8], 0
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x43f94c], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
cmp dword [0x43f954], 0xb03
jne 0x401147
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
sub edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x40105b
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x407015
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f874]
jne 0x40701f
repz ret
jmp fcn.0040b2ec

Function at 0x40a16d
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.00405608
and dword [ebp - 4], 0
cmp dword [0x434944], 0
mov ebx, eax
jne 0x40a21e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a2cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a2cf
push eax
call fcn.00405596
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434944], eax
call esi
push eax
call fcn.00405596
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434948], eax
call esi
push eax
call fcn.00405596
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43494c], eax
call esi
push eax
call fcn.00405596
pop ecx
mov dword [0x434954], eax
test eax, eax
je 0x40a21e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405596
pop ecx
mov dword [0x434950], eax
mov eax, dword [0x434950]
cmp eax, ebx
je 0x40a276
cmp dword [0x434954], ebx
je 0x40a276
push eax
call fcn.00405611
push dword [0x434954]
mov esi, eax
call fcn.00405611
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a276
test edi, edi
je 0x40a276
call esi
test eax, eax
je 0x40a26d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a26d
test byte [ebp - 0xc], 1
jne 0x40a276
or dword [ebp + 0x10], 0x200000
jmp 0x40a2af
mov eax, dword [0x434948]
cmp eax, ebx
je 0x40a2af
push eax
call fcn.00405611
pop ecx
test eax, eax
je 0x40a2af
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a2af
mov eax, dword [0x43494c]
cmp eax, ebx
je 0x40a2af
push eax
call fcn.00405611
pop ecx
test eax, eax
je 0x40a2af
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434944]
call fcn.00405611
pop ecx
test eax, eax
je 0x40a2cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a2d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10010b27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10010b36
pop dword [ebp - 0x40]
mov eax, 0x7baad7d9
add eax, 0x9456335d
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x39cd8
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x479e
xor esi, esi
add esi, eax
mov edi, 0x525486c2
add edi, 0xbdadcd3e
add edi, dword [ebp - 0x40]
mov edx, 0xc449dccd
sub edx, 0xdac01c66
xor dword [ebp - 0x3c], 0xc9704e58
mov ebx, dword [edi]
add dword [ebp - 0x18], eax
add ebx, edx
sub dword [ebp - 0x18], ebx
mov dword [esi], ebx
xor dword [ebp - 0x38], ecx
add esi, 0xec2f74c
add esi, 0xf13d08b8
add edi, 0xaac32a35
sub edi, 0xaac32a31
loop 0x10010b8c
add eax, 0x1114b
mov ebx, eax
add eax, 5
mov ecx, 0x2dce86d4
sub ecx, 0x1dce86d4
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x416625
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x424128
cmp edx, dword [eax]
je 0x416647
add eax, 8
inc ecx
cmp eax, 0x4241b8
jl 0x416638
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x424128]
jne 0x416775
mov eax, dword [0x42519c]
cmp eax, 1
je 0x41674f
test eax, eax
jne 0x416678
cmp dword [0x423970], 1
je 0x41674f
cmp edx, 0xfc
je 0x416775
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4166af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00414fd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004119b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4166f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004119b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41edac
push edi
call fcn.00417560
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00414fd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00414fe0
lea eax, [ebp - 0xa0]
push 0x41ed8c
push eax
call fcn.00414fe0
push dword [esi + 0x42412c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00414fe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00419c92
add esp, 0x2c
pop edi
jmp 0x416775
lea eax, [ebp + 8]
lea esi, [esi + 0x42412c]
push 0
push eax
push dword [esi]
call fcn.004119b0
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