Function at 0x42d370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48648f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x4c]
push edi
mov eax, dword [esi + 0x44]
xor edi, edi
push ecx
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x58], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x490]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x28], ecx
jle 0x42d8ea
mov eax, dword [esi + 0x48c]
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
cmp word [edx + 0x10], 0
je 0x42d8d3
mov eax, edx
mov word [eax + 0x10], 0
mov edx, dword [0x4a6058]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x48c]
mov byte [esp + 0xac], 1
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov ebp, dword [eax]
mov ebx, dword [eax + 8]
sub edi, esi
sub ebx, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], ebx
fild dword [esp + 0x34]
fild dword [esp + 0x40]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], ebp
fild dword [esp + 0x4c]
fild dword [esp + 0x1c]
xor eax, eax
fstp dword [esp + 0x94]
fstp dword [esp + 0x98]
fstp dword [esp + 0x9c]
fstp dword [esp + 0xa0]
mov edx, dword [ecx]
mov ax, word [edx + 0x12]
sub eax, 2
je 0x42d702
dec eax
je 0x42d6bb
mov eax, edx
cmp word [eax + 0x14], 1
jne 0x42d47f
push 0x4a3604
jmp 0x42d484
push 0x4a3600
lea ecx, [esp + 0x1c]
call fcn.0047b2b9
push 6
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48ab14
call fcn.0041a4f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], 0x48ab1c
push ecx
push 0xff262626
mov dword [esp + 0x70], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x20]
push edi
push ebx
push esi
push ebp
push eax
push edx
mov byte [esp + 0xc4], 4
call sub.gdiplus.dll_GdipFillRectangleI
push eax
lea ecx, [esp + 0x24]
call fcn.004448c0
lea eax, [esp + 0x44]
xor edi, edi
push eax
push edi
push str.Century_Gothic
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], edi
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov esi, dword [esp + 0x44]
cmp eax, edi
mov byte [esp + 0xac], 5
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], eax
je 0x42d53f
call fcn.0041a5f0
mov esi, dword [eax]
call fcn.0041a5f0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x42d53f
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x42d596
lea edx, [esp + 0x2c]
push edx
push 3
push 1
push 0x42c80000
push esi
call sub.gdiplus.dll_GdipCreateFont
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x42d591
call fcn.0041a5f0
mov esi, dword [eax]
call fcn.0041a5f0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x42d579
mov eax, dword [esp + 0x44]
push eax
jmp 0x42d596
lea ecx, [esp + 0x2c]
push ecx
push 3
push 1
push 0x42c80000
push esi
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
push edx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov esi, 0x48ab14
push 6
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 6
mov dword [esp + 0x60], esi
call fcn.0041a4f0
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0x48ab1c
push eax
push 0xff343434
mov dword [esp + 0x60], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x38]
push edx
push edi
push edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x42d606
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x38]
push 1
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x42d61a
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x38]
neg eax
sbb eax, eax
lea edx, [esp + 0x2c]
and eax, ebx
neg ecx
sbb ecx, ecx
push eax
and ecx, ebp
mov ebp, dword [esp + 0x30]
neg edx
sbb edx, edx
lea eax, [esp + 0x98]
and edx, ebp
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push ecx
push edx
call sub.gdiplus.dll_GdipDrawString
cmp eax, edi
je 0x42d668
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push 1
mov ecx, dword [eax + 0x48c]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0x1c]
push ecx
push edx
call dword [0x48a51c]
mov eax, dword [esp + 0x38]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], esi
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x2c]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], esi
push eax
call sub.gdiplus.dll_GdipDeleteBrush
jmp 0x42d8be
mov ecx, dword [ecx]
push str.GAME
push 0
push 2
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00436630
add esp, 0x14
test eax, eax
je 0x42d8be
mov eax, dword [esp + 0x14]
push edi
push ebx
push esi
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.0042e760
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42d8a0
jmp 0x42d89a
mov eax, dword [ecx]
lea ecx, [esp + 0x18]
add eax, 0x1c
push eax
call fcn.0047b269
mov ecx, dword [esp + 0x18]
push 0x10
mov dword [esp + 0x20], ecx
call sub.gdiplus.dll_GdipAlloc
mov dword [esp + 0x4c], eax
test eax, eax
mov byte [esp + 0xac], 2
je 0x42d740
mov edx, dword [esp + 0x1c]
push 0
push edx
mov ecx, eax
call fcn.0042e7a0
jmp 0x42d742
xor eax, eax
xor edx, edx
mov byte [esp + 0xac], 1
cmp eax, edx
mov dword [esp + 0x14], eax
je 0x42d8be
mov ecx, dword [eax + 8]
mov dword [eax + 8], edx
cmp ecx, edx
jne 0x42d8be
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov edx, dword [eax + 4]
push ecx
push edx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x42d78b
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
mov dword [esp + 0x1c], eax
push edx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], 0
push eax
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x42d7b4
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x8c]
push 1
lea eax, [esp + 0x88]
push edx
mov edx, dword [esp + 0x3c]
push eax
push edi
push ebx
push ecx
push edx
call fcn.00436b40
add esp, 0x1c
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x48ab14
push 6
call fcn.0041a4f0
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], 0x48ab1c
push eax
push 0xff262626
mov dword [esp + 0x5c], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
push edi
push ebx
push esi
lea edx, [esp + 0x78]
push ebp
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 3
call fcn.0041a580
mov eax, dword [esp + 0x70]
mov byte [esp + 0xac], 1
push eax
mov dword [esp + 0x70], 0x48ab14
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x14]
add esi, ecx
add ebp, edx
test eax, eax
je 0x42d86b
mov eax, dword [eax + 4]
jmp 0x42d86d
xor eax, eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push ecx
push edx
push esi
push ebp
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x42d892
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42d8a0
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push 1
mov ecx, dword [eax + 0x48c]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0x1c]
push ecx
push edx
call dword [0x48a51c]
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 0
call fcn.0047b122
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x490]
inc ecx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x42d3d0
mov eax, dword [esi + 0x47c]
xor ebp, ebp
test eax, eax
jle 0x42da03
mov eax, dword [esi + 0x478]
mov ecx, dword [eax + ebp*4]
lea eax, [eax + ebp*4]
cmp word [ecx + 0x1a], 0
je 0x42d9f4
mov edx, ecx
mov word [edx + 0x1a], 0
mov eax, dword [0x4a6058]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x478]
xor eax, eax
mov byte [esp + 0xac], 7
mov ecx, dword [ecx + ebp*4]
mov ax, word [ecx + 0x18]
dec eax
cmp eax, 3
ja case.default.0x42d93f
jmp dword [eax*4 + 0x42da2c]
add ecx, 0x20
jmp 0x42d958
add ecx, 0x24
jmp 0x42d958
add ecx, 0x28
jmp 0x42d958
add ecx, 0x2c
push ecx
lea ecx, [esp + 0x14]
call fcn.0047b269
mov edx, dword [esp + 0x10]
push str.GAME
push 0
push 2
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00436630
add esp, 0x14
test eax, eax
je 0x42d9e3
mov ecx, dword [esi + 0x478]
mov ebx, dword [esp + 0x14]
mov eax, dword [ecx + ebp*4]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 8]
sub ecx, edx
sub eax, edi
test ebx, ebx
je 0x42d9a6
mov ebx, dword [ebx + 4]
jmp 0x42d9a8
xor ebx, ebx
push ecx
push eax
push edx
mov edx, dword [esp + 0x2c]
push edi
push ebx
push edx
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x42d9bf
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42d9cd
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x478]
mov eax, dword [esi + 0x1c]
push 1
mov edx, dword [ecx + ebp*4]
push edx
push eax
call dword [0x48a51c]
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.0047b122
mov eax, dword [esi + 0x47c]
inc ebp
cmp ebp, eax
jl 0x42d8fa
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret