Function at 0x435460
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x486cd8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.GAME
push ebx
push 2
push str.score_bg.png
mov esi, ecx
push eax
call fcn.00436630
add esp, 0x14
test eax, eax
jne 0x4354b1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ebx
push edx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4354d0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x10]
push ecx
mov edi, eax
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ebx
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x4354f6
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
push ebx
mov dword [esi + 0x78], eax
call dword [0x48a5a8]
mov ebp, dword [0x48a050]
mov edi, eax
push edi
call ebp
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
mov ebx, dword [0x48a0c4]
push ecx
push edx
push edi
mov dword [esi + 0x7c], eax
call ebx
push eax
mov eax, dword [esi + 0x7c]
push eax
call dword [0x48a03c]
push edi
call ebp
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
push ecx
push edx
push edi
mov dword [esi + 0x70], eax
call ebx
push eax
mov eax, dword [esi + 0x70]
push eax
call dword [0x48a03c]
mov eax, dword [esi + 0x70]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esi + 0x3c]
xor ecx, ecx
mov edx, eax
mov cl, ah
and edx, 0xff
and ecx, 0xff
or edx, 0xffffff00
mov dword [esp + 0x34], 0
shl edx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
and eax, 0xff
or edx, eax
push edx
push ebx
call sub.gdiplus.dll_GdipGraphicsClear
test eax, eax
je 0x4355b0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
test eax, eax
je 0x4355c3
mov eax, dword [eax + 4]
jmp 0x4355c5
xor eax, eax
push ecx
push edx
push 0
push 0
push eax
push ebx
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x4355da
mov dword [esp + 0x28], eax
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esi + 0x7c]
push eax
push ecx
push 0
push 0
push edx
call dword [0x48a0ac]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x43560b
mov eax, dword [ecx]
push 1
call dword [eax]
push str.GAME
push 0
push 2
lea ecx, [esp + 0x1c]
push str.score_bar.png
push ecx
call fcn.00436630
add esp, 0x14
test eax, eax
jne 0x435645
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov dword [esp + 0x20], eax
push edx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], 0
push eax
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x43566e
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x64], edx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
push ecx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x43569e
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x18]
push edi
mov dword [esi + 0x68], edx
call ebp
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push 0
mov edx, dword [eax + 4]
push ecx
push edx
mov ebp, eax
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x4356c8
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call dword [0x48a03c]
mov edx, dword [esp + 0x1c]
push edx
call dword [0x48a048]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4356f0
mov eax, dword [ecx]
push 1
call dword [eax]
push edi
push 0
call dword [0x48a5ac]
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret