joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446158
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446190]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446171
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446180
or bl, 4
test esi, 0x20000000
je 0x44618b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c838
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44c84a
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418fd4
mov eax, dword [0x454ef4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cbdc
mov eax, dword [0x454f00]
mov dword [eax + 4], ebx
mov dword [eax], 0x44cbe8
mov eax, ebx
call fcn.0044cbf4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x449010
push eax
push 0
push 0
mov eax, dword [0x455044]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aa08]
call fcn.0041be4c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aa08]
call fcn.0041be4c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aa08]
call fcn.0041be4c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d014
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cef0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cef0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44cef0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c987
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ccd4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ce7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ce60
mov dl, 1
mov eax, dword [0x4116e8]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44ce4f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043ace0
test al, al
je 0x44ce42
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44ce90
lea eax, [ebp - 0x254]
call fcn.00408808
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44ce42
xor eax, eax
push ebp
push 0x44ce3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44cec8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ce24
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44ce24
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ce42
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44cd45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004151c4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ce86
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

Function at 0x44d7b4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x456bb0]
cmp byte [eax + 0xa5], 0
jne 0x44d825
cmp dword [0x456bc8], 0
jne 0x44d7e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44d770
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x456bc8], eax
cmp dword [0x456bc4], 0
jne 0x44d801
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x456bc4], eax
cmp dword [0x456bcc], 0
jne 0x44d825
push esp
push 0
push 0
push 0x44d714
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x456bcc], eax
pop edx
ret
Function at 0x44d91c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d933
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418fd4
mov eax, dword [0x455030]
cmp word [eax + 2], 0
jne 0x44d95b
mov eax, dword [0x455030]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044eff4
mov eax, dword [0x4550dc]
cmp word [eax + 2], 0
jne 0x44d975
mov eax, dword [0x4550dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f1ec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4112cc]
call fcn.004030a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b1b8]
call fcn.004211e8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44dafc
mov eax, dword [0x454f54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004215b8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f78c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x454f54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bebc
test eax, eax
je 0x44da6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bee4
test eax, eax
je 0x44da7e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov eax, dword [0x454e58]
cmp byte [eax], 0
jne 0x44dab2
mov eax, ebx
call fcn.0044dc24
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f968
mov eax, ebx
call fcn.0045032c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44daf2
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44dea4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x456bb0]
cmp dword [eax + 0x30], 0
je 0x44df4e
cmp dword [ebx + 0x94], 0
jne 0x44df48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44de34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44df48
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44df0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44df48
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413634
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44df1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44eab0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44eae5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f00
jmp 0x44eaf2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fb44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44fb85
mov eax, esi
call fcn.00436454
test al, al
je 0x44fb85
mov eax, dword [ebx + 0x84]
call fcn.00436150
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fb85
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436150
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x6e287322
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6ec94014]
mov dword [ebp - 0xc], eax
jmp 0x6e2873f8
jmp 0x6e2874c0
jmp 0x6e287588
jmp 0x6e287650
jmp 0x6e287718
jmp 0x6e2877e0
jmp 0x6e2878a8
jmp 0x6e287970
jmp 0x6e287a38
jmp 0x6e287b00
jmp 0x6e287bc8
jmp 0x6e287c90
jmp 0x6e287d58
jmp 0x6e287e20
jmp 0x6e287ee8
cmp dword [ebp - 0xc], 0
je 0x6e28ae24
mov eax, dword [0x6ec94014]
mov dword [0x6ec9400c], eax
jmp 0x6e287fc4
jmp 0x6e28808c
jmp 0x6e288154
jmp 0x6e28821c
jmp 0x6e2882e4
jmp 0x6e2883ac
jmp 0x6e288474
jmp 0x6e28853c
jmp 0x6e288604
jmp 0x6e2886cc
jmp 0x6e288794
jmp 0x6e28885c
jmp 0x6e288924
jmp 0x6e2889ec
jmp 0x6e288ab4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [0x6ec94008], eax
jmp 0x6e288b8c
jmp 0x6e288c54
jmp 0x6e288d1c
jmp 0x6e288de4
jmp 0x6e288eac
jmp 0x6e288f74
jmp 0x6e28903c
jmp 0x6e289104
jmp 0x6e2891cc
jmp 0x6e289294
jmp 0x6e28935c
jmp 0x6e289424
jmp 0x6e2894ec
jmp 0x6e2895b4
jmp 0x6e28967c
mov eax, dword [0x6ec94008]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
jmp 0x6e28974f
jmp 0x6e289817
jmp 0x6e2898df
jmp 0x6e2899a7
jmp 0x6e289a6f
jmp 0x6e289b37
jmp 0x6e289bff
jmp 0x6e289cc7
jmp 0x6e289d8f
jmp 0x6e289e57
jmp 0x6e289f1f
jmp 0x6e289fe7
jmp 0x6e28a0af
jmp 0x6e28a177
jmp 0x6e28a23f
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [0x6ec94004], eax
jmp 0x6e28a334
jmp 0x6e28a3fc
jmp 0x6e28a4c4
jmp 0x6e28a58c
jmp 0x6e28a654
jmp 0x6e28a71c
jmp 0x6e28a7e4
jmp 0x6e28a8ac
jmp 0x6e28a974
jmp 0x6e28aa3c
jmp 0x6e28ab04
jmp 0x6e28abcc
jmp 0x6e28ac94
jmp 0x6e28ad5c
jmp 0x6e28ae24
nop
leave
ret

