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

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x10016082
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x10016070
mov byte [esi + 0x1d], 0
pop esi
ret

Function at 0x100160d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x100160f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0x1d
jb 0x100160e0
mov byte [esi + 0x1e], 0
pop esi
ret

Function at 0x10016100
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x10016122
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x10016110
mov byte [esi + 0x10], 0
pop esi
ret

Function at 0x10016280
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x100162a2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x10016290
mov byte [esi + 0x11], 0
pop esi
ret

Function at 0x100162b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x17], 0
je 0x100162d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0x16
jb 0x100162c0
mov byte [esi + 0x17], 0
pop esi
ret

Function at 0x100162e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x10016302
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x100162f0
mov byte [esi + 0xf], 0
pop esi
ret

Function at 0x100163b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x100163d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1c]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x100163c0
mov byte [esi + 0xb], 0
pop esi
ret
Function at 0x10017340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1006d040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [0x100e4a40]
lea eax, [esp + 0x24]
push esi
push edi
push eax
push dword [0x1011a294]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
movd xmm1, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x20]
mov ecx, edi
sub ecx, dword [0x1011a298]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x1011a29c]
call fcn.10055e40
mov edx, dword [0x1011a2a4]
mov ecx, dword [0x1011a2a0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.10055e40
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1011a29c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1011a298], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xf1], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xf2], al
call esi
mov ecx, dword [0x100e4a40]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xf4], 0
mov byte [ebx + 0xf3], al
cmp byte [ecx + 0x36f], 0
lea esi, [ecx + 0xd8]
je 0x1001747a
cvttss2si eax, dword [esi]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [ecx + 0xdc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [0x1011a294]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x1011a294]
jne 0x100174d4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100174d4
lea eax, [esp + 0x18]
push eax
push dword [0x1011a294]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100174d4
movd xmm0, dword [esp + 0x18]
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xf0], 0
je 0x100174e2
or eax, 0xffffffff
jmp 0x100174ed
mov eax, dword [0x100e4a40]
mov eax, dword [eax + 0x1cfc]
cmp dword [0x1006ed58], eax
je 0x100174ff
mov dword [0x1006ed58], eax
call fcn.10017220
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
Function at 0x10019220
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1011a2ec], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x100192da
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 + 0x1011a2e8], eax
inc ebx
cmp ebx, 0x100
jb 0x10019240
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x10019306
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1011a2e8]
sub edi, 1
jne 0x100192e5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10019338
nop dword [eax]
cmp cl, 0x23
jne 0x1001931f
cmp byte [esi], cl
jne 0x1001931f
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 + 0x1011a2e8]
test cl, cl
jne 0x10019310
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10019be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10019bf2
mov dword [edi], 0
mov edx, 0x10067be4
call fcn.10019ab0
mov esi, eax
test esi, esi
jne 0x10019c06
pop edi
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10019ca0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10019ca0
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10019ca0
inc dword [0x1011a2a8]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10019ca0
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x10019c89
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp + 8]
dec dword [0x1011a2a8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10019c98
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1001fb80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1006d040]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], edi
xor ecx, ecx
mov dword [esp + 0x34], 0x7972724d
mov dword [esp + 0x38], 0x1006871
lea eax, [ecx + 0x1a]
xor byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 6
jb 0x1001fbb6
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0x7972724d
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [esp + 0x38], 0x1006871
nop dword [eax]
lea eax, [ecx + 0x1a]
xor byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 6
jb 0x1001fbe0
push 0
xor edx, edx
mov byte [esp + 0x3f], 0
lea ecx, [esp + 0x38]
call fcn.10019220
mov ecx, dword [edi + 0x2ca0]
lea esi, [edi + 0x2c9c]
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x18], 0x1001f650
mov dword [esp + 0x1c], 0x1001f6c0
mov dword [esp + 0x20], 0x1001f850
test eax, eax
jne 0x1001fc7b
cmp eax, ecx
jne 0x1001fc5c
lea edi, [eax + 1]
test ecx, ecx
je 0x1001fc46
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001fc4b
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1003a0d0
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
movups xmm0, xmmword [esp + 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + ecx*8 + 0x10], xmm0
jmp 0x1001fcda
cmp eax, ecx
jne 0x1001fca7
lea edi, [eax + 1]
test ecx, ecx
je 0x1001fc91
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001fc96
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.1003a0d0
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
test eax, eax
jle 0x1001fcc4
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push ecx
lea eax, [ecx + 0x18]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esi + 8]
movups xmm0, xmmword [esp + 0x10]
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x10], xmm0
inc dword [esi]
mov ecx, dword [esp + 0x3c]
mov byte [edi], 1
pop edi
pop esi
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
Function at 0x10020020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x100e4a40]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [esi + 0x2c8c], 0
test eax, eax
je 0x100200dc
push ebx
push edi
push 0
lea ecx, [esi + 0x2c90]
mov dword [esi + 0x2c8c], 0
call fcn.10039c10
lea eax, [ebp - 1]
mov byte [ebp - 1], 0
push eax
lea ecx, [esi + 0x2c90]
call fcn.10039e20
xor ebx, ebx
cmp dword [esi + 0x2c9c], ebx
jle 0x100200a5
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x2ca4]
lea ecx, [esi + 0x2c90]
add eax, edi
push ecx
push eax
push esi
mov eax, dword [eax + 0x10]
call eax
inc ebx
add esp, 0xc
add edi, 0x18
cmp ebx, dword [esi + 0x2c9c]
jl 0x10020080
mov edi, dword [esi + 0x2c90]
mov edx, 0x10067be8
mov ecx, dword [ebp - 8]
dec edi
mov ebx, dword [esi + 0x2c98]
call fcn.10019ab0
mov esi, eax
test esi, esi
je 0x100200da
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003f770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1006d040]
xor eax, esp
mov dword [esp + 0x30], eax
movaps xmm0, xmmword [0x10068aa0]
push ebx
movups xmmword [esp + 8], xmm0
mov ebx, ecx
mov dword [esp + 0x28], 0x272d304d
movaps xmm0, xmmword [0x10068bb0]
xor ecx, ecx
push esi
push edi
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0x34240063
mov dword [esp + 0x38], 0x100482c
nop dword [eax + eax]
mov al, cl
add al, 0x1f
xor byte [esp + ecx + 0x10], al
inc ecx
cmp ecx, 0x2a
jb 0x1003f7c0
xor esi, esi
mov byte [esp + 0x3b], 0
cmp byte [esp + 0x10], 0
lea edx, [esp + 0x10]
je 0x1003f7f6
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003f7e5
sub eax, edi
inc edx
add edx, eax
inc esi
cmp byte [edx], cl
jne 0x1003f7e0
push ecx
push esi
lea eax, [esp + 0x18]
mov edx, 0x1011a6f4
push eax
push ecx
mov ecx, ebx
call fcn.10032ec0
add esp, 0x10
test al, al
je 0x1003f8a5
mov eax, dword [0x1011a6f4]
cmp eax, 4
ja case.default.0x1003f81f
jmp dword [eax*4 + 0x1003f8bc]
xor ecx, ecx
call fcn.10049930
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
call fcn.1004a950
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
call fcn.1004a2a0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
call fcn.1004be70
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
call fcn.1004b7c0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10052006
mov esp, ebp
pop ebp
ret
Function at 0x10042680
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x100426a2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x33
jb 0x10042690
mov byte [esi + 0x34], 0
pop esi
ret

