joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d350
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x22ac
call fcn.00418990
cmp dword [0x8e472c], 0x37
jne 0x41d4e9
push 0
lea eax, [esp + 0x16ac]
push eax
push 0
push 0x4041e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
lea edx, [esp + 0x6ac]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push 0x404220
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
xor eax, eax
push eax
lea edx, [esp + 0xeac]
push edx
push 0x404234
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
mov word [esp + 0x20], cx
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov ecx, dword [esp + 4]
push 0
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push 0
lea edx, [esp + 0x2ac]
push edx
push 0x404250
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x1aac]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x188]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
lea edx, [esp + 0x20]
push edx
push 0
lea eax, [esp + 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0x404264
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0x40429c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0x4042c0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x34], 0
call fcn.0040a970
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push 0x4042d0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov eax, dword [0x8e6e90]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x8e2f24]
mov byte [eax + esi], dl
add esp, 0x22ac
ret
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10091388], 0
je 0x10001539
mov eax, dword [0x10091388]
jmp 0x100016d6
mov dword [0x10091388], 0x10091360
push 0x28
push 0
push 0x10091360
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10091360], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10091364], eax
cmp dword [0x10091364], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x10091364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10091368], eax
push str.SymInitialize
mov ecx, dword [0x10091364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009136c], eax
push str.SymSetOptions
mov edx, dword [0x10091364]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10091370], eax
push str.SymGetOptions
mov eax, dword [0x10091364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10091374], eax
push str.SymLoadModule
mov ecx, dword [0x10091364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10091378], eax
push str.SymGetModuleInfo
mov edx, dword [0x10091364]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009137c], eax
push str.SymGetSymFromName
mov eax, dword [0x10091364]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10091380], eax
push str.BindImage
mov ecx, dword [0x10091364]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10091384], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x10091368], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x10091368]
cmp dword [0x10091368], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x10091364]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10091364], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x1009136c], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x10091360]
push eax
call dword [0x1009136c]
cmp dword [0x10091374], 0
je 0x100016d1
cmp dword [0x10091370], 0
je 0x100016d1
call dword [0x10091374]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10091370]
mov eax, dword [0x10091388]
mov esp, ebp
pop ebp
ret
Function at 0x100071b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100915ac]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
lea ecx, [esp + 0x14]
movss xmm0, dword [esi + 0xe0]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esi + 0xe4]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esi + 0xe8]
movss dword [esp + 0x1c], xmm0
call fcn.10002c80
comiss xmm0, dword [0x10040aac]
jbe 0x100073bb
push 0x56
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x100073bb
cmp byte [0x10fb2625], 0
je 0x100073bb
movss xmm0, dword [esi + 0xe4]
divss xmm0, dword [esi + 0xe0]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm2, dword [esi + 0xe0]
xorps xmm1, xmm1
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x10040a38]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x10040b98]
comiss xmm0, xmm2
movss dword [esp + 0xc], xmm1
jb 0x1000728b
addss xmm1, dword [0x10040b04]
movss dword [esp + 0xc], xmm1
cmp byte [0x11dff54c], 0
je 0x1000729e
movss xmm3, dword [0x10040bb4]
jmp 0x100072a6
movss xmm3, dword [0x100409a4]
movss xmm0, dword [esi + 0xe4]
fld dword [0x10040a7c]
movss xmm4, dword [0x10040aa4]
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm0, xmm2
call fcn.10002c70
movss dword [esp + 0x10], xmm0
xorps xmm1, xmm1
fld dword [esp + 0x10]
fpatan
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x10040ab4]
comiss xmm0, xmm1
jb 0x100072f8
comiss xmm4, xmm0
jae 0x10007307
comiss xmm1, xmm0
ja 0x10007303
movss xmm0, xmm4
jmp 0x10007307
movss xmm0, xmm1
mov eax, dword [0x1009159c]
mulss xmm0, dword [eax + 0x1c]
mulss xmm0, xmm3
call fcn.10006550
comiss xmm0, dword [0x100408a8]
mov dword [edi + 0x18], 0
movss dword [esp + 0x10], xmm0
jbe 0x1000733a
movss xmm1, dword [0x10040be0]
jmp 0x10007342
movss xmm1, dword [0x10040b40]
mov ecx, dword [0x10091590]
lea edx, [esp + 0x14]
movss dword [edi + 0x1c], xmm1
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x18]
subss xmm1, xmm0
mulss xmm1, dword [0x100408d4]
movaps xmm0, xmm1
call fcn.10036d30
movss xmm3, dword [edi + 0x18]
movaps xmm4, xmm0
movss xmm2, dword [edi + 0x1c]
movaps xmm5, xmm4
movaps xmm1, xmm3
shufps xmm5, xmm4, 1
movaps xmm0, xmm2
mulss xmm1, xmm5
mulss xmm0, xmm4
mulss xmm3, xmm4
mulss xmm2, xmm5
subss xmm1, xmm0
addss xmm3, xmm2
movss dword [edi + 0x18], xmm1
movss dword [edi + 0x1c], xmm3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100077d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x10045008]
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.10007680
cmp dword [eax + 0x14], 0x10
jb 0x100077fd
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, 0x10
jb 0x10007846
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000783c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000783c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10035d86
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.10035a5e
add esp, 0x44
ret

