joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1190
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x410
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xa9c]
lea ebx, [esi + 0xabc]
test edi, edi
sete al
push ebx
mov dword [esi + 0xa9c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c1226
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x214]
push ecx
push str.RebarC_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
mov eax, dword [esi + 0xa9c]
push eax
push 0x4f5a00
push 0x104
push ecx
call fcn.00439540
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x214]
push ebx
push edx
push eax
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, esi
call fcn.004c0760
pop edi
pop esi
pop ebx
add esp, 0x410
ret

Function at 0x4c1980
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x934]
test eax, eax
jle 0x4c19fe
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f4]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 0xf8]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4c1a0d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x934]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4c19b1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x8f4]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xf8]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4c1a40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x934]
test eax, eax
jle 0x4c1abe
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f4]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 0xf8]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4c1acd
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x934]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4c1a71
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x8f4]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xf4]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4c1b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4de5c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d6450
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004cbad0
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 1
call fcn.004cfe10
lea eax, [esi + 0x30]
push str.BG_SCROLL
push eax
mov dword [esi], 0x4e59dc
mov dword [ebx], 0x4e59d8
mov dword [esi + 0x92c], edi
mov dword [esi + 0x924], edi
mov dword [esi + 0x934], edi
mov dword [esi + 0x70], edi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [esi + 0x94c], edi
mov dword [esi + 0x93c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x918], edi
mov dword [esi + 0x91c], edi
mov dword [esi + 0x950], edi
mov dword [esi + 0x938], edi
mov dword [esi + 0x920], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x944], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c7cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x17c00], edi
je 0x4c7da6
push edi
call fcn.004c50a0
cmp eax, 0xffffffff
jne 0x4c7d31
cmp dword [esi + 0x17be4], edi
je 0x4c7d05
cmp dword [esi + 0x17be8], edi
je 0x4c7d05
mov eax, dword [esi + 0x1524]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x17be4], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004c5be0
jmp 0x4c7da6
mov ecx, dword [esi + 0x1524]
push edi
push 1
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push edi
push edi
push 0x7534
call fcn.00422dd0
mov ecx, eax
call fcn.00422e60
jmp 0x4c7da6
cmp dword [esi + 0x17c04], edi
jne 0x4c7d84
mov edx, dword [esi + 0x1574]
cmp dword [edx], edi
je 0x4c7d84
cmp dword [esi + 0x127c], 0xffffffff
je 0x4c7d84
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4c7d84
cmp dword [esi + 0x1578], edi
jne 0x4c7da6
push 1
mov ecx, esi
call fcn.004c6cf0
test eax, eax
je 0x4c7d7c
mov dword [esi + 0x157c], 1
jmp 0x4c7da6
mov dword [esi + 0x157c], edi
jmp 0x4c7da6
mov eax, dword [esi + 0x1524]
push edi
push 2
push 0xfc7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.004c3900
mov dword [esi + 0x17c00], edi
mov dword [esi + 0x1578], edi
mov dword [esi + 0x127c], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x4ca420
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4ca595
push ebx
push ebp
push edi
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x34d8]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x34d4]
xor ebx, ebx
mov dword [esi + 0x34d8], 0xffffffff
test eax, eax
jbe 0x4ca4ee
lea edi, [esi + 0xf30]
cmp ebx, dword [esp + 0x18]
jne 0x4ca4ca
mov eax, dword [edi - 8]
test eax, eax
jne 0x4ca4ca
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 + 0x3500]
call fcn.004d3480
mov dword [esi + 0x34d8], 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 0x4ca4d9
mov edx, dword [edi - 0x21c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x34d4]
inc ebx
add edi, 0x27c
cmp ebx, eax
jb 0x4ca471
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x34d8]
je 0x4ca520
cmp edi, 0xffffffff
je 0x4ca520
lea eax, [edi + edi*4]
shl eax, 5
sub eax, edi
mov ecx, dword [esi + eax*4 + 0xd1c]
lea eax, [esi + eax*4]
add eax, 0xd20
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x34d8]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4ca55b
mov edx, dword [esi + 0xd14]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xf30]
lea ecx, [esi + 0x3500]
push eax
push 1
call fcn.004d3480
mov dword [esi + 0x34d8], 0
mov eax, dword [esi + 0x46b0]
cmp eax, 1
jne 0x4ca57d
mov edx, dword [esi + 4]
lea ecx, [esi + 0x46c4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4ca595
mov ecx, dword [esi + 4]
lea eax, [esi + 0x46d4]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4cb0d0
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 0x4cb1cc
cmp edi, dword [esi + 0x34d4]
jae 0x4cb1cc
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 + 0xf78]
mov dword [esp + 0x14], eax
mov edx, dword [esi + ecx*4 + 0xf70]
mov ebx, dword [esi + ecx*4 + 0xf7c]
lea esi, [esi + ecx*4]
sub edi, edx
sub ebx, dword [esi + 0xf74]
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.004cac20
mov edx, dword [esi + 0xf74]
mov eax, dword [esi + 0xf70]
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 0x4cb1e0
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 0x4cb316
cmp edi, dword [esi + 0x34d4]
jae 0x4cb316
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 + 0xf88]
mov edx, dword [esi + ecx*4 + 0xf80]
mov ebp, dword [esi + ecx*4 + 0xf8c]
lea esi, [esi + ecx*4]
sub ebx, edx
sub ebp, dword [esi + 0xf84]
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 ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x28], ebx
mov ecx, dword [ecx + 0x464c]
mov dword [esp + 0x20], eax
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
je 0x4cb2ae
call fcn.0047c420
test eax, eax
je 0x4cb2ae
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov ecx, dword [eax + 0x464c]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push 1
push edx
push edi
call fcn.0047ba10
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push edi
call fcn.004cb690
mov eax, dword [esi + 0xf84]
mov ecx, dword [esi + 0xf80]
mov esi, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edi
push ebp
push ebx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x10]
push esi
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4cb9c0
Capabilities:
Hide graphical window

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

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x8c4]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2918]
test eax, eax
je 0x4ce98c
mov eax, dword [esi + 0x2910]
test eax, eax
jne 0x4ce918
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi + 0x31c0]
lea edi, [esi + 0x31c0]
push ecx
mov ecx, edi
mov dword [esi + 0x2914], 1
call dword [eax + 0x34]
push 5
push 0x5117f0
push 0x5117f0
push str.IMG_PROGRESS
push 0x5117f0
mov ecx, edi
call fcn.004becc0
mov edx, dword [esi + 0x11c]
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.004d0230
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004bec70
test edi, edi
je 0x4ce90f
mov ecx, dword [esi + 0x31c8]
lea eax, [esi + 0x31c4]
push 0
push ecx
jmp 0x4ce986
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
jmp 0x4ce986
mov eax, dword [esi + 8]
mov dword [esi + 0x2914], 0
mov edx, dword [0x5ed02c]
push 0
push edx
push 2
push eax
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push 0x5111ec
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 + 0x3b28], eax
call edi
mov ecx, dword [esi + 0x3b28]
push 0
push 0
push 0x409
push ecx
call edi
mov edx, dword [esi + 0x3b28]
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 0x4cfba0
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 + 0xe8]
mov edi, dword [esp + 0x250]
test eax, eax
je 0x4cfc22
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 + 0xe8]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004c0000
mov eax, dword [esi + 0x8a8]
test eax, eax
jne 0x4cfd95
mov ecx, dword [esi + 0x11c]
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 + 0x8ac], 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 0x4cfc8b
add ebp, dword [esi + 0x8b0]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cfca7
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 + 0x8ac]
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 0x4cfcc8
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x11c]
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.004cbb90
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 0x4cfd4b
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 + 0x8a4]
test ecx, ecx
je 0x4cfd67
call fcn.004b86d0
test eax, eax
je 0x4cfd67
mov eax, dword [esi + 0x424]
push eax
jmp 0x4cfd6e
mov ecx, dword [esi + 0x8b4]
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 0x4d2050
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.004d2a60
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d20aa
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x4d2086
push 2
call edi
shr eax, 8
test al, al
je 0x4d20aa
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 0x4d212c
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x100], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0xfc], 0xffffffff
mov dword [esi + 0x104], 0
je 0x4d20db
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1e4], 4
call dword [eax + 0x28]
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x4d2126
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004d5f50
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.004d5f00
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x11c]
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 0x4d5c70
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xa20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x205
lea edi, [esp + 0x218]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa34]
test eax, eax
jne 0x4d5ce4
mov eax, dword [esp + 0xa30]
lea ecx, [esp + 0x10]
push eax
push 0x4f5a00
push ecx
mov dword [esp + 0x18], 0x814
call dword [sym.imp.MSVCRT.dll_swprintf]
lea edx, [esi + 0x468]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x228]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push str.ToolBar
call fcn.00491600
add esp, 0x20
test eax, eax
je 0x4d5deb
mov ecx, 0x205
xor eax, eax
lea edi, [esp + 0x218]
push str.ToolbarEx
rep stosd dword es:[edi], eax
push 0x4f5254
lea eax, [esp + 0x220]
push 9
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 0xf4]
add esp, 0x10
xor ebx, ebx
test eax, eax
jle 0x4d5d82
push ebp
lea edi, [esp + 0x230]
push ebx
mov ecx, esi
call fcn.004d40c0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4d5d73
mov ecx, dword [esi + 0xf0]
push ebp
mov dl, byte [ecx + ebx*4]
lea ecx, [ecx + ebx*4]
mov byte [edi + 4], dl
mov ecx, dword [ecx]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + 0xec]
mov dl, byte [ecx + eax*4 + 0x44]
mov ecx, esi
mov byte [edi + 5], dl
call fcn.004d3a50
test eax, eax
je 0x4d5d6d
mov eax, dword [eax]
mov dword [edi], eax
jmp 0x4d5d73
mov dword [edi], 0
mov eax, dword [esi + 0xf4]
inc ebx
add edi, 8
cmp ebx, eax
jl 0x4d5d25
pop ebp
lea ebx, [esi + 0x468]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5deb
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa30]
lea edx, [esp + 0x10]
push ecx
push 0x4f5a00
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [esi + 0xf4]
add esp, 0xc
lea edx, [esp + 0x218]
lea ecx, [eax*8 + 0x14]
push ebx
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
pop edi
pop esi
pop ebx
add esp, 0xa20
ret 8

