Function at 0x4636a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50600d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x567e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x104], 0
mov dword [ebp - 4], 0
je 0x4638fe
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4638fe
cmp eax, 6
jl 0x4638fe
xor ebx, ebx
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.0046a050
test eax, eax
je 0x4638fe
mov edi, dword [ebp - 0x10]
push ecx
mov ecx, esp
push 0x5261a8
call fcn.00420240
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0046a100
xor ecx, ecx
cmp cx, ax
je 0x4638fe
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + 0x1c]
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00421620
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push 0x514694
call fcn.00420240
push 0x3a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046a9e0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push str.idres
push eax
call fcn.0045bc00
add esp, 8
test al, al
je 0x4637ab
push ebx
push ebx
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0046a2c0
push eax
mov ecx, esi
call fcn.00469ee0
mov ebx, eax
mov dword [ebp - 0x1c], ebx
jmp 0x463804
lea eax, [ebp - 0x18]
push str.iddll
push eax
call fcn.0045bc00
add esp, 8
test al, al
je 0x4637e0
push 0
push 0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0046a2c0
push 0
push eax
mov ecx, esi
call fcn.00469e40
mov ebx, eax
mov dword [ebp - 0x1c], ebx
jmp 0x463804
lea eax, [ebp - 0x18]
push 0x5265ec
push eax
call fcn.0045bc00
add esp, 8
test al, al
je 0x463804
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00469ec0
mov ebx, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
call fcn.00420310
lea ecx, [ebp - 0x18]
call fcn.00420310
test ebx, ebx
je 0x4638fe
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
push eax
push 0x18
push ebx
mov dword [ebp - 0x10], 0
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x463847
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add ecx, edi
add edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], edx
cmp edi, ecx
jge 0x4638e8
mov esi, dword [ebp + 0x10]
jmp 0x463880
mov eax, dword [ebp - 0x18]
add eax, edi
cmp ecx, eax
mov dword [ebp + 0x18], eax
mov ebx, eax
cmovl ebx, ecx
mov ecx, esi
cmp esi, edx
jge 0x4638d6
sub ebx, edi
jmp 0x4638a0
mov esi, dword [ebp - 0x10]
push 0xcc0020
push 0
add esi, ecx
push 0
push dword [ebp - 0x20]
cmp edx, esi
mov eax, esi
cmovl eax, edx
sub eax, ecx
push eax
push ebx
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp + 0x14]
mov ecx, esi
cmp ecx, edx
jl 0x4638a0
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, eax
cmp edi, ecx
jl 0x463880
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp + 0x1c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463919
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18