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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x472f93
mov eax, dword [ebp - 0x14]
call fcn.0048e188
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x472f93
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x472f93
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x473122
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x472fdc
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x472fdc
mov eax, dword [ebp - 0x14]
call fcn.0048e188
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x473117
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x473122
jmp 0x473117
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x4730f2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x4730f2
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x47301f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x473019
sub eax, 3
je 0x473019
sub eax, 3
jne 0x47301f
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x473036
dec eax
je 0x47304d
dec eax
je 0x473074
dec eax
je 0x47304d
jmp 0x473081
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x669b48]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00499d84
jmp 0x473117
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x473067
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403e90
jmp 0x473122
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x473117
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x473117
mov eax, dword [0x66bb54]
cmp byte [eax + 0x20], 0
je 0x473117
mov eax, dword [0x66bb54]
cmp dword [eax + 0x1c], 0
je 0x473117
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x66bb54]
cmp eax, dword [edx + 0x1c]
jne 0x473117
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0048e0a4
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403e90
jmp 0x473122
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x473117
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00470fec
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477634
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x477655
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x47768a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x47767a
mov eax, dword [ebp - 4]
call fcn.00475c10
test eax, eax
jne 0x47767a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4777b4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00477008
jmp 0x4777b4
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4777ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00479ec0
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00472df4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00477634
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00479ec0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4777b4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x47fd20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x66a234]
cmp byte [eax + 0xc], 0
je 0x47fe92
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47fe8b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x66bba8], 0
jne 0x47fd79
push 0x47fe98
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x47fea0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bba8], eax
cmp dword [0x654030], 0
jne 0x47fe74
push 0x47feb0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x654030], eax
cmp dword [0x654030], 0
je 0x47fe74
push 0x47febc
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbac], eax
push 0x47fecc
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbb0], eax
push 0x47fee0
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbb4], eax
push 0x47fef8
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbb8], eax
push 0x47ff10
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbbc], eax
push 0x47ff24
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbc0], eax
push 0x47ff3c
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbc4], eax
push 0x47ff54
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbc8], eax
push 0x47ff70
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbcc], eax
push 0x47ff7c
mov eax, dword [0x654030]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x66bbd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe92
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x4853b8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404ae4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x485411
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404d64
mov esp, ebp
pop ebp
ret
Function at 0x48e000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x48e058]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x48e01a
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x48e024
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x48e02e
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x48e038
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x48e042
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48e052
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x48e05c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x48e0a0]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48e07d
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48e08d
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x48e097
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x496000
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x496012
add esp, 0xfffffff0
call fcn.00403ff8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004278c0
mov eax, dword [0x669364]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x496570
mov eax, dword [0x669384]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x496590
mov eax, dword [ebp - 4]
call fcn.004965b0
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a190]
call fcn.00403c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a190]
call fcn.00403c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a190]
call fcn.00403c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a190]
call fcn.00403c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a190]
call fcn.00403c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x4919c0
push eax
push 0
push 0
mov eax, dword [0x669908]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429b38]
call fcn.0042b460
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x429b38]
call fcn.0042b460
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x429b38]
call fcn.0042b460
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00496afc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x496948
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x496948
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x496948
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x49619a
call fcn.00404050
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x496700
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4968cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4968a9
mov dl, 1
mov eax, dword [0x41a7f4]
call fcn.00403c64
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ae4
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x496892
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004800c0
test al, al
je 0x496886
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x4968dc
lea eax, [ebp - 0x25c]
call fcn.0040b834
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x496886
xor eax, eax
push ebp
push 0x49687f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x496914
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x496868
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404d64
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x496868
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404d64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496886
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x496775
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00420320
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4968d2
lea eax, [ebp - 0x268]
call fcn.00404ae4
ret
Function at 0x497404
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x66bbf4]
cmp byte [eax + 0xa5], 0
jne 0x49747b
cmp dword [0x66bc0c], 0
jne 0x497439
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4973c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x66bc0c], eax
cmp dword [0x66bc08], 0
jne 0x497454
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x66bc08], eax
cmp dword [0x66bc10], 0
jne 0x49747b
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x497360
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x66bc10], eax
pop ecx
pop ebp
ret

Function at 0x497544
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.004974dc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x497565
xor eax, eax
call fcn.00497514
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x49757f
mov al, 1
call fcn.00497514
mov esp, ebp
pop ebp
ret

Function at 0x497c44
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x66bbf4]
cmp dword [eax + 0x30], 0
je 0x497d0e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x497d05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x497bc4
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x497d05
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x497cbf
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x497d05
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0041cfbc
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x497cd4
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x498a28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x498a6d
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404bd4
jmp 0x498a7e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404b38
mov esp, ebp
pop ebp
ret
Function at 0x499f00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x499f53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0047a390
test al, al
je 0x499f53
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00479ec0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x499f53
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00479ec0
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x49d494
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [0x65590c], 0xffffffff
je 0x49d56b
cmp dword [ebp - 4], 0
je 0x49d56b
cmp dword [ebp - 8], 0
je 0x49d56b
xor eax, eax
mov dword [0x68bcf4], eax
cmp byte [0x655910], 0
je 0x49d52e
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x68bd1c], eax
push 0x68bd0c
push 0x68bcf4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_ReadFile_1
test eax, eax
jne 0x49d521
push 0xffffffffffffffff
push 0x68bcf4
push 0x68bd0c
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_GetOverlappedResult
test eax, eax
mov eax, dword [0x68bd1c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
jmp 0x49d54a
push 0
push 0x68bcf4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_ReadFile_1
test eax, eax
mov eax, dword [0x68bcf4]
cmp eax, dword [ebp - 8]
jne 0x49d55a
mov byte [ebp - 9], 1
jmp 0x49d56b
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_ClearCommError
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x49d574
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
cmp dword [0x65590c], 0xffffffff
je 0x49d64b
cmp dword [ebp - 4], 0
je 0x49d64b
cmp dword [ebp - 8], 0
je 0x49d64b
xor eax, eax
mov dword [0x68bcf0], eax
cmp byte [0x655910], 0
je 0x49d60e
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x68bd08], eax
push 0x68bcf8
push 0x68bcf0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
jne 0x49d601
push 0xffffffffffffffff
push 0x68bcf0
push 0x68bcf8
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_GetOverlappedResult
test eax, eax
mov eax, dword [0x68bd08]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
jmp 0x49d62a
push 0
push 0x68bcf0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
mov eax, dword [0x68bcf0]
cmp eax, dword [ebp - 8]
jne 0x49d63a
mov byte [ebp - 9], 1
jmp 0x49d64b
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x65590c]
push eax
call sub.KERNEL32.DLL_ClearCommError
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x49db70
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 4]
add eax, 0x1c
xor ecx, ecx
mov edx, 0x40
call fcn.00403224
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xc3d2e1f0
pop ecx
pop ebp
ret

Function at 0x4a5bc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5c3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00405140
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404fb4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404db4
push eax
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405140
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004a5970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5c44
lea eax, [ebp - 0xc]
call fcn.00404ae4
ret
Function at 0x4b77fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b786d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004b77d8
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.004a5070
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.004a4bc0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7874
lea eax, [ebp - 0x14]
call fcn.00404ae4
ret

Function at 0x4b7c18
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x4b7c2f
add esp, 0xfffffff0
call fcn.00403ff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b7cbf
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00403c64
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b806c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404b38
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, 0x4b7cf0
call fcn.00404e00
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b7a4c]
call fcn.004b85f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7cc6
lea eax, [ebp - 0xc]
call fcn.00404ae4
ret