joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ba305
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x100db25c
call fcn.100cbbde
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x100ba32a
xor eax, eax
jmp 0x100ba4b1
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x100ba356
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x100ba356
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x100ba4b1
cmp dword [esi + 0x4c], 0
je 0x100ba4ae
mov ecx, esi
call fcn.100b9f76
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x100ba38a
push dword [esi + 0x4c]
push edi
call fcn.100a6d11
pop ecx
pop ecx
cmp ax, bx
je 0x100ba4ae
movzx ebx, di
jmp 0x100ba4ae
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.10019bb0
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
cmp ecx, 0x10
jb 0x100ba3c4
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x100ba3ce
mov edx, eax
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov esi, dword [edi]
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
call dword [0x100df59c]
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x100ba4a6
cmp eax, 1
jg 0x100ba480
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x100ba419
mov edx, eax
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x100ba448
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x100ba42a
mov edx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push edx
call fcn.100a04c8
add esp, 0x10
cmp edi, eax
jne 0x100ba47b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x100ba44b
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x40], edx
jne 0x100ba475
test edi, edi
jne 0x100ba3b6
cmp dword [ebp - 0x18], 0x20
jae 0x100ba4a0
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.10019ce0
jmp 0x100ba3b0
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x100ba4a0
cmp eax, 3
jne 0x100ba4a6
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.100a6d11
pop ecx
pop ecx
cmp ax, bx
je 0x100ba4a0
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
lea ecx, [ebp - 0x28]
call sym.XNewLookSch.dll_public:_void___thiscall_LFileEncry::destructor_void_
mov ax, bx
call fcn.100cbb88
ret 4
Function at 0x100bdbb8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, edx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edx
sbb esi, esi
not esi
and esi, eax
je 0x100bdbe7
movzx eax, byte [edx]
xor eax, dword [ecx]
imul eax, eax, 0x1000193
inc edx
inc edi
mov dword [ecx], eax
cmp edi, esi
jne 0x100bdbd2
jmp 0x100bdbe9
mov eax, dword [ecx]
pop edi
pop esi
pop ebp
ret 8
Function at 0x4ce777
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e0a17
call fcn.004ab088
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004c83f0
mov eax, dword [0x51be70]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x4eaea4
mov ecx, 0x523390
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004ce5fb
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004c2997
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00482456
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004c2947
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004c280e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4ce783
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e0a17
call fcn.004ab088
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004c83f0
mov eax, dword [0x51be70]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x4eaea4
mov ecx, 0x523390
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004ce5fb
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004c2997
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00482456
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004c2947
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004c280e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x5322e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xc3000]
push edi
jmp 0x5322fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x532301
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5322f0
mov eax, 1
add ebx, ebx
jne 0x532313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x532324
jne 0x532343
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532343
dec eax
add ebx, ebx
jne 0x532330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x532308
add ebx, ebx
jne 0x53233f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x532395
xor ecx, ecx
sub eax, 3
jb 0x53235b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5323ca
sar eax, 1
mov ebp, eax
jmp 0x532366
add ebx, ebx
jne 0x532366
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532334
inc ecx
add ebx, ebx
jne 0x532374
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532334
add ebx, ebx
jne 0x532381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x532376
jne 0x532392
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x532376
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5323b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5323a6
jmp 0x5322f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5323b4
add edi, ecx
jmp 0x5322f6
pop esi
mov edi, esi
mov ecx, 0x9739
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5323d2
cmp byte [edi], 0x2a
jne 0x5323d2
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 0x5323d7
lea edi, [esi + 0x12f000]
mov eax, dword [edi]
or eax, eax
je 0x53244f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1395ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x139740]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x532404
mov ecx, edi
jns 0x532433
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x139744]
or eax, eax
je 0x532449
mov dword [ebx], eax
add ebx, 4
jmp 0x532421
call dword [esi + 0x139754]
mov ebp, dword [esi + 0x139748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x532483
sub esp, 0xffffff80
jmp 0x4ae8b5
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10083ca8], 0
je 0x10001539
mov eax, dword [0x10083ca8]
jmp 0x100016d6
mov dword [0x10083ca8], 0x10083c80
push 0x28
push 0
push 0x10083c80
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10083c80], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10083c84], eax
cmp dword [0x10083c84], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x10083c84]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083c88], eax
push str.SymInitialize
mov ecx, dword [0x10083c84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083c8c], eax
push str.SymSetOptions
mov edx, dword [0x10083c84]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083c90], eax
push str.SymGetOptions
mov eax, dword [0x10083c84]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083c94], eax
push str.SymLoadModule
mov ecx, dword [0x10083c84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083c98], eax
push str.SymGetModuleInfo
mov edx, dword [0x10083c84]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083c9c], eax
push str.SymGetSymFromName
mov eax, dword [0x10083c84]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083ca0], eax
push str.BindImage
mov ecx, dword [0x10083c84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10083ca4], 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 [0x10083c88], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x10083c88]
cmp dword [0x10083c88], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x10083c84]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10083c84], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x10083c8c], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x10083c80]
push eax
call dword [0x10083c8c]
cmp dword [0x10083c94], 0
je 0x100016d1
cmp dword [0x10083c90], 0
je 0x100016d1
call dword [0x10083c94]
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 [0x10083c90]
mov eax, dword [0x10083ca8]
mov esp, ebp
pop ebp
ret
Function at 0x10006740
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x44
mov eax, dword [0x1005c040]
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.100065e0
cmp dword [eax + 0x14], 0xf
jbe 0x1000676d
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 0x100067b6
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100067ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100067ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10031eb6
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.10031b5e
add esp, 0x44
ret

