joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b940
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 0x48ba59
cmp edi, dword [esi + 0x3330]
jae 0x48ba59
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 + 0xde4]
mov edx, dword [esi + ecx*4 + 0xddc]
mov ebp, dword [esi + ecx*4 + 0xde8]
lea esi, [esi + ecx*4]
sub ebx, edx
sub ebp, dword [esi + 0xde0]
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, 0x4174
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
call fcn.004571e0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push edi
call fcn.0048bdd0
mov ecx, dword [esi + 0xde0]
mov edx, dword [esi + 0xddc]
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 0x48c0a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb68], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x48dc40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x718]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x276c]
test eax, eax
je 0x48dd6c
mov eax, dword [esi + 0x2764]
test eax, eax
jne 0x48dcf8
mov ecx, dword [esi + 0xdc]
mov eax, dword [esi + 0x2e5c]
lea edi, [esi + 0x2e5c]
push ecx
mov ecx, edi
mov dword [esi + 0x2768], 1
call dword [eax + 0xc]
push 5
push 0x4f5820
push 0x4f5820
push str.IMG_PROGRESS
push 0x4f5820
mov ecx, edi
call fcn.004857f0
mov edx, dword [esi + 0x110]
mov eax, dword [esi + 8]
push 1
push 0
push 0
push 2
push edx
push eax
push str.ProgressBar
mov ecx, edi
call fcn.004955c0
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004857a0
test edi, edi
je 0x48dcef
mov ecx, dword [esi + 0x2e64]
lea eax, [esi + 0x2e60]
push 0
push ecx
jmp 0x48dd66
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
jmp 0x48dd66
mov eax, dword [esi + 8]
mov dword [esi + 0x2768], 0
mov edx, dword [0x5d00a4]
push 0
push edx
push 2
push eax
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push 0x4f32fc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x3620], eax
call edi
mov ecx, dword [esi + 0x3620]
push 0
push 0
push 0x409
push ecx
call edi
mov edx, dword [esi + 0x3620]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 8]
push 0
push 0x1f4
push 0xc1c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x490d25
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp dword [esi + 0x17970], ecx
je 0x490f1f
mov eax, dword [esi + 0xfac]
cmp eax, ecx
je 0x490f1f
mov edi, dword [esi + 0xfa8]
inc edi
mov edx, edi
mov dword [esi + 0xfa8], edi
cmp edx, eax
jl 0x490d5e
mov dword [esi + 0xfa8], ecx
mov eax, dword [esi + 0x1350]
mov edx, dword [esi + 0x17978]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1797c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x1354]
cmp edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], edx
jg 0x490f1f
lea eax, [esi + edx*4 + 0x17358]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx]
lea eax, [ebp + ebp*4]
lea ecx, [ebp + eax*2]
shl ecx, 5
lea eax, [ecx + esi]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 0x14b0]
test ecx, ecx
jle 0x490dce
dec ecx
test ecx, ecx
mov dword [eax + 0x14b0], ecx
je 0x490f00
lea eax, [ebp + ebp*4 + 0x4b]
lea ecx, [ebp + eax*2 + 0xf]
shl ecx, 5
cmp dword [ecx + esi], 0
je 0x490eda
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x30]
sub eax, edx
mov edx, dword [esp + 0x24]
sub ecx, edx
push eax
push ecx
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 edx, [esp + 0x28]
push ebp
push edx
push edi
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004904b0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
add eax, 0x1464
push eax
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esi + 0x1318]
mov eax, dword [esp + 0x40]
add ecx, ebp
mov ebp, dword [esi + 0x1354]
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 + 0x1324]
add eax, edx
mov edx, dword [esi + 0x1350]
add edx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x1350]
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 edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x1797c]
inc edx
add ecx, 4
cmp edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jle 0x490d9d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea eax, [ebp + ebp*4 + 0x4b]
push 1
push 0xffffffffffffffff
push 0
lea ecx, [ebp + eax*2 + 0xf]
shl ecx, 5
mov dword [ecx + esi], 1
mov ecx, esi
call fcn.0048fd50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x491810
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 + 0x179ac], ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov dword [esi + 0x17994], 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 + 0x1334]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
cmp dword [edx + 0x30], ebx
je 0x49189e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esi + 0x12c4]
push ecx
push edx
call edi
test eax, eax
je 0x49189e
mov ecx, esi
mov dword [esi + 0x17998], 1
mov dword [esi + 0x17994], ebx
call fcn.00491b00
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 + 0x12d4]
push ecx
push edx
call edi
test eax, eax
je 0x4918db
mov ecx, esi
mov dword [esi + 0x179b0], ebx
mov dword [esi + 0x179a0], 1
mov dword [esi + 0x17994], ebx
call fcn.00491b00
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0x17974]
mov dword [esi + 0x179a8], 1
push 0x11
mov ebx, dword [esi + eax*4 + 0x17358]
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x491923
cmp dword [esi + 0x17970], 1
jle 0x491923
mov ecx, dword [esi + 0x1334]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x491923
mov ecx, esi
call fcn.00492560
jmp 0x4919f0
lea edx, [esi + 0xf84]
mov ecx, esi
push edx
call fcn.00491070
mov edi, eax
cmp edi, 0xffffffff
je 0x4919cc
cmp edi, ebx
je 0x491966
push 0
push edi
mov ecx, esi
mov dword [esi + 0x179ac], 1
call fcn.004915d0
lea eax, [esi + 0xf7c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4919f0
mov eax, dword [esi + 0x1334]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4919a7
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4919a7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004930c0
test eax, eax
je 0x4919a7
push edi
mov ecx, esi
call fcn.00491f10
lea eax, [esi + 0xf7c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4919f0
mov edx, dword [esi + 0x12e8]
push 0
push 5
push 0xfc7
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xf7c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4919f0
mov dword [esi + 0x179a8], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x17b14]
push ecx
push edx
call fcn.0049a300
add esp, 8
xor eax, eax
pop edi
mov dword [esi + 0x179b0], eax
mov dword [esi + 0x179b4], eax
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x4938c0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x179bc], edi
je 0x4939a0
push edi
call fcn.00491070
cmp eax, 0xffffffff
jne 0x49392c
cmp dword [esi + 0x179a0], edi
je 0x493915
cmp dword [esi + 0x179a4], edi
je 0x493915
mov eax, dword [esi + 0x12e8]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x179a0], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00491b00
jmp 0x4939a0
mov ecx, dword [esi + 0x12e8]
push edi
push 1
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4939a0
cmp dword [esi + 0x179c0], edi
jne 0x49397f
mov edx, dword [esi + 0x1334]
cmp dword [edx], edi
je 0x49397f
cmp dword [esi + 0xf90], 0xffffffff
je 0x49397f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x49397f
cmp dword [esi + 0x1338], edi
jne 0x4939a0
push 1
mov ecx, esi
call fcn.00492aa0
test eax, eax
je 0x493977
mov dword [esi + 0x133c], 1
jmp 0x4939a0
mov dword [esi + 0x133c], edi
jmp 0x4939a0
mov eax, dword [esi + 0x12e8]
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.0048fd50
mov dword [esi + 0x179bc], edi
mov dword [esi + 0x1338], edi
mov dword [esi + 0xf90], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x494f00
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x23c
lea eax, [esp + 4]
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 + 0xdc]
mov edi, dword [esp + 0x250]
test eax, eax
je 0x494f82
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 + 0x14]
sub eax, ebp
mov ebp, dword [esp + 0x18]
sub ecx, edx
add ecx, ebp
add eax, ebx
push ecx
mov ecx, dword [esi + 0xdc]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00486b30
mov eax, dword [esi + 0x6ec]
test eax, eax
jne 0x4950f5
mov ecx, dword [esi + 0x110]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push 2
sub eax, ecx
mov dword [esi + 0x6f0], 3
sub eax, 0x10
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esi + 8]
sar ebx, 1
push eax
add ebx, ecx
lea ebp, [edx + 6]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x494feb
add ebp, dword [esi + 0x6f4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495007
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 0x6f0]
lea eax, [ecx + ebp + 0x10]
mov ecx, dword [esp + 0x1c]
sub ecx, 0x10
mov dword [esp + 0x14], eax
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jge 0x495028
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x110]
lea edx, [esp + 0x44]
push 0x104
push edx
push eax
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.0048c250
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x4950ab
mov ecx, dword [esi + 0x458]
push ecx
push edi
call ebp
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea edx, [esp + 0x18]
push 1
push edx
call ebx
lea eax, [esp + 0x14]
push 0x48824
push eax
lea ecx, [esp + 0x4c]
push 0xffffffffffffffff
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call ebx
mov ecx, dword [esi + 0x6e8]
test ecx, ecx
je 0x4950c7
call fcn.0047f500
test eax, eax
je 0x4950c7
mov eax, dword [esi + 0x424]
push eax
jmp 0x4950ce
mov ecx, dword [esi + 0x6f8]
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0x48824
push edx
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret 4
Function at 0x496fb0
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 0x497005
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x496fe1
push 2
call edi
shr eax, 8
test al, al
je 0x497005
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 0x497087
mov eax, dword [esi + 0xf0]
mov dword [esi + 0xf4], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0xf0], 0xffffffff
mov dword [esi + 0xf8], 0
je 0x497036
push eax
mov ecx, esi
call fcn.00497c10
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1d8], 4
call fcn.00497c10
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x497081
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.00499a60
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.00499a10
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x110]
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 0x499ab0
Capabilities:
Hide graphical window