Function at 0x10007900
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x10045008]
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.1000ff70
cmp dword [esp + 0x28], 0x10
lea ecx, [esp + 0x2c]
push esi
push 0x20
push ecx
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x1000797d
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007973
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10007973
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10035d86
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.10035a5e
add esp, 0x48
ret
Function at 0x10013ba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x10045008]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [0x100913ac], 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.10002a10
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x10013c04
test eax, 0x68000
jne 0x10013c04
mov eax, dword [esp + 0x22]
test eax, eax
je 0x10013c90
cmp eax, 5
je 0x10013c54
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.10002a10
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x10013c38
test eax, 0x68000
jne 0x10013c38
mov ecx, dword [esp + 0x22]
jmp 0x10013c3b
or ecx, 0xffffffff
mov eax, dword [0x100913ac]
add eax, ecx
add esi, eax
mov dword [0x100913ac], eax
cmp eax, 5
jl 0x10013bc5
jmp 0x10013c61
mov eax, dword [0x100913ac]
add eax, 4
mov dword [0x100913ac], eax
push eax
call fcn.10035ff0
add esp, 4
mov dword [0x100913b4], eax
mov dword [0x100913b0], edi
push 0x40
push 0x3000
push dword [0x100913ac]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10013ca5
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10035a5e
mov esp, ebp
pop ebp
ret 8
push dword [0x100913ac]
push edi
push dword [0x100913b4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [0x100913ac]
push dword [0x100913b4]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x100913ac]
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 [0x100913ac]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x100913ac], 5
mov cl, 5
jle 0x10013d31
mov eax, 5
nop dword [eax + eax]
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, dword [0x100913ac]
jl 0x10013d20
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 [0x100913ac]
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.10035a5e
mov esp, ebp
pop ebp
ret 8
Function at 0x10021d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.10021a70
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10021d56
cmp byte [0x10fb2588], 0
je 0x10021d56
push dword [0x10fb21e4]
push dword [0x10fb21e0]
push dword [0x10fb21dc]
push dword [0x10fb21d8]
call fcn.10021410
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x10021d75
cmp byte [0x1009156d], 0
sete al
mov byte [0x1009156d], al
jmp 0x10021d7a
mov al, byte [0x1009156d]
test al, al
je 0x10021ef1
push 1
call esi
test al, 1
je 0x10021d93
mov byte [0x100923ad], 1
jmp 0x10021da3
push 1
call esi
and al, 1
neg al
sbb al, al
and byte [0x100923ad], al
push 2
call esi
test al, 1
je 0x10021db4
mov byte [0x1009156f], 1
jmp 0x10021dc4
push 2
call esi
and al, 1
neg al
sbb al, al
and byte [0x1009156f], al
push 1
call esi
test ax, ax
je 0x10021dd6
mov byte [0x100923af], 1
jmp 0x10021de5
push 1
call esi
neg ax
sbb al, al
and byte [0x100923af], al
push 2
call esi
test ax, ax
je 0x10021df7
mov byte [0x100923ac], 1
jmp 0x10021e06
push 2
call esi
neg ax
sbb al, al
and byte [0x100923ac], al
cmp byte [0x10fb2636], 0
je 0x10021e20
mov ecx, 0x100913a4
call fcn.10008310
mov byte [0x10fb2636], 0
cmp byte [0x10fb2635], 0
je 0x10021e3a
mov ecx, 0x100913a4
call fcn.1000c010
mov byte [0x10fb2635], 0
push dword [0x10fb21d4]
mov ecx, 0x100914c0
push dword [0x10fb21d0]
push dword [0x10fb21cc]
push dword [0x10fb21c8]
call fcn.1001d0d0
push dword [0x10fb2cb8]
push dword [0x10fb2cb0]
call fcn.10030fa0
mov esi, dword [0x10fb21d8]
xor eax, eax
mov edx, dword [0x10fb21dc]
test esi, esi
mov edi, dword [0x10091570]
mov ebx, dword [0x10091568]
cmovs esi, eax
test edx, edx
mov ecx, ebx
cmovs edx, eax
sub ecx, dword [0x10fb21e0]
mov eax, edi
sub eax, dword [0x10fb21e4]
cmp esi, eax
cmovg esi, eax
cmp edx, ecx
mov dword [0x10fb21d8], esi
cmovg edx, ecx
mov ecx, dword [0x10fb21c8]
xor eax, eax
mov dword [0x10fb21dc], edx
test ecx, ecx
cmovs ecx, eax
mov eax, dword [0x10fb21cc]
xor edx, edx
test eax, eax
cmovs eax, edx
sub edi, dword [0x10fb21d0]
sub ebx, dword [0x10fb21d4]
cmp ecx, edi
cmovg ecx, edi
cmp eax, ebx
mov dword [0x10fb21c8], ecx
cmovg eax, ebx
mov dword [0x10fb21cc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100249b0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x20
mov eax, dword [0x10045008]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0x8003
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024a10
push 0
sub ecx, edx
push ecx
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x20]
push eax
push 2
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x21
call fcn.10035ff0
mov ebx, eax
add esp, 4
xor esi, esi
mov edi, ebx
nop dword [eax]
movzx ecx, byte [esp + esi + 0x18]
push ecx
push str._02x
push edi
call fcn.10024730
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x10024a70
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10035a5e
add esp, 0x20
ret

