Function at 0x418c60
Capabilities:
Capture screenshot
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x485008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x64], 0
push 0x476a1c
push 0x85
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x418d8b
mov eax, dword [ebp - 0x68]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jbe 0x418d8b
mov ecx, dword [ebp - 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x418d8b
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x418d8b
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x418d8b
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0043d720
add esp, 0xc
push 0
lea edx, [ebp - 0xc]
push edx
push 0x488664
push 0x488670
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004061e0
add esp, 0x18
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x50], 0
je 0x418da2
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x64], 0
jne 0x418dc1
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x418f0b
mov edx, dword [0x488664]
push edx
mov eax, dword [0x488670]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [0x488670]
imul eax, dword [0x488664]
imul eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.GDI32.dll_SetBitmapBits]
lea edx, [ebp - 0x3c]
push edx
push 0x18
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x84]
push edx
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x48]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0x64
mov dword [ebp - 0x20], 0x64
mov byte [ebp - 8], 0
xor eax, eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 8], 0
mov byte [ebp - 6], 0xff
mov byte [ebp - 5], 1
push 2
lea ecx, [ebp - 8]
push ecx
push 0xffffff
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00405c20
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439667
mov esp, ebp
pop ebp
ret