joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d94ac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4d9501
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9508
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d9578
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4d95ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d8dfc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0046273c
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4d95d7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d95f4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4d95fc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4d9671
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004d8dfc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4d965b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9678
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4e0abc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4e0add
test edi, 0x40000
je 0x4e0af7
test bl, bl
jne 0x4e0b78
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4e0b78
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4e0b2a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4e0b3f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x4e0b4e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4e0b5f
cmp byte [esp + 2], 0
je 0x4e0b78
cmp byte [esp + 2], 0
je 0x4e0b70
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4e0b78
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4e0e24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4e0e4a
mov eax, esp
push eax
push 0x4e0dec
call sub.user32.dll_EnumWindows
jmp 0x4e0e5d
mov eax, esp
push eax
push 0x4e0dcc
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4e0f20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x4e0f70]
test bl, 4
je 0x4e0f34
or si, 1
test bl, 8
je 0x4e0f3d
or si, 4
test bl, 1
je 0x4e0f46
or si, 8
test bl, 2
je 0x4e0f4f
or si, 0x10
test bl, 0x10
je 0x4e0f58
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e0f68
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4e0f74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x4e0fb0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e0f8f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e0f9f
or bx, 4
test esi, 0x20000000
je 0x4e0fab
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4e9aa8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4e9aba
add esp, 0xfffffff0
call fcn.00405994
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044b7fc
mov eax, dword [0x5937c0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4e9ee4
mov eax, dword [0x5937cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4e9ef0
mov eax, ebx
call fcn.004e9efc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4e4920
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x457460]
call fcn.0045dc58
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x457460]
call fcn.0045dc58
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x457460]
call fcn.0045dc58
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x457460]
call fcn.0045dc58
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x457460]
call fcn.0045dc58
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004ea4f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ea310
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ea310
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ea310
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ea310
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4ea310
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4e9c31
call fcn.004059ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ea0b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ea25b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4ea23c
mov dl, 1
mov eax, dword [0x436580]
call fcn.00442ea0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406ed0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4ea22b
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.0048aa20
test al, al
je 0x4ea21e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4ea26c
lea eax, [ebp - 0x394]
call fcn.0041e620
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4ea21e
xor eax, eax
push ebp
push 0x4ea217
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4ea2dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4ea200
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407b08
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4ea200
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea21e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4ea121
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.00442ddc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea262
lea eax, [ebp - 0x3a0]
call fcn.00406ed0
ret

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

Disassembly:
push ecx
mov eax, dword [0x599258]
cmp byte [eax + 0xad], 0
jne 0x4eae7a
cmp dword [0x599270], 0
jne 0x4eae3a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5879dc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x599270], eax
cmp dword [0x59926c], 0
jne 0x4eae55
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x59926c], eax
cmp dword [0x599274], 0
jne 0x4eae7a
push esp
push 0
push 0
mov eax, dword [0x5879d8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x599274], eax
pop edx
ret
Function at 0x4eb190
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4eb1a7
add esp, 0xfffffff0
call fcn.00405994
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044b7fc
mov eax, dword [0x593640]
cmp byte [eax], 0
jne 0x4eb1d4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5939f8]
cmp word [eax + 2], 0
jne 0x4eb1ee
mov eax, dword [0x5939f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ed258
mov eax, dword [0x593b4c]
cmp word [eax + 2], 0
jne 0x4eb208
mov eax, dword [0x593b4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ed45c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x457460]
call fcn.0045dc58
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4ed9d4
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
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 [0x45bdcc]
call fcn.004674c8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4eb3e8
mov eax, dword [0x593860]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0046795c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4edcbc
mov dl, 1
mov eax, dword [0x433c6c]
call fcn.00405434
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x593860]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041e434
test eax, eax
je 0x4eb319
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041e1e8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041e418
test eax, eax
je 0x4eb331
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407b08
push ebx
push 0x4ecc44
call fcn.004e0f04
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x593640]
cmp byte [eax], 0
jne 0x4eb382
mov eax, ebx
call fcn.004eb55c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004edee8
mov eax, ebx
call fcn.004eeb18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4eb3df
call fcn.004059ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eb828
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4eb8ca
cmp dword [ebx + 0x94], 0
jne 0x4eb8c4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4eb774
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4eb8c4
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_GetWindowLongW
test al, 8
je 0x4eb88a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4eb8c4
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.0043f1fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4eb899
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4ebae8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x599258]
cmp dword [eax + 0x170], 0
je 0x4ebc4d
test bl, bl
jne 0x4ebb9b
cmp dword [esi + 0x9c], 0
jne 0x4ebb90
mov eax, esi
call fcn.004ee968
push eax
push 0x4eb9f4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4ebb61
mov eax, dword [0x599258]
cmp byte [eax + 0xd3], 0
je 0x4ebb61
mov eax, dword [esi + 0xd8]
call fcn.00408a70
mov edi, eax
cmp edi, 0
jl 0x4ebb61
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ebb4a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ebb90
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f1fc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ebb70
inc dword [esi + 0x9c]
jmp 0x4ebc4d
cmp dword [esi + 0x9c], 0
jle 0x4ebc4d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4ebc4d
cmp dword [esi + 0x44], 0
je 0x4ebbf8
mov eax, dword [0x599258]
cmp byte [eax + 0xd3], 0
je 0x4ebbf8
mov eax, dword [esi + 0xd8]
call fcn.00408a70
mov edi, eax
cmp edi, 0
jl 0x4ebbf8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4ebbe1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4ebc27
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f1fc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4ebc07
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4deddc]
call fcn.00408c30
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4ec890
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4ec8fb
cmp byte [ebx + 0xd3], 0
jne 0x4ec8fb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407038
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4ec8e8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4ec908
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407290
jmp 0x4ec908
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407290
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4ee0d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ee13e
mov eax, esi
call fcn.004849a4
test al, al
je 0x4ee13e
mov eax, dword [ebx + 0x84]
call fcn.004845f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ee13e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4ee132
push 0
mov eax, dword [ebx + 0x84]
call fcn.004845f8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047b574
jmp 0x4ee13e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004edf08
pop esi
pop ebx
ret