Function at 0x10006870
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x1005c040]
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.1000e9e0
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 0x100068ed
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100068e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100068e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10031eb6
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.10031b5e
add esp, 0x48
ret
Function at 0x10011930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x1005c040]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [0x10083cd8], 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.10002a00
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x10011994
test eax, 0x68000
jne 0x10011994
mov eax, dword [esp + 0x22]
test eax, eax
je 0x10011a20
cmp eax, 5
je 0x100119e4
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.10002a00
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x100119c8
test eax, 0x68000
jne 0x100119c8
mov ecx, dword [esp + 0x22]
jmp 0x100119cb
or ecx, 0xffffffff
mov eax, dword [0x10083cd8]
add eax, ecx
add esi, eax
mov dword [0x10083cd8], eax
cmp eax, 5
jl 0x10011955
jmp 0x100119f1
mov eax, dword [0x10083cd8]
add eax, 4
mov dword [0x10083cd8], eax
push eax
call fcn.10031fcc
add esp, 4
mov dword [0x10083ce0], eax
mov dword [0x10083cdc], edi
push 0x40
push 0x3000
push dword [0x10083cd8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10011a35
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10031b5e
mov esp, ebp
pop ebp
ret 8
push dword [0x10083cd8]
push edi
push dword [0x10083ce0]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [0x10083cd8]
push dword [0x10083ce0]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x10083cd8]
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 [0x10083cd8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x10083cd8], 5
mov cl, 5
jle 0x10011ac1
mov eax, 5
nop dword [eax + eax]
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, dword [0x10083cd8]
jl 0x10011ab0
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 [0x10083cd8]
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.10031b5e
mov esp, ebp
pop ebp
ret 8
Function at 0x1001e540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call fcn.1001e2b0
mov ecx, dword [0x10084074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1001e586
cmp byte [0x100830a0], 0
je 0x1001e586
push dword [0x10082d24]
push dword [0x10082d20]
push dword [0x10082d1c]
push dword [0x10082d18]
call fcn.1001dc40
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x2d
call esi
test al, 1
je 0x1001e5a5
cmp byte [0x10083ce5], 0
sete al
mov byte [0x10083ce5], al
jmp 0x1001e5aa
mov al, byte [0x10083ce5]
test al, al
je 0x1001e72d
push 1
call esi
test al, 1
je 0x1001e5c3
mov byte [0x10083dfd], 1
jmp 0x1001e5d2
push 1
call esi
test al, 1
jne 0x1001e5d2
mov byte [0x10083dfd], 0
push 2
call esi
test al, 1
je 0x1001e5e3
mov byte [0x10083ce7], 1
jmp 0x1001e5f2
push 2
call esi
test al, 1
jne 0x1001e5f2
mov byte [0x10083ce7], 0
push 1
call esi
test ax, ax
je 0x1001e604
mov byte [0x10083dff], 1
jmp 0x1001e612
push 1
call esi
test ax, ax
jne 0x1001e612
mov byte [0x10083dff], al
push 2
call esi
test ax, ax
je 0x1001e624
mov byte [0x10083dfc], 1
jmp 0x1001e632
push 2
call esi
test ax, ax
jne 0x1001e632
mov byte [0x10083dfc], al
cmp byte [0x1008311e], 0
je 0x1001e64c
mov ecx, 0x10083cd4
call fcn.10007160
mov byte [0x1008311e], 0
cmp byte [0x1008311d], 0
je 0x1001e666
mov ecx, 0x10083cd4
call fcn.1000ac20
mov byte [0x1008311d], 0
push dword [0x10082d14]
mov ecx, 0x100a76b8
push dword [0x10082d10]
push dword [0x10082d0c]
push dword [0x10082d08]
call fcn.10019fd0
push dword [0x10083780]
push dword [0x10083778]
call fcn.1002c470
mov ecx, dword [0x10082d18]
test ecx, ecx
jns 0x1001e6ab
xor ecx, ecx
mov dword [0x10082d18], ecx
mov eax, dword [0x10082d1c]
test eax, eax
jns 0x1001e6bb
xor eax, eax
mov dword [0x10082d1c], eax
mov edi, dword [0x1008401c]
mov ebx, edi
mov edx, dword [0x10084018]
mov esi, edx
sub ebx, dword [0x10082d24]
sub esi, dword [0x10082d20]
cmp ecx, ebx
jle 0x1001e6e1
mov dword [0x10082d18], ebx
cmp eax, esi
jle 0x1001e6eb
mov dword [0x10082d1c], esi
mov ecx, dword [0x10082d08]
test ecx, ecx
jns 0x1001e6fd
xor ecx, ecx
mov dword [0x10082d08], ecx
mov eax, dword [0x10082d0c]
test eax, eax
jns 0x1001e70d
xor eax, eax
mov dword [0x10082d0c], eax
sub edi, dword [0x10082d10]
sub edx, dword [0x10082d14]
cmp ecx, edi
jle 0x1001e723
mov dword [0x10082d08], edi
cmp eax, edx
jle 0x1001e72d
mov dword [0x10082d0c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100219e0
Capabilities:
Contain obfuscated stackstrings
Create thread
Set console window title

Disassembly:
sub esp, 0x24
mov eax, dword [0x1005c040]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], 1
push edi
mov edi, dword [esp + 0x2c]
jne 0x10021b82
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x10021a63
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
lea eax, [esp + 0xc]
mov word [esp + 0xc], 0x7477
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x12], 0
push eax
mov dword [esp + 0x18], 0x4f4e4f43
mov dword [esp + 0x1c], 0x245455
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0x10
push 0x100384a2
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 + 0x100573b0]
xor al, cl
inc ecx
mov byte [esp + edx + 0x14], al
and ecx, 0x800000ff
jns 0x10021a8d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10021a70
push 0x10021720
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 [0x100840f4], 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 0x10021afd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10021ae0
push 0x10021900
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 0x100840f8
push edi
mov dword [0x100840f0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push edi
push 0x1001f030
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x10021770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10083cd4], edi
mov ecx, dword [esp + 0x24]
mov eax, 1
pop edi
xor ecx, esp
call fcn.10031b5e
add esp, 0x24
ret 0xc
Function at 0x100297a0
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 [0x10083111], 0
je 0x100297ea
push 0x45
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100297ea
cmp byte [0x10083111], 0
jne 0x10029913
mov ecx, dword [esi + 0x3578]
cmp ecx, dword [esi + 0x3570]
jne 0x1002980f
mov eax, dword [esi + 0x3574]
inc eax
mov dword [esi + 0x3574], eax
add eax, ecx
mov dword [esi + 0x3578], eax
jmp 0x10029819
mov dword [esi + 0x3574], 0
mov ecx, dword [0x10084074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
push 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
mov ecx, dword [0x10084074]
fstp dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
push 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
mov eax, dword [0x1008407c]
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 [0x100581b8]
cvttss2si ecx, xmm0
add eax, ecx
cmp edx, eax
jle 0x1002990d
mov ecx, dword [0x10084074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
push 1
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
mov ecx, dword [0x10084074]
fstp dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
push 0
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
movss xmm0, dword [esp + 8]
mov eax, dword [0x1008407c]
fstp dword [esp + 0x14]
addss xmm0, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
inc edx
divss xmm0, dword [eax + 0x1c]
addss xmm0, dword [0x100581b8]
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