joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ed84
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41ed8b
call fcn.0048f160
mov edx, dword [esp + 0x30]
lea ecx, [esp]
call fcn.00445000
mov edx, dword [esp + 0x34]
lea ecx, [esp + 4]
call fcn.00445000
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
call fcn.00445000
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
call fcn.00445000
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x10]
call fcn.00445000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.00445000
push 0
call sub.ole32.dll_CoInitialize
lea eax, [esp + 0x18]
push eax
mov ebp, 0x632c4c
push ebp
push 1
push 0
mov ebp, 0x632c2c
push ebp
call sub.ole32.dll_CoCreateInstance
mov ebx, eax
and ebx, ebx
jne 0x41eef8
sub esp, 4
push dword [esp + 4]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
add esp, 4
sub esp, 4
push dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
add esp, 4
sub esp, 4
push dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
add esp, 4
sub esp, 4
push dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
add esp, 4
push dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
push 0
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
sub esp, 4
push dword [esp + 0x50]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
add esp, 4
lea eax, [esp + 0x1c]
push eax
mov ebp, 0x632c3c
push ebp
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax]
call dword [eax]
mov ebx, eax
and ebx, ebx
jne 0x41eeee
sub esp, 4
push 1
push dword [esp + 0xc]
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
add esp, 4
mov ebx, eax
and ebx, ebx
jne 0x41eee4
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 8]
call sub.ole32.dll_CoUninitialize
mov eax, dword [esp + 0x20]
jmp 0x41ef05
push dword [esp + 8]
call fcn.0048f1f0
push dword [esp + 0xc]
call fcn.0048f1f0
push dword [esp]
call fcn.0048f1f0
push dword [esp + 4]
call fcn.0048f1f0
push dword [esp + 0x10]
call fcn.0048f1f0
push dword [esp + 0x14]
call fcn.0048f1f0
add esp, 0x24
pop ebx
pop ebp
ret 0x20
Function at 0x4468b5
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x44694d
push edi
push 0x6b1228
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x637628]
test edi, edi
je 0x446921
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44691a
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x637628
call fcn.0048ef01
pop ecx
pop ecx
jmp 0x44691c
mov edi, dword [edi]
test edi, edi
jne 0x4468f1
pop ebx
mov eax, dword [0x632c5c]
mov esi, eax
inc eax
push 0x10
push 0x637628
mov dword [0x632c5c], eax
call fcn.0048ef41
pop ecx
pop ecx
push 0x6b1228
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8

