Function at 0x403920
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5c2fd0]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x90], 0
mov edi, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
jne 0x40398a
mov edx, dword [esi + 0xa0]
cmp eax, dword [esi + 0xa4]
jg 0x40397a
jl 0x403974
cmp edi, edx
jae 0x40397a
mov dword [esp + 0x14], edi
jmp 0x403986
mov eax, dword [esi + 0xa4]
mov edi, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0
test ecx, ecx
jne 0x4039ba
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0040b927
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4039b3
mov dword [esp + 0x24], eax
jmp 0x4039ba
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [esp + 0x38], xmm0
movaps xmmword [esp + 0x48], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esi + 0x90], 0
lea edx, [esi + 0xa8]
mov dword [esp + 0x28], edx
je 0x403a1c
mov ecx, dword [esi + 0xac]
lea eax, [edi + 3]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
imul eax, ecx
mov dword [esp + 0x18], ecx
add eax, 3
add eax, edi
mov dword [esp + 0x48], eax
jmp 0x403abc
mov eax, dword [esi + 0xa0]
mov edi, dword [esi + 0x98]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xa4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
sub eax, 5
mov dword [esp + 0x18], edi
sub esi, edi
cdq
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], 3
sbb ecx, dword [edi + 0x9c]
push ecx
push esi
push edx
push eax
call fcn.00546ec0
mov esi, dword [edi + 0xa0]
mov ecx, edi
sub esi, dword [esp + 0x18]
mov ecx, dword [ecx + 0xa4]
sbb ecx, dword [edi + 0x9c]
push ecx
push esi
push edx
push eax
call fcn.00546cb0
mov ecx, dword [esp + 0x28]
add eax, 3
mov dword [esp + 0x48], eax
add eax, 0xfffffffd
cdq
mov edi, dword [esp + 0x1c]
idiv dword [ecx]
mov dword [esp + 0x18], eax
cmp dword [esp + 0xc], edi
jl 0x403abc
jg 0x403ab7
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x14], ecx
jb 0x403abc
inc eax
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x3c]
mov esi, eax
sub edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
push edx
push ecx
push edi
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xf
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x30]
push esi
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x10]
push dword [esi + 0xc0]
call edi
push dword [esi + 0xc8]
mov edi, eax
push 1
push 0
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreatePen]
push edi
push dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x28], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push dword [esp + 0x10]
mov edi, eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edx, dword [esp + 0x30]
inc ecx
push 6
push 6
push dword [esp + 0x44]
inc edx
mov dword [esp + 0x40], ecx
push dword [esp + 0x44]
mov dword [esp + 0x40], edx
push ecx
push edx
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_RoundRect]
push edi
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x20]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esp + 0x1c]
call edi
lea eax, [esp + 0x50]
mov dword [esp + 0x54], 0
push eax
mov dword [esp + 0x54], 1
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
push dword [eax + 0xc4]
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push edi
push dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x28], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push dword [esp + 0x10]
mov edi, eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov edx, dword [esp + 0x30]
dec ecx
push 5
push 5
push dword [esp + 0x44]
dec edx
mov dword [esp + 0x40], ecx
push dword [esp + 0x44]
mov dword [esp + 0x40], edx
push ecx
push edx
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_RoundRect]
push edi
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x1c]
call esi
add dword [esp + 0x44], 3
sub dword [esp + 0x4c], 2
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
test ecx, ecx
je 0x403c83
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x10
mov eax, esp
push ecx
push edi
mov ecx, esi
movups xmmword [eax], xmm0
call fcn.00403d60
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push edi
push eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push eax
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x28]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esp + 0x14]
call edi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x403cdb
push dword [eax + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.00546259
mov esp, ebp
pop ebp
ret 4