joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005f10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x10039040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
xorps xmm1, xmm1
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
push edi
mov edi, edx
call fcn.10005db0
cmp dword [eax + 0x14], 0xf
jbe 0x10005f3d
mov eax, dword [eax]
push ebx
push 0x20
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jbe 0x10005f86
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005f7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005f7c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002bd66
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
mov ecx, dword [esp + 0x50]
add esp, 4
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002ba3e
add esp, 0x44
ret

Function at 0x10006040
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x10039040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [esp + 0x58]
mov ebx, edx
mov edx, dword [esp + 0x54]
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.1000b540
cmp dword [esp + 0x28], 0xf
lea ecx, [esp + 0x2c]
push esi
push 0x20
push ecx
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jbe 0x100060bd
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100060b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100060b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1002bd66
add esp, 8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esp + 0x50]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002ba3e
add esp, 0x48
ret
Function at 0x1000d740
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10039040]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [0x10039704], 0
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.100026e0
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1000d7a4
test eax, 0x68000
jne 0x1000d7a4
mov eax, dword [esp + 0x22]
test eax, eax
je 0x1000d830
cmp eax, 5
je 0x1000d7f4
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.100026e0
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1000d7d8
test eax, 0x68000
jne 0x1000d7d8
mov ecx, dword [esp + 0x22]
jmp 0x1000d7db
or ecx, 0xffffffff
mov eax, dword [0x10039704]
add eax, ecx
add esi, eax
mov dword [0x10039704], eax
cmp eax, 5
jl 0x1000d765
jmp 0x1000d801
mov eax, dword [0x10039704]
add eax, 4
mov dword [0x10039704], eax
push eax
call fcn.1002bea7
add esp, 4
mov dword [0x1003970c], eax
mov dword [0x10039708], edi
push 0x40
push 0x3000
push dword [0x10039704]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000d845
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1002ba3e
mov esp, ebp
pop ebp
ret 8
push dword [0x10039704]
push edi
push dword [0x1003970c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [0x10039704]
push dword [0x1003970c]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x10039704]
mov eax, edi
sub eax, esi
mov byte [esp + 0x20], 0xe9
sub eax, 5
add esp, 0xc
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + esi], eax
mov al, byte [esp + 0x18]
mov byte [ecx + esi + 4], al
lea eax, [esp + 0x1c]
push eax
push 0x40
push dword [0x10039704]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x10039704], 5
mov cl, 5
jle 0x1000d8d1
mov eax, 5
nop dword [eax + eax]
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, dword [0x10039704]
jl 0x1000d8c0
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [esp + 0x15], eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov al, byte [esp + 0x18]
mov byte [edi + 4], al
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push dword [0x10039704]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1002ba3e
mov esp, ebp
pop ebp
ret 8
Function at 0x10019980
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10019720
mov ecx, dword [0x10039be8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100199c6
cmp byte [0x1004a444], 0
je 0x100199c6
push dword [0x1004a0f4]
push dword [0x1004a0f0]
push dword [0x1004a0ec]
push dword [0x1004a0e8]
call fcn.100190b0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x100199e5
cmp byte [0x10039712], 0
sete al
mov byte [0x10039712], al
jmp 0x100199ea
mov al, byte [0x10039712]
test al, al
je 0x10019b6d
push 1
call esi
test al, 1
je 0x10019a03
mov byte [0x1003971e], 1
jmp 0x10019a12
push 1
call esi
test al, 1
jne 0x10019a12
mov byte [0x1003971e], 0
push 2
call esi
test al, 1
je 0x10019a23
mov byte [0x1003971c], 1
jmp 0x10019a32
push 2
call esi
test al, 1
jne 0x10019a32
mov byte [0x1003971c], 0
push 1
call esi
test ax, ax
je 0x10019a44
mov byte [0x10039a74], 1
jmp 0x10019a52
push 1
call esi
test ax, ax
jne 0x10019a52
mov byte [0x10039a74], al
push 2
call esi
test ax, ax
je 0x10019a64
mov byte [0x1003971d], 1
jmp 0x10019a72
push 2
call esi
test ax, ax
jne 0x10019a72
mov byte [0x1003971d], al
cmp byte [0x1004a471], 0
je 0x10019a8c
mov ecx, 0x10039700
call fcn.10006860
mov byte [0x1004a471], 0
cmp byte [0x1004a470], 0
je 0x10019aa6
mov ecx, 0x10039700
call fcn.10008cf0
mov byte [0x1004a470], 0
push dword [0x1004a0e4]
mov ecx, 0x10039720
push dword [0x1004a0e0]
push dword [0x1004a0dc]
push dword [0x1004a0d8]
call fcn.100137a0
push dword [0x1004aa80]
push dword [0x1004aa78]
call fcn.10027190
mov ecx, dword [0x1004a0e8]
test ecx, ecx
jns 0x10019aeb
xor ecx, ecx
mov dword [0x1004a0e8], ecx
mov eax, dword [0x1004a0ec]
test eax, eax
jns 0x10019afb
xor eax, eax
mov dword [0x1004a0ec], eax
mov edi, dword [0x10039d4c]
mov ebx, edi
mov edx, dword [0x10039d48]
mov esi, edx
sub ebx, dword [0x1004a0f4]
sub esi, dword [0x1004a0f0]
cmp ecx, ebx
jle 0x10019b21
mov dword [0x1004a0e8], ebx
cmp eax, esi
jle 0x10019b2b
mov dword [0x1004a0ec], esi
mov ecx, dword [0x1004a0d8]
test ecx, ecx
jns 0x10019b3d
xor ecx, ecx
mov dword [0x1004a0d8], ecx
mov eax, dword [0x1004a0dc]
test eax, eax
jns 0x10019b4d
xor eax, eax
mov dword [0x1004a0dc], eax
sub edi, dword [0x1004a0e0]
sub edx, dword [0x1004a0e4]
cmp ecx, edi
jle 0x10019b63
mov dword [0x1004a0d8], edi
cmp eax, edx
jle 0x10019b6d
mov dword [0x1004a0dc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10019f10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x1c
xor eax, eax
nop
mov cl, byte [eax + edi + 0x6346f401]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x10019f3d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xe
jl 0x10019f20
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret 4
Function at 0x1001a0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x15
xor eax, eax
nop
mov cl, byte [eax + edi - 0xff1925]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001a0ed
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x11
jl 0x1001a0d0
pop edi
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x8c
xor eax, eax
nop
mov cl, byte [eax + edi - 0x2c90a980]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001a1ad
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xd
jl 0x1001a190
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xe
xor eax, eax
nop
mov cl, byte [eax + edi - 0xaeef186]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001a5dd
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xe
jl 0x1001a5c0
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a5f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x35
xor eax, eax
nop
mov cl, byte [eax + edi - 0x6282fd3f]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001a61d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x12
jl 0x1001a600
pop edi
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001a8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x2b
xor eax, eax
nop
mov cl, byte [eax + edi - 0x7125becb]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001a8ed
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1001a8d0
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001abc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xe5
xor eax, eax
nop
mov cl, byte [eax + edi + 0x6acb51ce]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001abed
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xe
jl 0x1001abd0
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x67
xor eax, eax
nop
mov cl, byte [eax + edi + 0x6b32a658]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b09d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xf
jl 0x1001b080
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret 4
Function at 0x1001b180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xd2
xor eax, eax
nop
mov cl, byte [eax + edi - 0x57d4a2c6]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b1ad
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1001b190
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 1
xor eax, eax
nop
mov cl, byte [eax + edi - 0x239182a4]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b1ed
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1001b1d0
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xc6
xor eax, eax
nop
mov cl, byte [eax + edi + 0x6575ec95]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b3ad
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xd
jl 0x1001b390
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x68
xor eax, eax
nop
mov cl, byte [eax + edi - 0x7632c59d]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b4fd
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xe
jl 0x1001b4e0
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 7
xor eax, eax
nop
mov cl, byte [eax + edi - 0x631a8993]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b53d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xe
jl 0x1001b520
pop edi
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b6c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x1b
xor eax, eax
nop
mov cl, byte [eax + edi - 0x22048303]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b6ed
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xd
jl 0x1001b6d0
pop edi
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001b790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xaa
xor eax, eax
nop
mov cl, byte [eax + edi - 0x5cb0fbbd]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b7bd
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1001b7a0
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4
Function at 0x1001b7d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xd
xor eax, eax
nop
mov cl, byte [eax + edi + 0x758d2da1]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001b7fd
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1001b7e0
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001bcf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x96
xor eax, eax
nop
mov cl, byte [eax + edi - 0x6a30ca19]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001bd1d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xf
jl 0x1001bd00
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001be60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x42
xor eax, eax
nop
mov cl, byte [eax + edi + 0x3ec9ae8c]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001be8d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1001be70
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001bea0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x52
xor eax, eax
nop
mov cl, byte [eax + edi - 0x5b1bf00c]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001becd
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x16
jl 0x1001beb0
pop edi
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001bee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x3d
xor eax, eax
nop
mov cl, byte [eax + edi - 0x760f49be]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001bf0d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x13
jl 0x1001bef0
pop edi
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001c030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0xb2
xor eax, eax
nop
mov cl, byte [eax + edi - 0x6a3aa13e]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001c05d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x10
jl 0x1001c040
pop edi
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret 4

Function at 0x1001c070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov edx, 0x81
xor eax, eax
nop
mov cl, byte [eax + edi + 0x2f1421fd]
xor cl, dl
inc edx
mov byte [esi + eax], cl
and edx, 0x800000ff
jns 0x1001c09d
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0x18
jl 0x1001c080
pop edi
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret 4
Function at 0x1001da70
Capabilities:
Contain obfuscated stackstrings
Create thread
Set console window title

Disassembly:
sub esp, 0x24
mov eax, dword [0x10039040]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], 1
push esi
mov esi, dword [esp + 0x2c]
jne 0x1001dbfe
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x1001daf3
push 1
mov word [esp + 8], 0x7477
mov byte [esp + 0xa], 0
mov dword [esp + 0xc], 0x4f4e4f43
mov dword [esp + 0x10], 0x245455
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0x10
push 0x10032c66
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 7
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 0xa4
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x10034b08]
xor al, cl
inc ecx
mov byte [esp + edx + 0x14], al
and ecx, 0x800000ff
jns 0x1001db1d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x1001db00
push 0x1001d940
lea eax, [esp + 0x18]
mov byte [esp + 0x24], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x72657375
push eax
mov dword [esp + 0x18], 0x642e3233
mov word [esp + 0x1c], 0x6c6c
mov byte [esp + 0x1e], 0
call fcn.10001750
push eax
call fcn.100010f0
mov dword [0x10039d64], eax
mov ecx, 0x10
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + str.WtfPagexjIuh]
xor al, cl
inc ecx
mov byte [esp + edx + 0x14], al
and ecx, 0x800000ff
jns 0x1001db8d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x1001db70
push 0x1001d990
lea eax, [esp + 0x18]
mov byte [esp + 0x24], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x72657375
push eax
mov dword [esp + 0x18], 0x642e3233
mov word [esp + 0x1c], 0x6c6c
mov byte [esp + 0x1e], 0
call fcn.10001750
push eax
call fcn.100010f0
push 0x104
push 0x10039d68
push esi
mov dword [0x10039d60], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push esi
push 0x1001ca50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10039700], esi
mov ecx, dword [esp + 0x24]
mov eax, 1
pop esi
xor ecx, esp
call fcn.1002ba3e
add esp, 0x24
ret 0xc
Function at 0x100245a0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
mov dword [edi + 0xd60], 0
mov dword [0x2438ff74], 0xffffffff
mov dword [0x243b2ef8], 0
cmp byte [0x1004a468], 0
je 0x100245e5
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100245e5
cmp byte [0x1004a468], 0
jne 0x10024615
mov ecx, dword [esi + 8]
cmp ecx, dword [esi]
jne 0x10024608
mov eax, dword [esi + 4]
inc eax
add ecx, eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [edi + 0xe08], ecx
mov eax, dword [esi + 8]
pop edi
mov dword [esi], eax
pop esi
ret 8
mov dword [esi + 4], 0
mov dword [edi + 0xe08], ecx
mov eax, dword [esi + 8]
pop edi
mov dword [esi], eax
pop esi
ret 8
Function at 0x10026d70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x10039040]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x10026e12
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.100266d0
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x10026e21
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.100266d0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0xe]
pop esi
xor ecx, esp
call fcn.1002ba3e
mov esp, ebp
pop ebp
ret
Function at 0x40e8ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
lea esi, [ebp + 0xc]
mov ebx, dword [sym.imp.msvcrt.dll__iob]
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 8], esi
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x40e8f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, eax
mov esi, edx
test ecx, ecx
jne 0x40e914
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp + 8], 0x1c
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x3c], ecx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
mov ecx, dword [ebp - 0x3c]
je 0x40e9c4
mov eax, dword [ebp - 0x24]
cmp eax, 0x40
je 0x40e9b8
cmp eax, 4
je 0x40e9b8
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
cmp eax, 0x40
mov edx, dword [ebp - 0x40]
je 0x40e909
cmp eax, 4
je 0x40e909
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
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.0040e8ac