Disassembly:
call fcn.0047afb0
mov ecx, eax
jmp 0x499d60
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x499dc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d167b
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.0049bb40
push esi
mov esi, dword [esp + 0x1274]
push edi
push 0x4f203c
mov edi, ecx
push esi
call fcn.00425660
add esp, 8
test eax, eax
je 0x499f28
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.004256a0
add esp, 0x10
test eax, eax
je 0x499ec1
lea ecx, [esp + 0x220]
push str.iexplore.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x499e78
lea edx, [esp + 0x220]
push 0x824
push edx
push 1
push esi
call fcn.004256a0
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
test eax, eax
jne 0x499e78
lea ecx, [esp + 0x220]
push 0x824
push ecx
push eax
push esi
call fcn.004256a0
add esp, 0x10
lea edx, [esp + 0x220]
push edx
push 0x4e33c0
push 0x824
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [edi + 0x1046], 0
push edi
call fcn.00466890
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.004641a0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1278], 0
call fcn.00464270
mov esi, eax
test esi, esi
je 0x499f0f
push esi
lea ecx, [esp + 0xc]
call fcn.00464380
test eax, eax
je 0x499f05
push 0x824
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.004643c0
push esi
lea ecx, [esp + 0xc]
call fcn.004642f0
lea ecx, [esp + 8]
mov dword [esp + 0x1270], 0xffffffff
call fcn.004641f0
jmp 0x499e9d
push 0x4e344c
push esi
call fcn.00425660
add esp, 8
test eax, eax
push esi
je 0x499e80
push 0x824
push edi
push 0x4f5820
push 0x4ef740
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x499e9d