Function at 0x4d5fa0
Capabilities:
Hide graphical window

Disassembly:
call fcn.004b3fb0
mov ecx, eax
jmp 0x4d6250
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4d62b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dea4b
push eax
mov eax, 0x1260
mov dword fs:[0], esp
call fcn.004d7fa0
push esi
mov esi, dword [esp + 0x1274]
push edi
push 0x50fcec
mov edi, ecx
push esi
call fcn.00435400
add esp, 8
test eax, eax
je 0x4d6412
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.00435440
add esp, 0x10
test eax, eax
je 0x4d63ab
lea ecx, [esp + 0x220]
push str.iexplore.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d6362
lea edx, [esp + 0x220]
push 0x824
push edx
push 1
push esi
call fcn.00435440
add esp, 0x10
cmp word [esp + 0x220], 0
jne 0x4d6362
lea eax, [esp + 0x220]
push 0x824
push eax
push 0
push esi
call fcn.00435440
add esp, 0x10
lea ecx, [esp + 0x220]
push ecx
push 0x4f5254
push 0x824
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov word [edi + 0x1046], 0
push edi
call fcn.00490590
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.0048cc20
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x1278], 0
call fcn.0048ccf0
mov esi, eax
test esi, esi
je 0x4d63f9
push esi
lea ecx, [esp + 0xc]
call fcn.0048cdf0
test eax, eax
je 0x4d63ef
push 0x824
push edi
push esi
lea ecx, [esp + 0x14]
call fcn.0048ce30
push esi
lea ecx, [esp + 0xc]
call fcn.0048cd60
lea ecx, [esp + 8]
mov dword [esp + 0x1270], 0xffffffff
call fcn.0048cc70
jmp 0x4d6387
push 0x4f5360
push esi
call fcn.00435400
add esp, 8
test eax, eax
push esi
je 0x4d636a
push 0x824
push edi
push 0x5117f0
push 0x50a6b0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4d6387

Function at 0x4d6950
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