Function at 0x6e2b4640
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], 0x6ec93040
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.6e2b46a0
Function at 0x6e2b46a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x6ec94378]
test esi, esi
jle 0x6e2b478d
mov edi, dword [0x6ec9437c]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x6e2b46d4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x6e2b4786
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x6e2b46c0
mov dword [esp], eax
mov esi, eax
call fcn.6e2b4e40
test eax, eax
mov edi, eax
je 0x6e2b47ca
mov esi, dword [0x6ec9437c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.6e2b4f50
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x6ec9437c]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6e2b47aa
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x6e2b477f
sub eax, 0x40
and eax, 0xffffffbf
je 0x6e2b477f
mov eax, dword [esp + 0x20]
add ebx, dword [0x6ec9437c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x6e2b4794
add dword [0x6ec94378], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x6e2b46de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6e2b4640
mov eax, dword [0x6ec9437c]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6e2b4640
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6e2b4640
lea esi, [esi]

Function at 0x6e2b4ab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6ec94388
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6ec94380]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x6e2b4b05
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6e2b4afe
test esi, esi
je 0x6e2b4afe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6e2b4ae0
mov dword [esp], 0x6ec94388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4039dc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [0x412dfc]
push edi
cmp ecx, ebx
je 0x403a08
mov ecx, dword [ecx]
lea eax, [esi + 0x214]
mov dword [eax], ecx
add dword [0x412e00], 4
cmp dword [eax], ebx
jmp 0x403a34
push dword [esi + 0x20c]
lea edi, [esi + 0x214]
push 1
push 4
push edi
call sub.MSVCRT.dll_fread
add esp, 0x10
cmp eax, 1
jae 0x403a32
push str.Read_Error
mov ecx, esi
call fcn.004034e3
cmp dword [edi], ebx
je 0x403bac
mov ecx, esi
call fcn.00403747
mov ecx, esi
call fcn.0040356e
lea edi, [esi + 0x220]
mov ecx, 0x3f1
mov eax, 0x20202020
mov dword [ebp - 4], 0xfc4
rep stosd dword es:[edi], eax
cmp dword [esi + 0x214], ebx
mov dword [ebp - 8], ebx
jbe 0x403bac
mov edi, 0xfff
mov ecx, esi
call fcn.0040376d
mov ebx, eax
cmp bx, 0x100
jge 0x403af2
mov eax, dword [0x412e0c]
test eax, eax
je 0x403aaa
mov ecx, dword [0x412e10]
lea edx, [ecx + 1]
cmp edx, dword [0x412e08]
jge 0x403ad7
mov byte [ecx + eax], bl
inc dword [0x412e10]
jmp 0x403ad7
mov ecx, dword [esi + 0x210]
lea eax, [esi + 0x210]
dec dword [ecx + 4]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
jl 0x403acb
mov ecx, dword [ecx]
mov byte [ecx], bl
mov eax, dword [eax]
inc dword [eax]
jmp 0x403ad7
movsx eax, bx
push ecx
push eax
call sub.MSVCRT.dll__flsbuf
pop ecx
pop ecx
mov eax, dword [ebp - 4]
movsx ecx, ax
inc eax
and eax, edi
inc dword [ebp - 8]
mov byte [ecx + esi + 0x220], bl
mov dword [ebp - 4], eax
jmp 0x403b9d
mov ecx, esi
call fcn.004038ad
mov cx, ax
mov eax, dword [ebp - 4]
sub eax, ecx
lea ecx, [ebx - 0xfd]
dec eax
and eax, edi
test cx, cx
jle 0x403b9d
movsx eax, ax
mov dword [ebp - 0xc], eax
movsx eax, cx
add dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
and eax, edi
movzx bx, byte [eax + esi + 0x220]
mov eax, dword [0x412e0c]
test eax, eax
je 0x403b55
mov ecx, dword [0x412e10]
lea edx, [ecx + 1]
cmp edx, dword [0x412e08]
jge 0x403b82
mov byte [ecx + eax], bl
inc dword [0x412e10]
jmp 0x403b82
mov ecx, dword [esi + 0x210]
lea eax, [esi + 0x210]
dec dword [ecx + 4]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
jl 0x403b76
mov ecx, dword [ecx]
mov byte [ecx], bl
mov eax, dword [eax]
inc dword [eax]
jmp 0x403b82
movsx eax, bx
push ecx
push eax
call sub.MSVCRT.dll__flsbuf
pop ecx
pop ecx
mov eax, dword [ebp - 4]
movsx ecx, ax
inc eax
and eax, edi
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
mov byte [ecx + esi + 0x220], bl
mov dword [ebp - 4], eax
jne 0x403b22
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x214]
jb 0x403a75
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4041d2
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x409cfb
call fcn.00409900
sub esp, 0xc
and dword [ebp - 0x18], 0
push ebx
push esi
lea ecx, [ebp - 0x14]
push dword [ebp + 0x14]
call fcn.004010d5
push 1
lea ecx, [ebp - 0x10]
pop ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
call fcn.004010d5
push dword [0x412e24]
mov esi, 0x400
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
push esi
push esi
call fcn.0040190a
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040190a
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040197b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00401096
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004019d7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004019d7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x404467
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x409dcb
call fcn.00409900
sub esp, 0xd0
and dword [ebp - 0x30], 0
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040108a
and byte [ebp - 0x16], 0
push 1
pop ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x3a
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x77
mov byte [ebp - 0x24], 0x77
mov byte [ebp - 0x23], 0x77
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x66
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x77
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6b
mov byte [ebp - 0x17], 0x2e
call fcn.0040124a
cmp dword [0x41f1f4], 0
jne 0x404523
push 0x4125b8
lea ecx, [ebp - 0x10]
call fcn.0040112d
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0040128e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x4045b9
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x404596
cmp dword [ebp - 0xdc], 0xffffff10
jl 0x404571
cmp dword [ebp - 0xdc], 0xf0
jg 0x404571
push 0x4125b4
lea ecx, [ebp - 0x10]
call fcn.0040112d
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0040128e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x4045b9
push 0x4125b0
lea ecx, [ebp - 0x10]
call fcn.0040112d
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.0040128e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x4045b9
push 0x4125b0
lea ecx, [ebp - 0x10]
call fcn.0040112d
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.0040128e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.004019d7
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00401096
mov dword [ebp - 0x30], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004019d7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406121
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x40616e
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40616e
push ebx
push 0x12
xor bl, bl
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test ah, 0x80
jne 0x406158
push 1
pop ebx
push 0
push ebx
push 0
push 0x12
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test bl, bl
pop ebx
je 0x40616e
push 0
push 3
push 0
push 0x12
call esi
pop edi
pop esi
ret
Function at 0x406171
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
fld qword [ebp + 8]
push ebx
push esi
fstp qword [0x41f288]
fld qword [ebp + 8]
push edi
xor edi, edi
cmp dword [0x41f1dc], edi
fstp qword [ebp - 0x10]
je 0x40619f
fild dword [0x41f1dc]
fsub qword [ebp + 8]
fstp qword [ebp - 0x10]
fld qword [0x40b398]
push ecx
push ecx
fstp qword [esp]
fld qword [ebp - 0x10]
push ecx
push ecx
fstp qword [esp]
call sub.MSVCRT.dll_fmod
call sub.MSVCRT.dll__ftol
push eax
call sub.MSVCRT.dll_abs
fld qword [0x40b390]
add esp, 0xc
mov esi, eax
fstp qword [esp]
fld qword [ebp - 0x10]
fmul qword [0x40b388]
call sub.MSVCRT.dll__ftol
mov dword [ebp + 0xc], eax
push ecx
fild dword [ebp + 0xc]
push ecx
fstp qword [esp]
call sub.MSVCRT.dll_fmod
call sub.MSVCRT.dll__ftol
push eax
call sub.MSVCRT.dll_abs
fld qword [ebp - 0x10]
fmul qword [0x40b380]
mov ebx, eax
call sub.MSVCRT.dll__ftol
push eax
mov dword [ebp + 0xc], eax
call sub.MSVCRT.dll_abs
fld qword [0x40b390]
add esp, 0x10
mov dword [ebp - 8], eax
fstp qword [esp]
fild dword [ebp + 0xc]
push ecx
push ecx
fstp qword [esp]
call sub.MSVCRT.dll_fmod
call sub.MSVCRT.dll__ftol
push eax
call sub.MSVCRT.dll_abs
fld qword [ebp - 0x10]
fmul qword [0x40b378]
mov dword [ebp + 0xc], eax
call sub.MSVCRT.dll__ftol
push eax
call sub.MSVCRT.dll_abs
add esp, 0x18
cmp dword [0x41f1dc], edi
mov dword [ebp - 4], eax
mov dword [0x41f1e4], esi
je 0x406307
fld qword [ebp - 0x10]
fcomp qword [0x40b370]
fnstsw ax
sahf
ja 0x406301
fld qword [ebp - 0x10]
fcomp qword [0x40b368]
fnstsw ax
sahf
jbe 0x406301
cmp dword [0x41f290], edi
jne 0x4062e7
call fcn.00404c6a
push 0x2c
lea eax, [ebp - 0x3c]
pop esi
push esi
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
push 2
pop esi
push eax
mov dword [ebp - 0x38], esi
push dword [0x41f204]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x34], esi
jne 0x4062db
push edi
push 0xf120
push 0x112
push dword [0x41f204]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x41f204]
call fcn.00406121
pop ecx
push str.PlaySound____n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
inc dword [0x41f290]
cmp dword [0x41f290], 0x14
jne 0x406307
mov dword [0x41f290], edi
fld qword [ebp - 0x10]
fcomp qword [0x40b360]
cmp dword [0x41f1d0], edi
fnstsw ax
je 0x406342
sahf
mov eax, 0x4127f0
jb 0x406327
mov eax, 0x412d6c
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
push eax
push str._s_02d:_02d:_02d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x406365
sahf
mov eax, 0x4127f0
jb 0x40634f
mov eax, 0x412d6c
push ebx
push dword [ebp - 8]
push eax
push str._s_02d:_02d
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret