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

Disassembly:
sub esp, 0x2c
mov edx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
push edi
lea eax, [ebx + 0x3c]
mov dword [esp + 0x1c], 0xc840
mov dword [esp + 0x20], 0xd951
lea ecx, [edx + 0x3c]
mov dword [esp + 0x24], 0xea62
mov dword [esp + 0x28], 0xfb73
mov dword [esp + 0x2c], 0xfa50
mov dword [esp + 0x30], 0xcb61
mov dword [esp + 0x34], 0xd872
mov dword [esp + 0x38], 0xe943
cmp edx, eax
ja 0x407c4f
cmp ecx, ebx
jb 0x407c4f
push 0x10
pop ebp
mov esi, ebx
mov dword [esp + 0x14], ebp
mov ecx, edx
sub esi, edx
mov edi, ebp
mov eax, dword [esi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edi, 1
jne 0x407c40
jmp 0x407c5e
push 0x10
pop ebp
mov ecx, ebp
mov dword [esp + 0x14], ebp
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [esp + 0x10], esi
and esi, 7
mov ecx, 0x19181410
mov dword [esp + 0x44], ecx
mov edi, dword [esp + esi*4 + 0x1c]
mov eax, edi
mov ebx, edi
shr eax, 8
mov esi, edi
shr ebx, 4
and eax, 0xf
and esi, 0xf
and ebx, 0xf
mov dword [esp + 0x18], eax
shr edi, 0xc
mov ebp, eax
mov eax, dword [edx + ebx*4]
add dword [edx + esi*4], eax
mov eax, dword [edx + edi*4]
xor eax, dword [edx + esi*4]
ror eax, cl
mov ecx, dword [esp + 0x44]
mov dword [edx + edi*4], eax
mov eax, esi
mov esi, ebp
shr ecx, 8
mov dword [esp + 0x44], ecx
mov ebp, eax
mov eax, ebx
mov ebx, edi
mov edi, eax
test ecx, ecx
jne 0x407c92
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x50
jb 0x407c64
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x14]
sub ebx, edx
mov eax, dword [edx + ebx]
add dword [edx], eax
lea edx, [edx + 4]
sub ebp, 1
jne 0x407cd6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x407ceb
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x50]
test esi, esi
je 0x407d49
push ebx
mov ebx, dword [esp + 0x50]
push ebp
push 0x40
pop ebp
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00407bd4
add dword [ebx + 0x30], 1
pop ecx
adc dword [ebx + 0x34], 0
cmp esi, ebp
pop ecx
mov ecx, esi
cmova ecx, ebp
test ecx, ecx
je 0x407d41
lea ebp, [esp + 0x10]
mov edx, edi
sub ebp, edi
mov ebx, ecx
mov al, byte [edx + ebp]
xor byte [edx], al
inc edx
sub ebx, 1
jne 0x407d2f
mov ebx, dword [esp + 0x54]
push 0x40
pop ebp
add edi, ecx
sub esi, ecx
jne 0x407d05
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x40
ret

