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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101057bd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10167080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x1021af98]
cmp esi, dword [0x1021af9c]
je 0x1006776b
movq xmm1, qword [str.classname]
mov al, byte [0x101494a8]
lea edi, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 9
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov edx, 0x811c9dc5
movq qword [ebp - 0x28], xmm1
xor ecx, ecx
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 9
jb 0x100675d4
push edx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10037bc0
mov eax, dword [eax + 4]
test eax, eax
je 0x10067602
mov ecx, dword [esi + 4]
jmp 0x10067607
mov eax, dword [esi + 4]
mov ecx, eax
cmp eax, ecx
je 0x1006775c
mov al, byte [0x101494a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm1
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10067d50
push eax
lea ecx, [ebp - 0x40]
call fcn.1000c650
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1006768b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067681
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067786
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
cmp eax, 0xf
cmova edx, ecx
cmp dword [ebp - 0x30], 0xa
jb 0x10067716
push 0xa
push edx
push str.worldspawn
call fcn.100e7840
add esp, 0xc
test eax, eax
jne 0x10067710
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.10067d70
mov ecx, dword [ebp - 0x2c]
mov esi, dword [eax]
cmp ecx, 0xf
jbe 0x100676f4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100676ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067786
push ecx
push edx
call fcn.100d91c2
add esp, 8
movq xmm1, qword [str.classname]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x1006775f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
cmp eax, 0xf
jbe 0x10067742
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10067738
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067786
push edx
push ecx
call fcn.100d91c2
add esp, 8
movq xmm1, qword [str.classname]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
add esi, 0x20
cmp esi, dword [0x1021af9c]
jne 0x100675a4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret
call fcn.100de11f
int3
Function at 0x10068a70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x1c]
push esi
call fcn.100d6c75
add esp, 4
test eax, eax
jne 0x10068b1e
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10068b25
cmp byte [ebx], 0
je 0x10068b0b
cmp byte [ebx + 1], 0
jne 0x10068b0b
mov eax, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx + 1], 1
add ebx, 0x18
push ebx
push 0x40
push 5
push dword [eax + 4]
call edi
mov edx, dword [ebp - 4]
push ebx
mov ecx, dword [edx + 4]
cmp byte [edx + 0x15], 0
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov al, byte [ecx + 4]
mov byte [edx + 0x14], al
setne al
add al, 0xe8
mov byte [ecx], al
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sub eax, 5
mov dword [ecx + 1], eax
push dword [ebx]
mov ebx, edx
push 5
push dword [ebx + 4]
call edi
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.100d6c86
add esp, 4
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 5
call fcn.100d6e1d
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.100d6e1d
int3

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x1c]
push esi
call fcn.100d6c75
add esp, 4
test eax, eax
jne 0x10068bcf
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10068bd6
cmp byte [ebx], 0
je 0x10068bbc
cmp byte [ebx + 1], 0
je 0x10068bbc
mov eax, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx + 1], 0
add ebx, 0x18
push ebx
push 0x40
push 5
push dword [eax + 4]
call edi
mov edx, dword [ebp - 4]
push ebx
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov al, byte [edx + 0x14]
mov byte [ecx + 4], al
push dword [ebx]
mov ebx, edx
push 5
push dword [ebx + 4]
call edi
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.100d6c86
add esp, 4
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.100d6e1d
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.100d6e1d
int3
Function at 0x1006c490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1021e7ec], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1006c54a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x1021e7e8], eax
inc ebx
cmp ebx, 0x100
jb 0x1006c4b0
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1006c576
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021e7e8]
sub edi, 1
jne 0x1006c555
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1006c5a8
nop dword [eax]
cmp cl, 0x23
jne 0x1006c58f
cmp byte [esi], cl
jne 0x1006c58f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1021e7e8]
test cl, cl
jne 0x1006c580
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1006c770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1006c782
mov dword [edi], 0
mov edx, 0x10149be0
call fcn.1006c5b0
mov esi, eax
test esi, esi
jne 0x1006c796
pop edi
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call fcn.100e1169
add esp, 0xc
test eax, eax
jne 0x1006c841
push esi
call fcn.100e8293
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1006c841
push 0
push 0
push esi
call fcn.100e1169
add esp, 0xc
test eax, eax
jne 0x1006c841
mov eax, dword [0x1021abec]
test eax, eax
je 0x1006c7e0
inc dword [eax + 0x394]
push ebx
call fcn.100de29f
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1006c841
push esi
push ebx
push 1
push eax
call fcn.100e136a
add esp, 0x10
push esi
cmp eax, ebx
je 0x1006c82b
call fcn.100e04ce
mov eax, dword [0x1021abec]
add esp, 4
test eax, eax
je 0x1006c819
dec dword [eax + 0x394]
push dword [ebp + 8]
call fcn.100e02aa
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.100e04ce
add esp, 4
test edi, edi
je 0x1006c839
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call fcn.100e04ce
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1007cdf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x1021abec]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [edi + 0x2c2c], 0
test eax, eax
je 0x1007cee1
push esi
lea esi, [edi + 0x2c30]
mov dword [edi + 0x2c2c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1007ce44
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1007f3d0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1007ce59
push 8
mov ecx, esi
call fcn.1007f3d0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [esi]
cmp dword [edi + 0x2c3c], 0
jle 0x1007ce9c
xor ebx, ebx
mov eax, dword [edi + 0x2c44]
add eax, ebx
push esi
push eax
push edi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0x2c3c]
jl 0x1007ce77
cmp dword [esi + 8], 0
je 0x1007cea7
mov esi, dword [esi]
dec esi
jmp 0x1007cea9
xor esi, esi
mov eax, dword [edi + 0x2c38]
mov ebx, 0x1020d464
mov ecx, dword [ebp - 8]
test eax, eax
mov edx, 0x10149be4
cmovne ebx, eax
call fcn.1006c5b0
mov edi, eax
test edi, edi
je 0x1007cedf
push edi
push esi
push 1
push ebx
call fcn.100e0771
push edi
call fcn.100e04ce
add esp, 0x14
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100ab590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105ff6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10167080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.100ab6e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ca150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10167080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov eax, ecx
push edi
xor edx, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov esi, 0x811c9dc5
call fcn.100c96f0
mov ebx, eax
add esp, 4
cmp ebx, edi
jae 0x100ca240
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
add eax, ebx
mov edx, edi
push ecx
sub edx, ebx
mov ecx, eax
call fcn.100c9450
mov edi, eax
add esp, 4
cmp edi, 0x7f
ja 0x100ca1c0
cmp edi, 0x20
je 0x100ca1b9
cmp edi, 9
je 0x100ca1b9
cmp edi, 0xb
je 0x100ca1b9
cmp edi, 0xc
jne 0x100ca1da
mov eax, 1
jmp 0x100ca1d6
push 8
mov edx, 0x1013a298
mov ecx, edi
call fcn.100c92d0
not eax
add esp, 4
shr eax, 0x1f
test eax, eax
jne 0x100ca21c
mov eax, dword [ebp - 0x18]
mov al, byte [eax + ebx]
cmp al, 0xd
je 0x100ca21c
cmp al, 0xa
je 0x100ca21c
lea edx, [ebp - 0x14]
mov ecx, edi
call fcn.100c9350
mov eax, dword [ebp - 8]
lea edx, [eax*4]
xor eax, eax
test edx, edx
je 0x100ca214
movzx ecx, byte [ebp + eax - 0x14]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, edx
jb 0x100ca202
add ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
jmp 0x100ca238
mov edi, dword [ebp - 0x1c]
xor esi, 0x20
mov ecx, dword [ebp - 0x18]
mov edx, ebx
push edi
imul esi, esi, 0x502c3f11
call fcn.100c96f0
add esp, 4
mov ebx, eax
cmp ebx, edi
jb 0x100ca187
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret
Function at 0x100d79c2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100d79e9
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100d79ec
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100d799e
pop esi
leave
ret 8

