joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484d60
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x484ed5
push ebx
push ebp
push edi
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x3330]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x332c]
xor ebx, ebx
mov dword [esi + 0x3330], 0xffffffff
test eax, eax
jbe 0x484e2e
lea edi, [esi + 0xd88]
cmp ebx, dword [esp + 0x18]
jne 0x484e0a
mov eax, dword [edi - 8]
test eax, eax
jne 0x484e0a
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi - 0x21c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push edi
push 1
lea ecx, [esi + 0x3358]
call fcn.00492090
mov dword [esi + 0x3330], ebx
mov eax, dword [edi - 0x214]
lea ecx, [edi - 0x210]
push eax
push ecx
push 0x1503
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x484e19
mov edx, dword [edi - 0x21c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x332c]
inc ebx
add edi, 0x27c
cmp ebx, eax
jb 0x484db1
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x3330]
je 0x484e60
cmp edi, 0xffffffff
je 0x484e60
lea eax, [edi + edi*4]
shl eax, 5
sub eax, edi
mov ecx, dword [esi + eax*4 + 0xb74]
lea eax, [esi + eax*4]
add eax, 0xb78
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x3330]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x484e9b
mov edx, dword [esi + 0xb6c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xd88]
lea ecx, [esi + 0x3358]
push eax
push 1
call fcn.00492090
mov dword [esi + 0x3330], 0
mov eax, dword [esi + 0x41f8]
cmp eax, 1
jne 0x484ebd
mov edx, dword [esi + 4]
lea ecx, [esi + 0x420c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x484ed5
mov ecx, dword [esi + 4]
lea eax, [esi + 0x421c]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4858a0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x48599c
cmp edi, dword [esi + 0x332c]
jae 0x48599c
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 5
sub ecx, edi
mov edi, dword [esi + ecx*4 + 0xdd0]
mov dword [esp + 0x14], eax
mov edx, dword [esi + ecx*4 + 0xdc8]
mov ebx, dword [esi + ecx*4 + 0xdd4]
lea esi, [esi + ecx*4]
sub edi, edx
sub ebx, dword [esi + 0xdcc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.00485470
mov edx, dword [esi + 0xdcc]
mov eax, dword [esi + 0xdc8]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4859b0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 8], esi
je 0x485ac9
cmp edi, dword [esi + 0x332c]
jae 0x485ac9
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 5
sub ecx, edi
mov dword [esp + 0x18], eax
mov ebx, dword [esi + ecx*4 + 0xde0]
mov edx, dword [esi + ecx*4 + 0xdd8]
mov ebp, dword [esi + ecx*4 + 0xde4]
lea esi, [esi + ecx*4]
sub ebx, edx
sub ebp, dword [esi + 0xddc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push eax
lea eax, [esp + 0x38]
push 1
push eax
push edi
add ecx, 0x4160
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
call fcn.004519e0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push edi
call fcn.00485e40
mov ecx, dword [esi + 0xddc]
mov edx, dword [esi + 0xdd8]
mov esi, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edi
push ebp
push ebx
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x10]
push esi
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4860f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb64], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x48ad63
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp dword [esi + 0x17554], ecx
je 0x48af1f
mov eax, dword [esi + 0xf90]
cmp eax, ecx
je 0x48af1f
mov edi, dword [esi + 0xf8c]
inc edi
mov edx, edi
mov dword [esi + 0xf8c], edi
cmp edx, eax
jl 0x48ad9c
mov dword [esi + 0xf8c], ecx
mov eax, dword [esi + 0x1334]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1338]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x17560]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1755c]
cmp ecx, eax
mov dword [esp + 0xc], ecx
jg 0x48af1f
lea edx, [esi + ecx*4 + 0x16f3c]
push ebx
push ebp
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
lea edx, [ebp*8]
sub edx, ebp
lea eax, [ebp + edx*4]
lea eax, [eax + eax*2]
mov edx, dword [esi + eax*4 + 0x1484]
lea eax, [esi + eax*4]
test edx, edx
mov dword [esp + 0x18], eax
je 0x48aeff
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov edi, eax
mov eax, dword [esp + 0x2c]
push edx
sub eax, dword [esp + 0x28]
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
lea ecx, [esp + 0x28]
push ebp
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0048a4e0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x34]
add edx, 0x1448
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esi + 0x12fc]
mov eax, dword [esp + 0x40]
add ecx, ebp
mov ebp, dword [esi + 0x1338]
push 0xcc0020
sub eax, ebp
push 0
sub eax, ecx
push 0
cdq
sub eax, edx
push edi
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x44]
push ebp
mov dword [esp + 0x4c], ecx
lea edx, [ecx + ebp]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x1308]
add eax, edx
mov edx, dword [esi + 0x1334]
add edx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x1334]
push edx
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x1c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x17560]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jle 0x48addd
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x34
ret
Function at 0x48b840
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
xor ebx, ebx
mov dword [esi + 0x17590], ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov dword [esi + 0x17578], eax
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
mov dword [esp + 0x10], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x1318]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
cmp dword [edx + 0x30], ebx
je 0x48b8ce
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esi + 0x12a8]
push ecx
push edx
call edi
test eax, eax
je 0x48b8ce
mov ecx, esi
mov dword [esi + 0x1757c], 1
mov dword [esi + 0x17578], ebx
call fcn.0048bb30
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esi + 0x12b8]
push ecx
push edx
call edi
test eax, eax
je 0x48b90b
mov ecx, esi
mov dword [esi + 0x17594], ebx
mov dword [esi + 0x17584], 1
mov dword [esi + 0x17578], ebx
call fcn.0048bb30
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0x17558]
mov dword [esi + 0x1758c], 1
push 0x11
mov ebx, dword [esi + eax*4 + 0x16f3c]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x48b953
cmp dword [esi + 0x17554], 1
jle 0x48b953
mov ecx, dword [esi + 0x1318]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x48b953
mov ecx, esi
call fcn.0048c590
jmp 0x48ba20
lea edx, [esi + 0xf68]
mov ecx, esi
push edx
call fcn.0048b080
mov edi, eax
cmp edi, 0xffffffff
je 0x48b9fc
cmp edi, ebx
je 0x48b996
push 0
push edi
mov ecx, esi
mov dword [esi + 0x17590], 1
call fcn.0048b5f0
lea eax, [esi + 0xf60]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x48ba20
mov eax, dword [esi + 0x1318]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x48b9d7
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x48b9d7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0048d0d0
test eax, eax
je 0x48b9d7
push edi
mov ecx, esi
call fcn.0048bf40
lea eax, [esi + 0xf60]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x48ba20
mov edx, dword [esi + 0x12cc]
push 0
push 5
push 0xfc7
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xf60]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x48ba20
mov dword [esi + 0x1758c], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x176f8]
push ecx
push edx
call fcn.004943e0
add esp, 8
xor eax, eax
pop edi
mov dword [esi + 0x17594], eax
mov dword [esi + 0x17598], eax
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x48d920
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x175a0], edi
je 0x48da00
push edi
call fcn.0048b080
cmp eax, 0xffffffff
jne 0x48d98c
cmp dword [esi + 0x17584], edi
je 0x48d975
cmp dword [esi + 0x17588], edi
je 0x48d975
mov eax, dword [esi + 0x12cc]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x17584], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0048bb30
jmp 0x48da00
mov ecx, dword [esi + 0x12cc]
push edi
push 1
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x48da00
cmp dword [esi + 0x175a4], edi
jne 0x48d9df
mov edx, dword [esi + 0x1318]
cmp dword [edx], edi
je 0x48d9df
cmp dword [esi + 0xf74], 0xffffffff
je 0x48d9df
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x48d9df
cmp dword [esi + 0x131c], edi
jne 0x48da00
push 1
mov ecx, esi
call fcn.0048cab0
test eax, eax
je 0x48d9d7
mov dword [esi + 0x1320], 1
jmp 0x48da00
mov dword [esi + 0x1320], edi
jmp 0x48da00
mov eax, dword [esi + 0x12cc]
push edi
push 2
push 0xfc7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00489d90
mov dword [esi + 0x175a0], edi
mov dword [esi + 0x131c], edi
mov dword [esi + 0xf74], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x48efe0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x23c
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xd4]
mov edi, dword [esp + 0x250]
test eax, eax
je 0x48f062
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
sub eax, ebp
mov ebp, dword [esp + 0x14]
sub ecx, edx
add ecx, ebp
add eax, ebx
push ecx
mov ecx, dword [esi + 0xd4]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00480b90
mov eax, dword [esi + 0x6e4]
test eax, eax
jne 0x48f1ae
mov ecx, dword [esi + 0x108]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x6e8], 3
test eax, eax
lea ebx, [edx + 3]
je 0x48f0c0
mov ecx, dword [esp + 0x14]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
sub eax, 0x10
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esi + 0x6e8]
lea ebx, [eax + ebx + 0x10]
mov eax, dword [esp + 0x18]
sub eax, 0x10
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov dword [esp + 0x18], eax
jge 0x48f0e1
mov dword [esp + 0x18], ebx
mov edx, dword [esi + 0x108]
lea ecx, [esp + 0x44]
push 0x104
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 2
mov ecx, esi
call fcn.004862a0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x454]
test eax, eax
je 0x48f164
mov eax, dword [esi + 0x450]
push eax
push edi
call ebp
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea ecx, [esp + 0x14]
push 1
push ecx
call ebx
lea edx, [esp + 0x10]
push 0x48824
push edx
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
push ecx
call ebx
mov ecx, dword [esi + 0x6e0]
test ecx, ecx
je 0x48f180
call fcn.00479500
test eax, eax
je 0x48f180
mov edx, dword [esi + 0x41c]
push edx
jmp 0x48f187
mov eax, dword [esi + 0x6ec]
push eax
push edi
call ebp
lea ecx, [esp + 0x10]
push 0x48824
push ecx
lea edx, [esp + 0x4c]
push 0xffffffffffffffff
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x20]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret 4
Function at 0x491060
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4910b5
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x491091
push 2
call edi
shr eax, 8
test al, al
je 0x4910b5
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [esi + 8]
je 0x491137
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xec], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xf0], 0
je 0x4910e6
push eax
mov ecx, esi
call fcn.00491cd0
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1d0], 4
call fcn.00491cd0
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x491131
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.00493b40
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.00493af0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x108]
push eax
push 0xffffffffffffffff
push 0x37ea
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
add esp, 8
ret
Function at 0x493b90
Capabilities:
Hide graphical window

