joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439c40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x439c5c
cmp dword [esi + 4], 0
je 0x439c89
test byte [ebx + 0x55], 1
jne 0x439c7b
mov eax, ebx
call fcn.00438094
test eax, eax
jne 0x439c7b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439d99
mov edx, esi
mov eax, ebx
call fcn.00439648
jmp 0x439d99
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x439d92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043bc98
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043553c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00439c40
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043bc98
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439d99
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440d7c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d5fd0]
cmp byte [eax + 0xc], 0
je 0x440ee9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x440ee2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d9544], 0
jne 0x440dd0
push 0x440ef0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x440ef8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9544], eax
cmp dword [0x458574], 0
jne 0x440ecb
push 0x440f08
call sub.kernel32.dll_LoadLibraryA
mov dword [0x458574], eax
cmp dword [0x458574], 0
je 0x440ecb
push 0x440f14
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9548], eax
push 0x440f24
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d954c], eax
push 0x440f38
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9550], eax
push 0x440f50
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9554], eax
push 0x440f68
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9558], eax
push 0x440f7c
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d955c], eax
push 0x440f94
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9560], eax
push 0x440fac
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9564], eax
push 0x440fc8
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d9568], eax
push 0x440fd4
mov eax, dword [0x458574]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d956c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440ee9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x446530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x446584]
test si, 4
je 0x446545
or bl, 1
test si, 8
je 0x44654f
or bl, 4
test si, 1
je 0x446559
or bl, 8
test si, 2
je 0x446563
or bl, 0x10
test si, 0x10
je 0x44656d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44657c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x446588
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4465c4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4465a2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4465b1
or bl, 4
test esi, 0x20000000
je 0x4465bc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44dc78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44dc8a
add esp, 0xfffffff0
call fcn.00403b94
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f04
mov eax, dword [0x4d5c7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e01c
mov eax, dword [0x4d5c88]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e028
mov eax, ebx
call fcn.0044e034
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
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, 0x449acc
push eax
push 0
push 0
mov eax, dword [0x4d5de8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41da78]
call fcn.0041ef98
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41da78]
call fcn.0041ef98
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41da78]
call fcn.0041ef98
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e464
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e334
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e334
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e334
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ddc7
call fcn.00403bec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e118
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 0x44e2c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e2a4
mov dl, 1
mov eax, dword [0x412124]
call fcn.00403858
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040469c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e293
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.004410d8
test al, al
je 0x44e286
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, 0x44e2d4
lea eax, [ebp - 0x254]
call fcn.004091ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e286
xor eax, eax
push ebp
push 0x44e27f
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 0x44e30c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e268
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040490c
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 0x44e268
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040490c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e286
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e189
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415e04
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 0x44e2ca
lea eax, [ebp - 0x260]
call fcn.0040469c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d957c]
cmp byte [eax + 0xad], 0
jne 0x44ecad
cmp dword [0x4d9594], 0
jne 0x44ec6e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ebf8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d9594], eax
cmp dword [0x4d9590], 0
jne 0x44ec89
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d9590], eax
cmp dword [0x4d9598], 0
jne 0x44ecad
push esp
push 0
push 0
push 0x44eb9c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d9598], eax
pop edx
ret
Function at 0x44ee80
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ee97
add esp, 0xfffffff0
call fcn.00403b94
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419f04
mov eax, dword [0x4d5dcc]
cmp word [eax + 2], 0
jne 0x44eebf
mov eax, dword [0x4d5dcc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450930
mov eax, dword [0x4d5e7c]
cmp word [eax + 2], 0
jne 0x44eed9
mov eax, dword [0x4d5e7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450b3c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411d00]
call fcn.00403858
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e254]
call fcn.0042409c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44f090
mov eax, dword [0x4d5ce8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424470
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4511fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d5ce8]
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.0040c8bc
test eax, eax
je 0x44efe0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b64
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8f0
test eax, eax
je 0x44eff4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040490c
mov byte [ebx + 0xd4], 0
push ebx
push 0x450490
call fcn.0041b080
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d5bdc]
cmp byte [eax], 0
jne 0x44f045
mov eax, ebx
call fcn.0044f1d4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004513d8
mov eax, ebx
call fcn.00451f38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f085
call fcn.00403bec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f454
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d957c]
cmp dword [eax + 0x30], 0
je 0x44f4fe
cmp dword [ebx + 0x94], 0
jne 0x44f4f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f3e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f4f8
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 0x44f4be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f4f8
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.004140ac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f4cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450218
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45024d
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.0040478c
jmp 0x45025a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4515bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45162a
mov eax, esi
call fcn.0043bf94
test al, al
je 0x45162a
mov eax, dword [ebx + 0x84]
call fcn.0043bc98
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45162a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45161e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bc98
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004341dc
jmp 0x45162a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004513f8
pop esi
pop ebx
ret
Function at 0x401018
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401050
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x10011620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578ce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x16], 0
mov eax, 0x32
je 0x1001172e
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp + 8]
call fcn.10037f90
mov edi, dword [esi + 4]
mov dword [ebp - 4], 0
call sym.ScCore.dll_public:_static_class_ScCore::Encoder_const____cdecl_ScCore::Encoder::getBinary_void_
cmp dword [edi + 0x12], eax
setne al
cmp byte [ebp + 0xc], 0
je 0x10011692
test al, al
je 0x10011692
mov eax, dword [edi + 0x22]
push eax
lea ecx, [ebp + 8]
call fcn.10037f90
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x12]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.10037f90
mov edi, eax
test edi, edi
jne 0x100116d7
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100116d7
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x16]
mov edx, dword [ebp - 0x14]
push ecx
push 1
push eax
push edx
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x100116d7
mov edi, 0x34
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x16]
push ecx
call dword [sym.imp.msvcr100.dll_ferror]
add esp, 4
test eax, eax
je 0x10011702
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x16]
push eax
call dword [sym.imp.msvcr100.dll_clearerr]
add esp, 4
mov edi, 0x34
jmp 0x1001171d
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x16]
push edx
call dword [sym.imp.msvcr100.dll_ftell]
mov esi, dword [esi + 4]
add esp, 4
cmp eax, dword [esi + 0x1a]
jle 0x1001171d
mov dword [esi + 0x1a], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sym.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10012490
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057a25
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov edx, dword [edi]
mov dword [ebp - 0x814], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x820], edi
call eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x824]
push ecx
lea edx, [ebp - 0x828]
push edx
add eax, 4
push eax
call fcn.10037f90
add esp, 0xc
test eax, eax
jne 0x1001253e
mov ecx, dword [edi + 4]
push 0x1005f994
push ecx
call fcn.10037f90
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012672
mov edx, dword [edi + 4]
mov ebx, dword [edx + 0x16]
mov esi, dword [sym.imp.msvcr100.dll_fseek]
push 2
push eax
push ebx
call esi
add esp, 0xc
test eax, eax
je 0x10012548
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov eax, 0x34
jmp 0x10012674
mov esi, 0x30
jmp 0x10012672
push ebx
call dword [sym.imp.msvcr100.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
add esp, 0x10
test eax, eax
je 0x10012576
mov ecx, dword [ebp - 0x820]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov eax, 0x34
jmp 0x10012674
mov eax, dword [ebp - 0x814]
push eax
lea ecx, [ebp - 0x81c]
call fcn.10037f90
mov ecx, dword [ebp - 0x818]
push 0x1005f9ec
push ecx
mov dword [ebp - 4], 0
call fcn.10037f90
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012653
mov edx, dword [ebp - 0x818]
mov eax, dword [edx + 0x16]
mov dword [ebp - 0x814], eax
test edi, edi
je 0x10012611
mov esi, edi
cmp edi, 0x800
jbe 0x100125cf
mov esi, 0x800
push ebx
push 1
lea ecx, [ebp - 0x810]
push esi
push ecx
call dword [sym.imp.msvcr100.dll_fread]
add esp, 0x10
test eax, eax
je 0x10012692
mov edx, dword [ebp - 0x814]
push edx
push 1
lea eax, [ebp - 0x810]
push esi
push eax
call dword [sym.imp.msvcr100.dll_fwrite]
add esp, 0x10
test eax, eax
je 0x10012692
sub edi, esi
jne 0x100125c0
lea ecx, [ebp - 0x81c]
call sym.ScCore.dll_public_virtual:_int___thiscall_ScCore::File::close_void_
mov esi, eax
test esi, esi
jne 0x10012653
mov ecx, dword [ebp - 0x818]
add ecx, 4
push ecx
call fcn.10037f90
mov edx, dword [ebp - 0x824]
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0x818]
push edx
push eax
add ecx, 4
push ecx
call fcn.10035870
add esp, 0x10
mov esi, eax
mov ecx, dword [ebp - 0x820]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 0xffffffff
call fcn.10037f90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054c72
mov esp, ebp
pop ebp
ret 4
mov esi, 0x34
jmp 0x10012653
Function at 0x100374a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
test esi, esi
jne 0x100374cb
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.10037f90
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x100374f9
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x100374f2
mov eax, esi
mov dword [ebp - 4], eax
jmp 0x100374f5
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1003750b
lea ecx, [ebp - 8]
push ecx
push 0x10037470
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10037510
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10037f90
mov dword [ebp - 0x188], eax
test eax, eax
je 0x1003768b
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10037565
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 4
push esi
call edi
test eax, eax
jne 0x10037561
push esi
call ebx
test eax, eax
je 0x10037565
mov esi, eax
jmp 0x10037551
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1003767b
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x1003767b
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
jne 0x1003767b
test esi, esi
je 0x1003767b
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
mov ebx, eax
call edi
mov ecx, dword [ebp - 0x188]
push 0
push ecx
mov esi, eax
call edi
mov edi, eax
test ebx, ebx
je 0x1003767b
cmp edi, esi
je 0x1003767b
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10037628
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c72
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call esi
push 2
lea ecx, [ebp - 0x190]
push ecx
push 0
push 0x2001
mov dword [ebp - 0x190], 0
call esi
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call esi
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c72
mov esp, ebp
pop ebp
ret