Function at 0x100f059f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f0415

Function at 0x100fb0e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100fb10d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100fb10d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4174c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.waecTbTU
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x4174e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4174e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4174d8
mov eax, 1
add ebx, ebx
jne 0x4174fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4174f0
jne 0x41750c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4174f0
xor ecx, ecx
sub eax, 3
jb 0x417520
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417592
mov ebp, eax
add ebx, ebx
jne 0x41752b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41755c
inc ecx
add ebx, ebx
jne 0x417548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41753d
jne 0x417559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41753d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41757c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41756d
jmp 0x4174de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41757c
add edi, ecx
jmp 0x4174de
pop esi
mov edi, esi
mov ecx, 0x113
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41759a
cmp byte [edi], 3
jne 0x41759a
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 0x41759f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41760e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b9bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ba28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4175cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ba30]
or eax, eax
je 0x417608
mov dword [ebx], eax
add ebx, 4
jmp 0x4175e9
call dword [esi + 0x1ba2c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41763f
cmp al, 0xef
ja 0x417632
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x417614
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x417621
mov ebp, dword [esi + 0x1ba34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x417673
sub esp, 0xffffff80
jmp 0x403ab8

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 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x403910
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fe], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404670], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404604], eax
mov dword [0x4040f6], eax
mov dword [0x4045f0], 0x30
mov dword [0x4045f4], 2
jmp 0x403955
mov dword [0x4045f8], 0x402f69
mov dword [0x4045fc], 0
mov dword [0x404600], 0
mov dword [0x404618], 0x404564
mov dword [0x404610], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404608], eax
mov dword [0x40461c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40460c], eax
push 0x4045f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040f6]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push str.first
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404668], eax
push 5
push dword [0x404668]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404668]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404620]
jmp 0x403a29
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a1b
mov eax, dword [0x404628]
jmp 0x403a44
call 0x402a90
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Get common file path
Get program files directory

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
xor eax, eax
push ebp
mov ebp, esp
push esi
push ebx
push ecx
lea ebx, [ebp - 0x220]
sub esp, 0x29c
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, 0x26
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
sub esp, 0x14
test eax, eax
js 0x4010eb
cmp word [ebp - 0x220], 0
mov edx, ebx
je 0x401069
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401060
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + str.Windows_NTAccessorieswordpad.exe]
mov word [edx + eax], cx
add eax, 2
test ecx, ecx
jne 0x401070
lea esi, [ebp - 0x264]
mov eax, 0x44
mov dword [esp], esi
mov dword [ebp - 0x264], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea edx, [ebp - 0x274]
xor ecx, ecx
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x20], esi
xor esi, esi
mov dword [esp + 0x1c], edx
xor edx, edx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], esi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x401158
mov dword [esp], 0
mov esi, 0x10
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ecx, 0x65
mov edx, 0x104
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_MessageBoxW]
mov eax, 1
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ebp - 0x274]
mov ebx, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x270]
sub esp, 4
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0x10

Function at 0x401190
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x401250
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x68
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x4012dd
cmp al, 9
je 0x4012d0
cmp al, 0x20
je 0x4012d0
xor edi, edi
xor esi, esi
lea esi, [esi]
lea esi, [esi]
nop
cmp al, 0x5c
je 0x401350
cmp al, 0x22
je 0x401338
xor esi, esi
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x4012dd
cmp al, 9
sete cl
cmp al, 0x20
sete dl
or cl, dl
je 0x401290
test edi, 1
jne 0x401290
lea esi, [esi]
lea esi, [esi]
nop
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x4012d0
cmp al, 0x20
je 0x4012d0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x4012f8
mov word [ebp - 0x2c], 1
mov dword [esp], 0
movzx esi, word [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
xor edx, edx
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
and esi, 1
jne 0x4012a0
xor edi, 1
jmp 0x4012a2
inc esi
jmp 0x4012a2