Function at 0x414b30
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ed42
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x415004
push 0xff6400
lea ecx, [esp + 0x20]
call fcn.00433b76
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x5c], edi
call fcn.00433a93
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 8
call fcn.0042fede
add esp, 4
cmp eax, edi
je 0x414bb3
mov dword [eax + 4], edi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
push 0x10
call fcn.0042fede
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x58], 1
je 0x414bd5
mov ecx, eax
call fcn.004330f6
mov esi, eax
jmp 0x414bd7
xor esi, esi
test ebx, ebx
mov byte [esp + 0x58], 0
jne 0x414be4
xor eax, eax
jmp 0x414be7
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004336ab
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0xd4
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
mov ecx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, dword [esp + 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
mov edx, ecx
sub edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
sub edx, eax
sub edx, 3
mov dword [esp + 0x14], 0
js 0x414c9f
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push 0
push edx
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
lea ecx, [edx + eax - 3]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
sub edx, eax
sub edx, 3
cmp ecx, edx
jle 0x414c57
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
sub ecx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x4c]
push edx
push eax
sub ecx, eax
mov eax, dword [ebp + 0xc]
push 0
push ecx
mov ecx, dword [eax + 4]
push ecx
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414ccf
mov eax, dword [eax + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x94
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
mov ecx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, dword [esp + 0x30]
mov edx, ecx
sub edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
sub edx, eax
cmp edx, 1
mov dword [esp + 0x14], 1
jl 0x414d80
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0xc]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [edx + 4]
push ecx
push 0
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
lea edx, [ecx + eax - 3]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
sub ecx, eax
cmp edx, ecx
jle 0x414d3b
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 4]
sub ecx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x48]
push eax
sub ecx, eax
mov eax, dword [ebp + 0xc]
push edx
push ecx
mov ecx, dword [eax + 4]
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414db0
mov eax, dword [eax + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x97
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
mov ecx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov edx, eax
sub edx, dword [esp + 0x28]
mov dword [esp + 0x14], 1
sub edx, ecx
cmp edx, 1
jl 0x414e6c
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 0xcc0020
sub eax, dword [esp + 0x3c]
push 0
push 0
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx - 3]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
sub edx, ecx
cmp eax, edx
jle 0x414e1c
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, dword [esi + 4]
push 0xcc0020
push 0
sub eax, ecx
push 0
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
sub eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414eaf
mov eax, dword [eax + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
call fcn.0043a4fb
mov eax, dword [eax + 0xc]
push 0x95
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00433972
mov ecx, dword [edi + 4]
lea eax, [esp + 0x34]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
push eax
push edx
call fcn.00433a40
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x14], 3
sub eax, ecx
sub eax, 3
cmp eax, 3
jl 0x414f69
lea esp, [esp]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 0xcc0020
sub eax, dword [esp + 0x40]
push 0
push 0
push edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
push edx
call ebx
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
add dword [esp + 0x14], ecx
sub eax, ecx
sub eax, 3
cmp dword [esp + 0x14], eax
jle 0x414f20
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, dword [esi + 4]
sub eax, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [ebp + 0xc]
push ecx
sub eax, ecx
mov ecx, dword [esp + 0x2c]
sub eax, 3
push ecx
push eax
mov eax, dword [edx + 4]
push eax
call ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414fb3
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00433a40
mov ecx, edi
call fcn.004339c5
mov edx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push edx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CGdiObject.0
call fcn.004339c5
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8