Function at 0x407d4f
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov dword [edx], 0x61707865
lea edi, [edx + 0x10]
mov dword [edx + 4], 0x3320646e
mov esi, ecx
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov eax, dword [ebp + esi*4]
inc esi
mov dword [edi], eax
lea edi, [edi + 4]
cmp esi, 8
jl 0x407d81
mov dword [edx + 0x30], ecx
mov dword [edx + 0x34], ecx
add edx, 0x38
mov eax, dword [ebx + ecx*4]
inc ecx
mov dword [edx], eax
lea edx, [edx + 4]
cmp ecx, 2
jl 0x407d99
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x408495
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x120
push ebx
push ebp
push esi
xor ebp, ebp
add edx, 2
push edi
mov esi, ebp
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
lea edx, [edx + 4]
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov dword [esp + esi*4 + 0x30], ecx
inc esi
cmp esi, 0x10
jb 0x4084aa
push 0x30
lea edi, [esp + 0x6c]
pop ebx
mov ecx, dword [edi]
mov esi, ecx
mov edx, dword [edi - 0x34]
lea edi, [edi + 4]
mov eax, ecx
ror esi, 0x13
ror eax, 0x11
xor esi, eax
shr ecx, 0xa
xor esi, ecx
mov eax, edx
mov ecx, edx
ror eax, 7
ror ecx, 0x12
xor ecx, eax
shr edx, 3
xor ecx, edx
add esi, ecx
add esi, dword [edi - 0x3c]
add esi, dword [edi - 0x18]
mov dword [edi + 4], esi
sub ebx, 1
jne 0x4084dc
mov edi, dword [esp + 0x134]
mov eax, dword [edi + 0x50]
mov ebx, eax
mov edx, dword [edi + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x6c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
jmp 0x408561
mov edx, dword [esp + 0x14]
mov esi, edi
mov eax, edi
ror eax, 0xb
and edx, edi
ror esi, 0x19
mov ecx, edi
xor esi, eax
not ecx
and ecx, dword [esp + 0x18]
mov eax, edi
ror eax, 6
xor ecx, edx
xor esi, eax
mov edx, ebx
ror edx, 0x16
mov eax, ebx
ror eax, 0xd
add esi, ecx
add esi, dword [ebp + 0x41ab00]
xor edx, eax
add esi, dword [esp + ebp + 0x30]
mov eax, ebx
add esi, dword [esp + 0x28]
add ebp, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, ebx
xor ecx, ebx
and ecx, dword [esp + 0x10]
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
add edi, esi
mov dword [esp + 0x20], eax
mov ecx, ebx
mov eax, dword [esp + 0x1c]
lea ebx, [edx + esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
cmp ebp, 0x100
jb 0x40855d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
add eax, ebx
mov edi, dword [esp + 0x134]
add dword [edi + 0x54], ecx
mov ecx, dword [esp + 0x10]
add dword [edi + 0x58], ecx
mov ecx, dword [esp + 0x20]
add dword [edi + 0x5c], ecx
mov ecx, dword [esp + 0x14]
add dword [edi + 0x64], ecx
mov ecx, dword [esp + 0x18]
add dword [edi + 0x68], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0x24]
add dword [edi + 0x60], eax
add dword [edi + 0x6c], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x40868b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7bf45c], 0
push esi
jne 0x4086c5
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x40869c
mov dword [ecx*4 + 0x7bf458], edx
inc ecx
cmp ecx, 0x100
jl 0x408697
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x4086ef
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x7bf458]
inc esi
sub edx, 1
jne 0x4086d7
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x40e28d
Capabilities:
Parse pe header

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

Function at 0x40ec73
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bebc
push 0x41beb4
push str.FlsGetValue
push 0x21
call fcn.0040ebae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ecaa
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a388]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40ecb2
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41bec4
push 0x41bebc
push str.FlsSetValue
push 0x22
call fcn.0040ebae
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ecec
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41a388]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x417440
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x417720
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x423100]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
push 0x4206dc
push 1
push 0
push 0x4206ec
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4177c1
push esi
push edi
push 0x41fcc0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [ebp - 8]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [edx]
push 0
push 0
push 0
push 0
push 0
push edi
push edx
call dword [ecx + 0xc]
mov esi, eax
not esi
push edi
shr esi, 0x1f
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
pop edi
cmp esi, 1
pop esi
jne 0x4177c1
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4177ae
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004094be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004094be
mov esp, ebp
pop ebp
ret

Function at 0x417900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41792d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41792d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100124a0
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
push esp
pop ecx
div byte [ebp - 0x3c]
xor eax, 0x41f4dd00
lahf
test dword [ebp - 0x7a634e92], eax
sbb ch, byte [ecx + ecx*8 - 0x5e67417b]
mov ebx, 0xef5f33ef
out dx, eax
pop ss
xchg byte [esi - 0x6c], dh
sub dword [ecx], ebp
or eax, 0xee5aa823
jb 0x1001248f
sub al, 0x1c
pop esp
stc
arpl word [edi], sp
push ds
stosd dword es:[edi], eax
ljmp 0xa98c
std
dec esp
sbb eax, 0xbcec3b92
sub al, 0xd7
in eax, dx
out dx, al
mov esp, 0xeeedd72c
push esp
jecxz 0x100123fa
test al, 0xa3
inc byte [esi]
stosb byte es:[edi], al
popfd
and byte [esi + 0x29], cl
jmp 0xa9060394
xor edi, dword [ebp - 0x7e725c4d]
push ss
push eax
or byte [edx + 0xb], ch
mov ah, 0x10
add dword [edi], 6
push es
push edx
test dl, ch
cdq
jg 0x10012453
dec esi
movsd dword es:[edi], dword [esi]
les eax, [0xe4d2972d]
sub dword [ebp - 0x4aeb8c1a], esp
cli
jl 0x10012437
iretd
mov esi, 0xa47078c8
enter 0x7078, 0xffffffffffffffa4
sub eax, 0xe89cf04c
cdq
cdq
dec esp
mov dh, 0x9c
lcall 0xcbe2, 0xb6312d10
sub eax, 0xcbe2b631
push eax
stosb byte es:[edi], al
jle 0x10012462
mov word [edi], gs
invalid
invalid
invalid
invalid