Function at 0x10024ab0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x400
mov esi, ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x10], 0x3369952f
mov edi, eax
xor dword [esp + 0x10], 0xded1160f
mov ebp, dword [esp + 0x10]
xor ebx, ebx
nop
mov ecx, ebx
shr ecx, 1
mov eax, ecx
xor eax, ebp
test bl, 1
cmovne ecx, eax
mov edx, ecx
shr edx, 1
mov eax, edx
xor eax, ebp
test cl, 1
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, ebp
test dl, 1
cmovne ecx, eax
mov edx, ecx
shr edx, 1
mov eax, edx
xor eax, ebp
test cl, 1
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, ebp
test dl, 1
cmovne ecx, eax
mov edx, ecx
shr edx, 1
mov eax, edx
xor eax, ebp
test cl, 1
cmovne edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, ebp
test dl, 1
cmovne ecx, eax
mov dword [esp + 0x14], ecx
shr ecx, 1
mov eax, ecx
xor eax, ebp
test byte [esp + 0x14], 1
cmovne ecx, eax
mov dword [edi + ebx*4], ecx
inc ebx
cmp ebx, 0x100
jl 0x10024ae0
mov al, byte [esi]
mov ebx, 0xffffffff
test al, al
je 0x10024b87
nop dword [eax + eax]
movzx ecx, bl
lea esi, [esi + 1]
movsx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [esi]
xor ebx, dword [edi + ecx*4]
test al, al
jne 0x10024b70
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
not ebx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100253a0
Capabilities:
Contain obfuscated stackstrings
Create thread
Set console window title

