Function at 0x435c30
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x48ff68
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], vtable.CBitmap.0
lea eax, [esp + 0x38]
mov dword [esp + 0x64], ebp
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
sub ebx, dword [esp + 0x38]
sub esi, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x6c], ebp
jne 0x435cb8
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc90u.dll_CDC::FromHandle
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], 1
cmp dword [edi + 0xb11c], ebp
jne 0x435ccc
cmp dword [edi + 0xde40], ebp
jne 0x435ffe
mov dword [edi + 0xb11c], ebp
cmp dword [edi + 0xde40], ebp
je 0x435ce5
lea ecx, [edi + 0xde3c]
call sub.mfc90u.dll_CDC::DeleteDC
mov eax, dword [esp + 0x6c]
cmp eax, ebp
jne 0x435cf1
xor eax, eax
jmp 0x435cf4
mov eax, dword [eax + 4]
push eax
lea ebp, [edi + 0xde3c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebp
call sub.mfc90u.dll_CDC::Attach
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
push esi
push ebx
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x34]
test eax, eax
je 0x435d39
mov edx, dword [edi + 0xde40]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0xaf4], 0
je 0x435d80
mov ecx, dword [edi + 0xb00]
mov edx, dword [edi + 0xafc]
test ebp, ebp
jne 0x435d56
xor eax, eax
jmp 0x435d59
mov eax, dword [ebp + 4]
push 0xff
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push 0
push 0
push ecx
push edx
push 0
push 0
push eax
lea esi, [edi + 0xaf0]
call fcn.004014d0
jmp 0x435db8
mov eax, dword [edi + 0xaec]
push eax
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CBrush::CBrush
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0xde40]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.CBrush.0
call fcn.004066b0
cmp dword [edi + 0xb54], 0
je 0x435e13
lea esi, [esp + 0x48]
call fcn.004386f0
mov eax, dword [edi + 0xb60]
mov ecx, dword [edi + 0xb5c]
test ebp, ebp
jne 0x435dde
xor edx, edx
jmp 0x435de1
mov edx, dword [ebp + 4]
movzx esi, byte [edi + 0xbb0]
push esi
mov esi, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x60]
push 0
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x60]
sub esi, ecx
push esi
push eax
push ecx
push edx
lea esi, [edi + 0xb50]
call fcn.004014d0
cmp dword [edi + 0xb24], 0
je 0x435e98
mov esi, dword [edi + 0xb30]
mov eax, dword [edi + 0xb2c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
test ebp, ebp
jne 0x435e38
xor ebx, ebx
jmp 0x435e3b
mov ebx, dword [ebp + 4]
fild dword [esp + 0x20]
push 0xff
push esi
push eax
fmul qword [0x4bca28]
push 0
push 0
call fcn.0048b190
fild dword [esp + 0x3c]
fld qword [0x4bca20]
push eax
fmul st(1), st(0)
fxch st(1)
call fcn.0048b190
push eax
mov eax, 0x50
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmulp st(1)
call fcn.0048b190
push eax
push 0xf
push ebx
lea esi, [edi + 0xb20]
call fcn.004014d0
mov ebx, dword [esp + 0x18]
push ebp
mov eax, edi
call fcn.00435b20
push ebp
mov eax, edi
call fcn.00435a10
xor ebp, ebp
test ebx, ebx
jle 0x435f28
mov edx, dword [edi + 0xde40]
push 0
push ebp
push edx
call dword [sym.imp.GDI32.dll_GetPixel]
movzx esi, byte [edi + 0xbb2]
push eax
xor ebx, ebx
call fcn.0045fc20
add esp, 4
push eax
mov eax, dword [edi + 0xde40]
push ebx
push ebp
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0xde40]
add eax, 0xfffffffe
push eax
push ebp
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
movzx esi, byte [edi + 0xbb2]
push eax
call fcn.0045fc20
mov edx, dword [edi + 0xde40]
add esp, 4
push eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
push eax
push ebp
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
inc ebp
cmp ebp, dword [esp + 0x18]
jl 0x435eae
mov ebx, dword [esp + 0x18]
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jle 0x435fab
add ebx, 0xfffffffe
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 0xde40]
push ebp
push 0
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
movzx esi, byte [edi + 0xbb2]
push eax
xor ebx, ebx
call fcn.0045fc20
mov ecx, dword [edi + 0xde40]
add esp, 4
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0xde40]
push ebp
push edx
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
movzx esi, byte [edi + 0xbb2]
push eax
call fcn.0045fc20
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0xde40]
add esp, 4
push eax
push ebp
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
inc ebp
cmp ebp, dword [esp + 0x1c]
jl 0x435f37
mov ebx, dword [esp + 0x18]
lea eax, [ebx - 2]
mov ebp, 1
cmp eax, ebp
mov dword [esp + 0x20], eax
jle 0x435ffc
mov eax, dword [edi + 0xde40]
push 1
push ebp
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
movzx esi, byte [edi + 0xbb2]
push eax
mov ebx, 0xffffff
call fcn.0045fc20
mov ecx, dword [edi + 0xde40]
add esp, 4
push eax
push 1
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x435fbb
mov ebx, dword [esp + 0x18]
xor ebp, ebp
lea eax, [edi + 0xde3c]
cmp eax, ebp
jne 0x43600c
xor ecx, ecx
jmp 0x43600f
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x6c]
cmp esi, ebp
jne 0x43601b
xor eax, eax
jmp 0x43601e
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push ebp
push ebp
push ecx
push edx
push ebx
push ebp
push ebp
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x24], ebp
je 0x436051
cmp esi, ebp
jne 0x436043
xor eax, eax
jmp 0x436046
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.CBitmap.0
call fcn.004066b0
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4