Function at 0x10012ea0
Capabilities:
Encode data using xor

Disassembly:
clc
imul edi, dword [ecx - 0x11], 0x47
inc edi
fdivr st(3), st(0)
stosd dword es:[edi], eax
xor eax, 0xa3d9cd64
jle 0x10012ea3
out 0x1f, eax
xchg ebx, eax
jbe 0x10012e62
adc eax, 0x3de84cfe
int1
mov edi, 0xf4e3996f

Function at 0x10014570
Capabilities:
Packed with generic packer

Disassembly:
pop edx
pop ebp
jge 0x100145bf
xor dh, bl
pop edx
pop esp
in al, dx
sar dword [esi], 0x62
jne 0x100145af
push edi
invalid

Function at 0x10014580
Capabilities:
Packed with generic packer

Disassembly:
inc eax
invalid
imul esi, dword [ecx + 0x244057fa], 0x974fe89a
adc dword [esi], esp
idiv dword es:[esi - 0x16]
mov eax, 0xa61939f7
xchg byte [ebp - 0x2c41cce3], cl
pushal
jg 0x10014582
dec edi
jl 0x10014545
aad 0xb1
ror byte ds:[edi], 0xff
jne 0x1001452a
invalid

Function at 0x100145a0
Capabilities:
Packed with generic packer

Disassembly:
call 0xf9a228f1
push ss
lcall 0x66af, 0xdf7403bf
and esi, edx

Function at 0x100145c0
Capabilities:
Packed with generic packer

Disassembly:
sub esi, dword [bx + di + 0x79ae]
dec ebp
stc
and eax, 0xa59581fc
fldlg2
add eax, 0x35ea246b
invalid
invalid
invalid
invalid

Function at 0x100145e0
Capabilities:
Packed with generic packer

Disassembly:
cmp dh, byte [esp + esi*2 - 0x65]
mov edi, 0x2fc036b
fsub st(4), st(0)
dec ebp
test eax, esp
or al, 0x9e

Function at 0x10014770
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0xfb
push esi
salc
pop ss
fsub qword [eax + 0x11]
jnp 0x10014754
xchg ebp, ebx
mov cs, word [ebx]
pop esp
invalid
Function at 0x13fdf974
Capabilities:
Encode data using xor