Function at 0x100426b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x100426d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x23
jb 0x100426c0
mov byte [esi + 0x24], 0
pop esi
ret

Function at 0x100426e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x10042707
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x1a4
jb 0x100426f0
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x10042710
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x10042732
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x2b
jb 0x10042720
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x10042740
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x10042762
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x10042750
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x10042770
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x10042792
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x5e
jb 0x10042780
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x100427a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x100427c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x3b
jb 0x100427b0
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x100427d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x100427f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x67
jb 0x100427e0
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x10042800
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x10042822
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x40
jb 0x10042810
mov byte [esi + 0x41], 0
pop esi
ret

Function at 0x10042830
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x10042852
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x10042840
mov byte [esi + 0x13], 0
pop esi
ret
Function at 0x10042860
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x10042887
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x8a
jb 0x10042870
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x10042890
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x100428b2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x100428a0
mov byte [esi + 0x2b], 0
pop esi
ret

Function at 0x100428c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x100428e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1f]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x100428d0
mov byte [esi + 0x15], 0
pop esi
ret
Function at 0x100509f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057656
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1006d040]
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.10050b20
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 0x100530d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10053280
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1005319d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1006d090]
jb 0x1005311a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006d094]
ja 0x1005311a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100530ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10053140
jmp 0x1005319d
cmp dword [ebp - 0x14], 0x10000
jne 0x10053183
cmp dword [ebp - 0x18], 0x10000
jb 0x10053183
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10053176
mov eax, dword [ebp - 8]
jmp 0x1005319f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10053198
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10053280
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100530ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100531b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100532b0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10053275
mov edx, dword [ebp - 4]
cmp edx, dword [0x1006d090]
jb 0x100531f5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006d094]
ja 0x100531f5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100531c5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1005321b
jmp 0x10053275
cmp dword [ebp - 0x14], 0x10000
jne 0x1005325e
cmp dword [ebp - 0x18], 0x10000
jb 0x1005325e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10053251
mov eax, dword [ebp - 8]
jmp 0x10053277
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10053270
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100532b0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100531c5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402be8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403da8
test esi, esi
jne 0x402c1f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00403e98
jmp 0x402c40
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402a84
mov dword [esp], eax
test esi, esi
je 0x402c40
cmp dword [ebx], 0
je 0x402c40
dec esi
jmp 0x402c27
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40d014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403418
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033f8
xor eax, eax
push ebp
push 0x4033f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403434
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40d014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40d014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c24
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40e034], 0
je 0x403c85
cmp word [0x40e208], 0xd7b2
jne 0x403c4d
cmp dword [0x40e210], 0
jbe 0x403c4d
mov eax, 0x40e204
call dword [0x40e220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40d080
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403cac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40d020], 0
jne 0x403ca1
push 0
push 0x40d078
push 0x40d080
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404fa0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405006
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404018
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403274
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404ff0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40500d
lea eax, [ebp - 0x10]
call fcn.00403da8
ret