Disassembly:
call fcn.00474ea0
mov ecx, eax
jmp 0x493e40
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x493ea0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cc81b
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.00495c50
push esi
mov esi, dword [esp + 0x1274]
push edi
push 0x4ecd8c
mov edi, ecx
push esi
call fcn.00422bf0
add esp, 8
test eax, eax
je 0x494008
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.00422c30
add esp, 0x10
test eax, eax
je 0x493fa1
lea ecx, [esp + 0x220]
push str.iexplore.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x493f58
lea edx, [esp + 0x220]
push 0x824
push edx
push 1
push esi
call fcn.00422c30
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
test eax, eax
jne 0x493f58
lea ecx, [esp + 0x220]
push 0x824
push ecx
push eax
push esi
call fcn.00422c30
add esp, 0x10
lea edx, [esp + 0x220]
push edx
push 0x4de3ac
push 0x824
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [edi + 0x1046], 0
push edi
call fcn.004610c0
mov ecx, dword [esp + 0x126c]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x126c
ret 4
lea ecx, [esp + 8]
call fcn.0045ea70
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1278], 0
call fcn.0045eb40
mov esi, eax
test esi, esi
je 0x493fef
push esi
lea ecx, [esp + 0xc]
call fcn.0045ec50
test eax, eax
je 0x493fe5
push 0x824
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.0045ec90
push esi
lea ecx, [esp + 0xc]
call fcn.0045ebc0
lea ecx, [esp + 8]
mov dword [esp + 0x1270], 0xffffffff
call fcn.0045eac0
jmp 0x493f7d
push 0x4de438
push esi
call fcn.00422bf0
add esp, 8
test eax, eax
push esi
je 0x493f60
push 0x824
push edi
push 0x4f04e0
push 0x4ea258
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x493f7d