Disassembly:
jmp 0x13fdf97e
pushal
call 0x13fdf984
pop ebp
sub ebp, 0x10
sub ebp, 0x3fdf974
mov al, byte [esp + 0x28]
cmp al, 1
je 0x13fdf9a8
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x13fdf9b1
mov eax, 0x3fdf974
add eax, ebp
add eax, 0x63
mov ecx, 0x5c0
mov edx, 0x5d322751
xor byte [eax], dl
inc eax
dec ecx
jne 0x13fdf9c8
jmp 0x13fdf9db
ficomp dword [edx + ebx*8 + 0x51516dd8]
push ecx
rcl byte [eax + 0x515151a9]
push edx
pushfd
jmp 0x654f4b49

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000157d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push esi
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x100015be
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x100015c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10002119
mov esi, eax
test esi, esi
je 0x100015e5
mov ecx, esi
call fcn.10002229
cmp eax, 1
mov edi, 0x20119
je 0x100015ea
mov edi, 0x20019
test esi, esi
je 0x100015f6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
lea eax, [ebp - 4]
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1000162f
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x10002194
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push str.Kernel32.DLL
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call edi
push str.User32.DLL
mov dword [esi + 0x1c], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x10002213
push str.GetNativeSystemInfo
push eax
call edi
push str.IsWow64Process
mov dword [esi + 4], eax
push dword [esi + 0x1c]
call edi
push str.IsWow64Process2
mov dword [esi + 8], eax
push dword [esi + 0x1c]
call edi
push str.Wow64EnableWow64FsRedirection
mov dword [esi + 0xc], eax
push dword [esi + 0x1c]
call edi
push str.GetSystemWow64DirectoryA
mov dword [esi + 0x10], eax
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x10002225
push str.IsWow64Message
push eax
call edi
mov dword [esi + 0x18], eax
pop edi
pop esi
pop ebx
ret
Function at 0x10002476
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x104], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
and byte [ebp - 0x208], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
pop edi
jne 0x100024c7
leave
ret
lea eax, [ebp - 0x104]
push str.Version.dll
push eax
lea eax, [ebp - 0x208]
push str._s_s
push eax
call fcn.10005dc4
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret
Function at 0x1000468d
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov word [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x80000002
call fcn.1000484a
add esp, 8
test eax, eax
jne 0x100046b6
jmp 0x10004844
mov word [ebp - 4], 0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000483e
push str.GetUserDefaultUILanguage
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100046f8
call dword [ebp - 0xc]
mov word [ebp - 4], ax
jmp 0x10004834
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 4], ax
mov dword [ebp - 0xa0], 0x94
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10004834
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0xa4], 0x200
mov dword [ebp - 0x2ac], 1
cmp dword [ebp - 0x90], 2
jne 0x100047b7
lea eax, [ebp - 0x2a8]
push eax
push str..DEFAULTControl_PanelInternational
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100047a8
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x2ac]
push eax
push 0
push str.Locale
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100047a8
lea edx, [ebp - 4]
push edx
push 0x1001aff8
lea eax, [ebp - 0x2a4]
push eax
call fcn.100060c4
add esp, 0xc
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10004834
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0
je 0x10004834
lea edx, [ebp - 0x2a8]
push edx
push str.Control_PanelDesktopResourceLocale
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10004827
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x2ac]
push edx
push 0
push 0
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004827
lea ecx, [ebp - 4]
push ecx
push 0x1001b040
lea edx, [ebp - 0x2a4]
push edx
call fcn.100060c4
add esp, 0xc
mov eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ax, word [ebp - 4]
jmp 0x10004846
jmp 0x1000483e
mov esp, ebp
pop ebp
ret

Function at 0x10005e16
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10005e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1000a594
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x10005e59
test byte [esp + 8], 2
je 0x10005e59
call fcn.1000a607
mov dword [eax], 0xd
call fcn.1000a610
mov dword [eax], 5
jmp 0x10005e32
xor eax, eax
ret
Function at 0x1000feb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.1000fa69
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
pop ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440004]
jne 0x401010
repz ret
jmp fcn.0040160c

Function at 0x4076e5
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.00404bff
and dword [ebp - 4], 0
cmp dword [0x442c9c], 0
mov ebx, eax
jne 0x407796
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407847
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407847
push eax
call fcn.00404b8d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x442c9c], eax
call esi
push eax
call fcn.00404b8d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x442ca0], eax
call esi
push eax
call fcn.00404b8d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x442ca4], eax
call esi
push eax
call fcn.00404b8d
pop ecx
mov dword [0x442cac], eax
test eax, eax
je 0x407796
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b8d
pop ecx
mov dword [0x442ca8], eax
mov eax, dword [0x442ca8]
cmp eax, ebx
je 0x4077ee
cmp dword [0x442cac], ebx
je 0x4077ee
push eax
call fcn.00404c08
push dword [0x442cac]
mov esi, eax
call fcn.00404c08
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4077ee
test edi, edi
je 0x4077ee
call esi
test eax, eax
je 0x4077e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4077e5
test byte [ebp - 0xc], 1
jne 0x4077ee
or dword [ebp + 0x10], 0x200000
jmp 0x407827
mov eax, dword [0x442ca0]
cmp eax, ebx
je 0x407827
push eax
call fcn.00404c08
pop ecx
test eax, eax
je 0x407827
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407827
mov eax, dword [0x442ca4]
cmp eax, ebx
je 0x407827
push eax
call fcn.00404c08
pop ecx
test eax, eax
je 0x407827
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442c9c]
call fcn.00404c08
pop ecx
test eax, eax
je 0x407847
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407849
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409ba0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x440004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x235a3b4], 0x930
jne 0x409bca
push str.Gahaw_tugez_kirapiface_fuya
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x235a3b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x235a1f8], eax
jne 0x409bfd
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret