Function at 0x435c30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x486d48
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x30
dec eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x435d3f
dec eax
je 0x435d0b
mov eax, dword [ebx + 0x7c]
lea ecx, [esp + 0xc]
xor esi, esi
push ecx
push eax
mov dword [esp + 0x14], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov edi, 0x48ab14
push 6
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], edi
call fcn.0041a4f0
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 0x48ab1c
push eax
push 0xffffffffffffffff
mov dword [esp + 0x18], esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
push 0x18
push 0x18
push 0xa
push 0xa
push eax
push ecx
mov byte [esp + 0x5c], 1
call sub.gdiplus.dll_GdipFillRectangleI
push eax
lea ecx, [esp + 0x1c]
call fcn.004448c0
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edi
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
xor esi, esi
push str.GAME
push esi
push 2
lea ecx, [esp + 0x58]
push str.match.png
push ecx
call fcn.00436630
add esp, 0x14
test eax, eax
jne 0x435d55
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
xor esi, esi
push str.GAME
push esi
push 2
lea edx, [esp + 0x58]
push str.winner.png
push edx
jmp 0x435d1f
mov eax, dword [ebx + 0x7c]
lea ecx, [esp + 0x10]
push ebp
push ecx
push eax
mov dword [esp + 0x1c], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x10]
mov edi, eax
push edx
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], 2
push eax
mov dword [esp + 0x18], esi
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, esi
je 0x435d9b
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], esi
push edx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, esi
je 0x435dba
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x435dc7
mov eax, dword [eax + 4]
jmp 0x435dc9
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
mov edi, 0xa
push edx
push edi
push edi
push eax
push ebp
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, esi
je 0x435de9
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
push ecx
push edx
mov edi, eax
mov dword [esp + 0x20], esi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, esi
je 0x435e10
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
add eax, 0xa
push ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov edi, eax
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, edi
call fcn.0041a4f0
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x30]
push 1
add eax, 0xa
push ecx
push edx
mov dword [esp + 0x48], eax
call dword [0x48a51c]
mov ecx, dword [esp + 0x50]
cmp ecx, esi
je 0x435e65
mov eax, dword [ecx]
push 1
call dword [eax]
push ebp
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x40]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4