Function at 0x44a691
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x44a6e6
push dword [esp + 0x10]
push 0x44a610
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x6376d8]
test esi, esi
je 0x44a73f
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x44a6de
cmp byte [esi + 0x10], 0
je 0x44a6de
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x44a6ba
jmp 0x44a73f
mov esi, dword [0x6376d8]
test esi, esi
je 0x44a73f
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x44a738
cmp byte [esi + 0x11], 0
je 0x44a714
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x44a72b
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x6376d8
call fcn.0048ef01
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x44a6f3
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x44af23
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x44afe2
cmp dword [esp + 0x24], 2
je 0x44afe2
push 0x2000
push ebp
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x44afb1
cmp dword [esp + 0x18], 2
jne 0x44afcd
cmp dword [esp + 0x28], 0xffffffff
je 0x44af75
cmp ebp, dword [esp + 0x28]
jae 0x44afcd
add ebp, 2
test ebx, ebx
jne 0x44af9a
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x44afcd
cmp ax, 0xd
je 0x44afb1
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44af61
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.00528650
jmp 0x44b074
push eax
push 0
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x44b000
cmp ebp, dword [esp + 0x28]
jae 0x44b058
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b058
cmp dword [esp + 0x18], 1
jne 0x44b058
inc ebp
test ebx, ebx
jne 0x44b045
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x44b058
cmp al, 0xd
je 0x44aff3
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x44aff3
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x44b06f
call fcn.005286a0
jmp 0x44b074
call fcn.00528850
push esi
push 0
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x44c091
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x44c0f3
cmp word [esi], di
je 0x44c0f3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004b6200
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.004b6410
add esp, 0x10
test eax, eax
jne 0x44c0f2
push 0x24
push 8
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 8], 1
mov dword [ecx + 0x20], eax
mov dword [eax + 4], ecx
pop ebx
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x46cd90
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x6afa10], 0
jne 0x46cd9e
call fcn.0046cc10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x6afa14]
call esi
test eax, eax
jne 0x46cdc1
call fcn.0046cc10
push dword [0x6afa14]
call esi
mov edx, dword [esp + 0x14]
lea esi, [eax + 8]
mov edi, 0x11
lea ecx, [ecx]
imul ecx, edx, 0x53a9b4fb
lea esi, [esi + 4]
mov edx, 1
sub edx, ecx
imul ecx, edx, 0x53a9b4fb
mov dword [esi + 0x40], edx
mov edx, 1
sub edx, ecx
mov dword [esi - 4], edx
dec edi
jne 0x46cdd0
mov dword [eax], edi
lea ebp, [edi + 0x1f]
mov dword [eax + 4], 0xa
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax + ebx*4 + 8]
mov ecx, dword [eax + ebx*4 + 0x4c]
mov esi, dword [eax + edi*4 + 8]
ror ecx, 0xd
add ecx, dword [eax + edi*4 + 0x4c]
dec edi
ror edx, 5
add edx, esi
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x4c], edx
dec ebx
jns 0x46ce30
mov ebx, 0x10
test edi, edi
jns 0x46ce39
mov edi, 0x10
mov dword [eax], ebx
mov dword [eax + 4], edi
dec ebp
jne 0x46ce02
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x46ce50
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x6afa10], 0
jne 0x46ce5e
call fcn.0046cc10
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x6afa14]
call esi
mov edx, eax
test edx, edx
jne 0x46ce85
call fcn.0046cc10
push dword [0x6afa14]
call esi
mov edx, eax
mov ebx, dword [edx]
mov esi, dword [edx + 4]
mov ebp, dword [esp + 0x14]
inc ebp
mov edi, dword [edx + ebx*4 + 0x4c]
mov eax, dword [edx + ebx*4 + 8]
mov ecx, dword [edx + esi*4 + 8]
ror edi, 0xd
add edi, dword [edx + esi*4 + 0x4c]
dec esi
ror eax, 5
add eax, ecx
mov dword [edx + ebx*4 + 8], edi
mov dword [edx + ebx*4 + 0x4c], eax
dec ebx
jns 0x46ceb8
mov ebx, 0x10
test esi, esi
jns 0x46cec1
mov esi, 0x10
mov dword [edx], ebx
mov eax, edi
mov dword [edx + 4], esi
test ebp, ebp
je 0x46ced0
mul ebp
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x46d299
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
push edi
xor edi, edi
mov ebp, edi
test eax, eax
je 0x46d334
cmp word [eax], di
je 0x46d334
push esi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46d32f
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x46d327
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], ebx
jne 0x46d318
push dword [esp + 0x1c]
push ebx
push edi
push dword [esp + 0x20]
call fcn.0046d786
mov ebp, eax
push edi
push 0
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, ebp
pop esi
jmp 0x46d336
xor eax, eax
pop edi
pop ebp
ret 0xc
Function at 0x471377
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push dword [0x6b15ac]
call fcn.0048e592
xor ebp, ebp
mov esi, eax
cmp dword [0x6afd18], ebp
jne 0x471453
xor ebx, ebx
inc ebx
mov dword [0x6afd18], ebx
call fcn.004758bf
mov edi, 0xa4
push edi
push ebp
push 0x6afd20
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6afd20], 0x13
lea eax, [esp + 0x10]
mov dword [0x6afd24], edi
mov dword [0x6afd30], 0x4712c2
mov dword [0x6afd34], 0x47160d
push eax
mov dword [0x6afd88], 0x47129d
mov dword [0x6afd8c], 0x471558
mov dword [0x6afd2c], 0x471278
mov dword [0x6afdb0], 0x4712dd
mov dword [0x6afdc4], ebx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x471453
cmp dword [esp + 0x20], ebx
je 0x47143b
cmp dword [esp + 0x20], 2
jne 0x471453
cmp dword [esp + 0x14], 5
jae 0x471443
mov dword [0x6afdc4], ebp
jmp 0x471453
jne 0x471453
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and dword [0x6afdc4], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
call fcn.0047a30d
mov eax, dword [esp + 0x140]
push ebp
push dword [0x636b8c]
or eax, 0x50010000
push 0xffffffffffffffff
push dword [esi]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push dword [esp + 0x148]
push eax
push ebp
push str.BUTTON
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x471529
push dword [esp + 0x128]
push dword [0x6b15c8]
call fcn.0048ec11
mov edi, dword [esp + 0x13c]
mov esi, eax
mov dword [esi + 0x10], edi
test edi, edi
je 0x4714f8
push edi
call fcn.004893d5
test eax, eax
je 0x4714f8
push ebp
push ebp
push edi
call fcn.00489044
mov dword [esi + 0x18], eax
jmp 0x4714fb
mov dword [esi + 0x18], ebp
push 0x470fc7
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x1c], ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x6afd20
push ebx
push esi
push dword [esp + 0x134]
mov dword [0x6afd1c], eax
call fcn.00475c80
mov ebx, eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret 0x1c
Function at 0x473091
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push 0
push 0
push 0x1304
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x473103
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
cmp ebx, 0xffffffff
jne 0x4730ba
mov ebx, eax
push dword [ebp]
call fcn.00472813
push ebx
push dword [ebp]
mov edi, eax
call fcn.004727ea
add esp, 0xc
mov esi, eax
push 0
push ebx
push 0x130c
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push dword [ebp]
call fcn.00473123
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x473c11
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 1
call edi
mov ebx, 0x8000
test bx, ax
je 0x473c2b
inc esi
push 2
call edi
test bx, ax
je 0x473c37
or esi, 2
push 4
call edi
test bx, ax
je 0x473c43
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4741d9
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x474211
push dword [edi]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov dword [esp + 0x10], 1
push dword [edi]
push esi
call fcn.00475a7d
test byte [edi + 0x14], 8
mov dword [esp + 0x14], eax
je 0x474302
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [edi], eax
jne 0x474302
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x474330
test ebp, ebp
jle 0x474330
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x474330
push ebp
push dword [esp + 0x30]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4742f9
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x10], 0
je 0x4742a3
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 0x10]
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x4742b8
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 2
pop eax
add dword [esp + 0x18], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
sub dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xcc0020
xor eax, eax
push eax
push eax
push ebx
push ebp
push dword [esp + 0x40]
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x474330
cmp dword [edi + 0x10], ebx
je 0x47431c
push 4
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [edi + 0x10]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x474330
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x14]
push esi
call fcn.00475a5b
cmp dword [esp + 0x10], 0
je 0x47434a
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x474352
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.00475c51
push eax
call fcn.00476828
push dword [0x6b016c]
mov dword [esp + 0x24], eax
call fcn.0048e6e2
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x4743c6
inc ebx
push 0x12
call esi
test di, ax
je 0x4743d2
or ebx, 2
push 0x11
call esi
test di, ax
je 0x4743de
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00473c11
push 0x474433
push ebp
push dword [esp + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.004795a8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4751f3
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push dword [0x6b15ac]
call fcn.0048e592
xor ebx, ebx
mov ebp, eax
cmp dword [0x6b0248], ebx
jne 0x475287
mov esi, 0xa4
push esi
push ebx
push 0x6b0250
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6b0254], esi
mov esi, dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [0x6b0250], 0xa
mov dword [0x6b0258], 0x474d88
push 0x7f89
push ebx
mov dword [0x6b02c8], 0x475e6a
mov dword [0x6b02cc], 0x475e44
mov dword [0x6b025c], 0x474da7
mov dword [0x6b02e0], 0x474dc7
call esi
mov dword [0x6b0248], eax
test eax, eax
jne 0x475287
push 0x7f00
push ebx
call esi
mov dword [0x6b0248], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0047a30d
push ebx
push dword [0x636b8c]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x40000000
push dword [esp + 0x48]
push str.STATIC
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x475353
push edi
push dword [esp + 0x14]
push dword [0x6b15c8]
call fcn.0048ec11
mov edi, eax
push 8
or dword [edi + 0x10], 0xffffffff
call dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
push 0
mov dword [edi + 0x14], eax
push dword [0x636b88]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov esi, eax
push 0x6b0250
push ebx
push edi
push dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
mov dword [edi + 0x1c], esi
call fcn.00475c80
push 0x474ead
push 0xfffffffffffffffc
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0x20
Function at 0x47640d
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
lea eax, [ebp - 0x40]
push 0x40
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 6
jne 0x47643e
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x60]
jmp 0x4764c0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x47649a
mov eax, dword [ebp + 8]
sub eax, 0
je 0x476492
dec eax
je 0x47648a
dec eax
je 0x476482
dec eax
je 0x47647a
dec eax
je 0x476472
dec eax
jne 0x47649a
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x4764c2
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x4764c2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x4764c2
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
jmp 0x4764c2
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jmp 0x4764c2
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x4764c2
cmp dword [ebp + 8], 7
jne 0x4764be
push 0x2c
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x4764be
mov eax, dword [ebp - 0x68]
jmp 0x4764c0
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x4765b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x476726
mov eax, dword [esp + 0x24]
dec eax
je 0x476709
dec eax
jne 0x476726
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.00476569
pop ecx
test eax, eax
je 0x476667
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x47662a
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x476705
dec ebx
je 0x476701
dec ebx
je 0x4766e0
dec ebx
je 0x47669a
sub ebx, 4
jne 0x476726
test edi, edi
jne 0x476726
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x476726
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x47662a
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x476625
sub edi, 0
je 0x4766d2
dec edi
je 0x4766c4
dec edi
je 0x4766b6
dec edi
jne 0x476726
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x476726
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x476726
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x476726
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x476726
sub edi, 0
je 0x4766fd
dec edi
je 0x4766f9
dec edi
jne 0x476726
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x476726
push 0x3c
jmp 0x476725
push 0x32
jmp 0x476725
push 0x14
jmp 0x476725
push 5
jmp 0x476725
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x476723
cmp eax, 0xa
je 0x47671f
cmp eax, 0x5a
jne 0x476726
push 0x28
jmp 0x476725
push 0x1e
jmp 0x476725
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret