Function at 0x100308a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e2cda
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10271304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
cmp dword [ebx + 0xa8], 0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
je 0x10030903
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x8c], edx
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], edx
mov eax, dword [0x10296710]
test eax, eax
jne 0x10030944
push 0x660
call fcn.10043366
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10030930
mov ecx, eax
call fcn.1002cb70
jmp 0x10030932
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10296710], eax
mov esi, dword [ebx + 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
test esi, esi
je 0x10030b4b
cmp dword [ebx + 0x14], 0
je 0x10030b4b
mov eax, dword [ebx + 0x88]
cmp ecx, eax
cmovge ecx, eax
mov eax, dword [ebx + 0x80]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebx + 0x8c]
cmp edx, eax
mov dword [ebp + 8], ecx
cmovge edx, eax
mov eax, dword [ebx + 0x84]
cmp edx, eax
cmovle edx, eax
mov dword [ebp + 0xc], edx
cmp esi, 4
jne 0x100309a8
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0xcc]
call fcn.10031720
lea ecx, [ebx + 8]
call fcn.1002f220
mov edi, dword [ecx]
mov esi, eax
push esi
call fcn.10047d7a
add esp, 4
mov bh, al
push esi
call fcn.10047d85
add esp, 4
mov bl, al
push esi
call fcn.10047d90
movzx ecx, al
add esp, 4
or ecx, 0xffffff00
movzx eax, bl
shl ecx, 8
or ecx, eax
movd xmm0, edi
shl ecx, 8
movzx eax, bh
or ecx, eax
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
cvtdq2ps xmm0, xmm0
push 0
push ecx
movss dword [esp], xmm0
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0xb8]
cmp eax, 5
je 0x10030b0a
cmp eax, 4
je 0x10030b0a
call fcn.10026690
mov edi, dword [sym.imp.USER32.dll_CopyRect]
movups xmm0, xmmword [eax + 0x1b4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x20], xmm0
call edi
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x24]
mov esi, eax
sub edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
push edx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push ecx
call fcn.10026690
add esp, 4
mov ecx, eax
call fcn.1002d6b0
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x50]
push dword [ebp + 8]
push eax
push esi
call fcn.100312a0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x8c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call edi
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
push 0xcc0020
push edx
push ecx
push esi
sub eax, edx
push eax
mov eax, dword [ebp - 0x38]
sub eax, ecx
push eax
push edx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [ebp - 0x44]
jmp 0x10030b30
mov edi, dword [ebp - 0x48]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, ebx
push dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.100312a0
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 8]
push dword [ebp - 0x50]
mov dword [ebx + 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x9c], eax
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004338a
mov esp, ebp
pop ebp
ret 8