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

Disassembly:
push 0xffffffffffffffff
push 0x4867df
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 + 0x64]
push edi
mov eax, dword [esi + 0x44]
xor edi, edi
push ecx
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x70], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x6c]
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x28], ecx
jle 0x430009
mov eax, dword [esi + 0x68]
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
cmp word [edx + 0x10], 0
je 0x42fff5
mov eax, edx
mov word [eax + 0x10], 0
mov edx, dword [0x4a6058]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x68]
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 0x42fe21
dec eax
je 0x42fdd4
mov eax, edx
cmp word [eax + 0x14], 1
jne 0x42fb76
push 0x4a3604
jmp 0x42fb7b
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 + 0x54]
mov dword [esp + 0x78], 0x48ab1c
push ecx
push 0xff262626
mov dword [esp + 0x5c], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x54]
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
xor edi, edi
lea ecx, [esp + 0x44]
push edi
push str.Century_Gothic
mov dword [esp + 0x34], edi
call fcn.0041a5c0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp eax, edi
mov byte [esp + 0xac], 5
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], eax
je 0x42fc5b
cmp dword [0x4adbe8], edi
jne 0x42fc3c
push 0x4adbec
mov dword [0x4adbe8], 0x4adbec
call sub.gdiplus.dll_GdipGetGenericFontFamilySansSerif
mov ecx, dword [0x4adbe8]
mov dword [ecx + 4], eax
mov edx, dword [0x4adbe8]
mov esi, dword [edx]
call fcn.0041a5f0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x42fc5b
mov eax, dword [esp + 0x44]
push eax
jmp 0x42fcb2
lea ecx, [esp + 0x2c]
push ecx
push 3
push 1
push 0x42c80000
push esi
call sub.gdiplus.dll_GdipCreateFont
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x42fcad
call fcn.0041a5f0
mov esi, dword [eax]
call fcn.0041a5f0
mov eax, dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x42fc95
mov edx, dword [esp + 0x44]
push edx
jmp 0x42fcb2
lea eax, [esp + 0x2c]
push eax
push 3
push 1
push 0x42c80000
push esi
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x44]
push ecx
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 edx, [esp + 0x58]
mov dword [esp + 0x5c], 0x48ab1c
push edx
push 0xff343434
mov dword [esp + 0x60], edi
call sub.gdiplus.dll_GdipCreateSolidFill
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
push ecx
push edi
push edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov edx, dword [esp + 0x38]
push 1
push edx
mov dword [esp + 0x44], eax
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, edi
je 0x42fd22
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push 1
push eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, edi
je 0x42fd36
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
mov eax, dword [esp + 0x24]
push ecx
sbb edx, edx
lea ecx, [esp + 0x9c]
and edx, ebp
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push edx
push eax
call sub.gdiplus.dll_GdipDrawString
cmp eax, edi
je 0x42fd84
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push 1
mov ecx, dword [eax + 0x68]
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 0x42ffe0
mov ecx, dword [ecx]
push str.GAME
push 0
push 2
mov eax, dword [ecx + 0x18]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00436630
add esp, 0x14
test eax, eax
je 0x42ffe0
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 0x42ffc5
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x42ffc5
mov eax, dword [ecx]
lea ecx, [esp + 0x18]
add eax, 0x18
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 0x42fe5f
mov edx, dword [esp + 0x1c]
push 0
push edx
mov ecx, eax
call fcn.0042e7a0
jmp 0x42fe61
xor eax, eax
test eax, eax
mov byte [esp + 0xac], 1
mov dword [esp + 0x14], eax
je 0x42ffe0
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
test ecx, ecx
jne 0x42ffe0
push 6
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x48ab14
call fcn.0041a4f0
lea eax, [esp + 0x50]
mov dword [esp + 0x6c], 0x48ab1c
push eax
push 0xff262626
mov dword [esp + 0x58], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x50]
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 eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x20], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x44], 0
push edx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x42ff22
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 0x42ff4b
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
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
add esi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
add ebp, ecx
test eax, eax
je 0x42ff90
mov eax, dword [eax + 4]
jmp 0x42ff92
xor eax, eax
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x24]
push ecx
push esi
push ebp
push eax
push edx
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
je 0x42ffb7
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42ffc5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push 1
mov ecx, dword [eax + 0x68]
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 + 0x6c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x42facd
mov eax, dword [esi + 0x58]
xor ebp, ebp
test eax, eax
jle 0x430110
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + ebp*4]
lea eax, [eax + ebp*4]
cmp word [ecx + 0x1a], 0
je 0x430104
mov edx, ecx
mov word [edx + 0x1a], 0
mov eax, dword [0x4a6058]
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x54]
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.0x430055
jmp dword [eax*4 + 0x430138]
add ecx, 0x20
jmp 0x43006e
add ecx, 0x24
jmp 0x43006e
add ecx, 0x28
jmp 0x43006e
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 0x4300f3
mov ecx, dword [esi + 0x54]
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 0x4300b9
mov ebx, dword [ebx + 4]
jmp 0x4300bb
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 0x4300d2
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4300e0
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x54]
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 + 0x58]
inc ebp
cmp ebp, eax
jl 0x430016
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