Function at 0x4ef098
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, 0x599280
xor ecx, ecx
mov edx, 0x804
call fcn.00404d24
mov word [ebp - 2], 0
movzx eax, word [ebp - 2]
add eax, eax
mov dword [ebp - 8], eax
mov word [ebp - 4], 8
test byte [ebp - 8], 1
je 0x4ef0d9
mov eax, dword [ebp - 8]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 8], eax
jmp 0x4ef0dc
shr dword [ebp - 8], 1
dec word [ebp - 4]
cmp word [ebp - 4], 0xffff
jne 0x4ef0c4
movzx eax, word [ebp - 2]
mov edx, dword [ebp - 8]
mov dword [eax*4 + 0x599280], edx
inc word [ebp - 2]
cmp word [ebp - 2], 0x100
jne 0x4ef0b5
pop ecx
pop ecx
pop ebp
ret
Function at 0x4f0224
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041dc3c
test al, al
je 0x4f0366
lea eax, [ebp - 0x6c]
call fcn.004ef3b8
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00407a64
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4f034f
xor eax, eax
push ebp
push 0x4f0348
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4f0331
xor eax, eax
push ebp
push 0x4f032a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4f0313
xor eax, eax
push ebp
push 0x4f030c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x6c]
call fcn.004ef3ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0313
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0331
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f034f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
call fcn.004ef4d0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x7c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5632b4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x5632fc
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov edi, esi
push edi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x5632f2
cmp word [edi], 0x5a4d
jne 0x5632f2
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x5632f2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x563308
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x563514
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 4
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dword [edx], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax], 0
setne al
pop ebp
ret

Function at 0x5635ec
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_SetEndOfFile_1
pop ebp
ret
Function at 0x5638c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x324], ecx
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x314], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x563a63
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x563957
lea eax, [ebp - 0x310]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x56394e
lea eax, [ebp - 0x314]
lea edx, [ebp - 0x310]
mov ecx, 0x105
call fcn.00407b08
mov edx, dword [ebp - 0x314]
mov eax, ebx
mov ecx, 0x563a7c
call fcn.00407cb8
jmp 0x5639b0
mov eax, ebx
call fcn.00406ed0
jmp 0x5639b0
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x5639a9
lea eax, [ebp - 0x31c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
push 0
call fcn.0040759c
mov edx, dword [ebp - 0x31c]
lea eax, [ebp - 0x318]
call fcn.00407b24
mov edx, dword [ebp - 0x318]
mov eax, ebx
mov ecx, 0x563a7c
call fcn.00407cb8
jmp 0x5639b0
mov eax, ebx
call fcn.00406ed0
push dword [ebx]
push 0x563a8c
lea eax, [ebp - 0x324]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 8
call fcn.00562d30
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x328]
push eax
mov cl, 0x30
mov edx, 1
mov eax, esi
call fcn.00562d30
mov edx, dword [ebp - 0x328]
pop eax
call fcn.004075f8
mov edx, dword [ebp - 0x324]
lea eax, [ebp - 0x320]
call fcn.00407b24
push dword [ebp - 0x320]
push 0x563aac
mov eax, ebx
mov edx, 4
call fcn.00407d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x563a6a
lea eax, [ebp - 0x328]
mov edx, 2
call fcn.00406f60
lea eax, [ebp - 0x320]
call fcn.00406ed0
lea eax, [ebp - 0x31c]
call fcn.00406ef4
lea eax, [ebp - 0x318]
mov edx, 2
call fcn.00406f30
ret