Function at 0x494520
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x1c]
mov esi, eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 8]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x28
ret
Function at 0x494c9e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d02e0
push 0x495e1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x494d24
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x494cfc
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x494d2a
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x494cf4
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x494cf4
mov al, 1
jmp 0x494cf6
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x494d89
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, dword [0x5cbd50]
test esi, esi
je 0x494dad
lea eax, [esp + 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
jmp 0x494d91
pop esi
pop ecx
ret

Function at 0x494db0
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5cbd5c], eax
je 0x494dc6
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x5cbd6c]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x494e13
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x494e04
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x494e04
push eax
call fcn.00494e7a
pop ecx
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.00495c27
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x494dd5
mov dword [0x5cbd6c], ebx
call fcn.00494e53
mov esi, dword [0x5cbd68]
cmp esi, ebx
je 0x494e40
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.00495c27
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x494e28
pop edi
mov dword [0x5cbd68], ebx
mov dword [0x5cbd5c], ebx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4950fd
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x5cbd60]
push esi
test eax, eax
push edi
jne 0x495167
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x495165
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
jne 0x495129
push 8
pop edi
jmp 0x495144
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x495155
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.00495c27
pop ecx
and dword [0x5cbd64], 0
mov dword [0x5cbd60], edi
mov eax, edi
jmp 0x495167
mov dword [esi + 4], edi
mov eax, dword [0x5cbd68]
mov dword [esi], eax
mov dword [0x5cbd68], esi
xor eax, eax
pop edi
pop esi
ret 4