Function at 0x49a3f0
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 0x49ab6e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5518
push 0x49bd10
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 0x49abf4
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x49abcc
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x49abfa
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x49abc4
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x49abc4
mov al, 1
jmp 0x49abc6
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 0x49ac59
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, dword [0x5d10b8]
test esi, esi
je 0x49ac7d
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 0x49ac61
pop esi
pop ecx
ret

Function at 0x49ac80
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5d10c4], eax
je 0x49ac96
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x5d10d4]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x49ace3
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 0x49acd4
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x49acd4
push eax
call fcn.0049ad4a
pop ecx
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.0049bb1b
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x49aca5
mov dword [0x5d10d4], ebx
call fcn.0049ad23
mov esi, dword [0x5d10d0]
cmp esi, ebx
je 0x49ad10
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.0049bb1b
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x49acf8
pop edi
mov dword [0x5d10d0], ebx
mov dword [0x5d10c4], ebx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x49afcd
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x5d10c8]
push esi
test eax, eax
push edi
jne 0x49b037
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x49b035
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
jne 0x49aff9
push 8
pop edi
jmp 0x49b014
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x49b025
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0049bb1b
pop ecx
and dword [0x5d10cc], 0
mov dword [0x5d10c8], edi
mov eax, edi
jmp 0x49b037
mov dword [esi + 4], edi
mov eax, dword [0x5d10d0]
mov dword [esi], eax
mov dword [0x5d10d0], esi
xor eax, eax
pop edi
pop esi
ret 4