Disassembly:
sub esp, 0x24
mov eax, dword [0x10045008]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], 1
push ebx
mov ebx, dword [esp + 0x2c]
jne 0x1002557e
call fcn.10024ba0
xor ecx, ecx
nop word [eax + eax]
cmp eax, dword [ecx + 0x100450d8]
je 0x1002557e
add ecx, 4
cmp ecx, 8
jb 0x100253d0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x1002544c
push 1
mov word [esp + 0xc], 0x7477
mov byte [esp + 0xe], 0
mov dword [esp + 0x10], 0x4f4e4f43
mov dword [esp + 0x14], 0x245455
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0x10
push 0x1003ce7f
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
mov al, byte [edx + 0x1003fd78]
xor al, cl
inc ecx
mov byte [esp + edx + 0x18], al
and ecx, 0x800000ff
jns 0x10025470
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10025453
push 0x10024840
lea eax, [esp + 0x1c]
mov byte [esp + 0x28], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x72657375
push eax
mov dword [esp + 0x1c], 0x642e3233
mov word [esp + 0x20], 0x6c6c
mov byte [esp + 0x22], 0
call fcn.10001750
push eax
call fcn.100010f0
mov dword [0x10092290], eax
mov ecx, 0x10
xor edx, edx
nop dword [eax]
mov al, byte [edx + str.WtfPagexjIuh]
xor al, cl
inc ecx
mov byte [esp + edx + 0x18], al
and ecx, 0x800000ff
jns 0x100254dd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100254c0
push 0x10024890
lea eax, [esp + 0x1c]
mov byte [esp + 0x28], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x72657375
push eax
mov dword [esp + 0x1c], 0x642e3233
mov word [esp + 0x20], 0x6c6c
mov byte [esp + 0x22], 0
call fcn.10001750
push eax
call fcn.100010f0
push 0x104
push 0x10092298
push ebx
mov dword [0x10092288], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
call esi
push 0
push 0
push 0
push 0x10024970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
push 0
push ebx
push 0x100224b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100913a4], ebx
pop esi
mov ecx, dword [esp + 0x24]
mov eax, 1
pop ebx
xor ecx, esp
call fcn.10035a5e
add esp, 0x24
ret 0xc
Function at 0x1002e5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
mov dword [edi + 0xd60], 0
mov dword [0x2438ff74], 0xffffffff
mov dword [0x243b2ef8], 0
cmp byte [0x10fb2629], 0
je 0x1002e5ea
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1002e5ea
cmp byte [0x10fb2629], 0
jne 0x1002e6fb
mov ecx, dword [esi + 0x3578]
cmp ecx, dword [esi + 0x3570]
jne 0x1002e60f
mov eax, dword [esi + 0x3574]
inc eax
mov dword [esi + 0x3574], eax
add eax, ecx
mov dword [esi + 0x3578], eax
jmp 0x1002e619
mov dword [esi + 0x3574], 0
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [0x10091590]
fstp dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [0x1009159c]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 8]
mov edx, dword [esi + 0x3578]
divss xmm0, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
inc eax
addss xmm0, dword [0x10040970]
cvttss2si ecx, xmm0
add eax, ecx
cmp edx, eax
jle 0x1002e6f5
mov ecx, dword [0x10091590]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [0x10091590]
fstp dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [0x1009159c]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 8]
mov edx, dword [eax + 0x18]
inc edx
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x10040970]
cvttss2si ecx, xmm0
add edx, ecx
mov dword [esi + 0x3578], edx
mov dword [edi + 0xe08], edx
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x35a0], eax
pop esi
pop ecx
ret 8
Function at 0x302d5b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x302d5c7
push 0x57
call sym.dbghelp.dll_SymGetLineFromNameW64
jmp 0x302d624
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x302d5ea
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 8], eax
jae 0x302d622
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xc]
jb 0x302d617
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 0x10], ecx
jae 0x302d617
mov eax, dword [ebp - 4]
jmp 0x302d624
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x302d5e1
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc