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

Disassembly:
push ebp
mov eax, 0x66666667
push edi
push esi
push ebx
sub esp, 0xfc
imul dword [esp + 0x114]
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0x110]
sar eax, 0x1f
sar edx, 1
mov dword [esp], edi
sub edx, eax
mov eax, dword [esp + 0x114]
lea ecx, [edx + edx*4]
sub eax, ecx
imul ebx, eax, 0xec
lea eax, [ebx + 0x64]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], eax
imul eax, edx, 0x122
lea esi, [eax + 0xa]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
sub esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp], 0x78f078
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
sub esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], 1
add eax, 1
mov dword [esp], edi
mov dword [0x458fe0], eax
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [esp + 0x58], eax
call eax
sub esp, 8
mov dword [esp + 4], 0xf0b0b0
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_SetBkColor]
sub esp, 8
mov dword [esp + 4], 0xa04040
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_SetDCPenColor]
mov eax, dword [sym.imp.GDI32.dll_GetStockObject]
sub esp, 8
mov dword [esp], 0x13
mov dword [esp + 0x94], eax
call eax
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp], edi
mov dword [esp + 0x30], eax
call eax
mov eax, ebx
mov ebp, dword [sym.imp.GDI32.dll_MoveToEx]
lea ebx, [ebx + 0x142]
sub esp, 8
add eax, 0x6e
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], ebx
mov ebx, 0xfffffffe
lea esi, [esi]
nop
mov ecx, dword [0x4584e0]
mov eax, esi
mov dword [esp + 0xc], 0
mov dword [esp], edi
imul eax, ecx
cdq
idiv dword [0x42a2e8]
mov edx, dword [esp + 0x50]
add eax, dword [0x4584d8]
cmp ebx, 3
cmova edx, dword [esp + 0x48]
add ebx, 1
mov dword [esp + 8], eax
mov eax, ecx
imul eax, edx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
mov ecx, dword [0x4584e0]
mov eax, esi
add esi, 0x25
sub esp, 0x10
imul eax, ecx
mov dword [esp], edi
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
imul eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
sub esp, 0xc
cmp ebx, 6
jne 0x413ae0
mov ecx, dword [0x4584e0]
mov eax, dword [esp + 0x38]
mov dword [esp], edi
mov ebx, dword [0x42a2e8]
mov esi, dword [esp + 0x48]
mov dword [esp + 0xc], 0
imul eax, ecx
imul esi, ecx
cdq
idiv ebx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, esi
cdq
idiv ebx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
mov ebx, dword [0x42a2e8]
sub esp, 0x10
mov esi, dword [esp + 0x44]
mov dword [esp], edi
lea ecx, [esi + 0x10d]
mov edx, ecx
mov ecx, dword [0x4584e0]
mov eax, edx
mov dword [esp + 0x40], edx
imul eax, ecx
cdq
idiv ebx
mov edx, dword [esp + 0x48]
imul edx, ecx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, edx
cdq
idiv ebx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [0x4584e0]
mov ebx, dword [0x42a2e8]
sub esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp], edi
imul eax, ecx
cdq
idiv ebx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
imul eax, ecx
cdq
idiv ebx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
mov ecx, dword [0x4584e0]
mov ebx, dword [0x42a2e8]
sub esp, 0x10
mov eax, dword [esp + 0x40]
mov dword [esp], edi
imul eax, ecx
cdq
idiv ebx
mov edx, dword [esp + 0x34]
imul edx, ecx
add eax, dword [0x4584d8]
add eax, 1
mov dword [esp + 8], eax
mov eax, edx
cdq
idiv ebx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [0x4584e0]
lea eax, [esi + 0x2f]
mov ebx, dword [0x42a2e8]
sub esp, 0xc
mov dword [esp + 0x60], eax
imul eax, ecx
mov dword [esp + 0xc], 0
mov dword [esp], edi
cdq
idiv ebx
mov edx, dword [esp + 0x50]
imul edx, ecx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, edx
cdq
idiv ebx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
lea ecx, [esi + 0xe8]
mov ebx, dword [0x42a2e8]
sub esp, 0x10
mov dword [esp + 0x44], esi
mov esi, ecx
mov ecx, dword [0x4584e0]
mov dword [esp + 0x70], esi
imul esi, ecx
mov dword [esp], edi
mov eax, esi
mov esi, dword [esp + 0x50]
cdq
idiv ebx
imul esi, ecx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, esi
cdq
idiv ebx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [0x4584e0]
mov esi, dword [0x42a2e8]
sub esp, 0xc
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp], edi
imul edx, ecx
add ebx, 0x104
mov eax, edx
cdq
idiv esi
imul ecx, ebx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, ecx
cdq
idiv esi
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
mov ecx, dword [0x4584e0]
mov esi, dword [0x42a2e8]
sub esp, 0x10
mov eax, dword [esp + 0x44]
imul ebx, ecx
mov dword [esp], edi
add eax, 0x54
imul eax, ecx
cdq
idiv esi
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, ebx
cdq
idiv esi
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [0x4584e0]
mov esi, dword [0x42a2e8]
sub esp, 0xc
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp], edi
add eax, 0x9e
add ebx, 0xbc
imul eax, ecx
imul ecx, ebx
cdq
idiv esi
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, ecx
cdq
idiv esi
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
mov ecx, dword [0x4584e0]
mov esi, dword [0x42a2e8]
sub esp, 0x10
mov eax, dword [esp + 0x44]
mov dword [esp], edi
add eax, 0xc3
imul eax, ecx
imul ecx, ebx
cdq
idiv esi
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, ecx
cdq
idiv esi
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [0x4584e0]
mov esi, dword [0x42a2e8]
sub esp, 0xc
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], 0
mov dword [esp], edi
imul edx, ecx
imul ecx, ebx
mov eax, edx
cdq
idiv esi
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, ecx
cdq
idiv esi
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call ebp
mov esi, dword [0x4584e0]
mov ecx, dword [0x42a2e8]
sub esp, 0x10
mov ebp, dword [esp + 0x40]
mov dword [esp], edi
imul ebp, esi
mov eax, ebp
mov ebp, ebx
cdq
imul ebp, esi
idiv ecx
add eax, dword [0x4584d8]
mov dword [esp + 8], eax
mov eax, ebp
cdq
idiv ecx
add eax, dword [0x4584dc]
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [0x4584d0]
sub esp, 0xc
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ecx
call ebp
sub esp, 8
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], ebp
mov dword [esp], edi
mov dword [esp + 4], esi
call ebp
mov ecx, dword [0x4584e0]
mov esi, dword [0x4584d8]
sub esp, 8
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x20], 0xc000ca
mov dword [esp], edi
imul ebx, ecx
mov eax, ebx
mov ebx, dword [esp + 0x48]
cdq
idiv dword [0x42a2e8]
imul ebx, ecx
add esi, eax
mov dword [esp + 0x38], eax
mov eax, ebx
mov ebx, dword [0x4584dc]
cdq
mov ebp, esi
idiv dword [0x42a2e8]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x60]
imul edx, ecx
add ebp, 1
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
mov esi, eax
add ebx, eax
mov eax, edx
cdq
lea ebx, [ebx + 1]
idiv dword [0x42a2e8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
mov dword [esp + 4], ebx
sub eax, edx
mov edx, dword [esp + 0x34]
sub eax, 1
imul edx, ecx
mov dword [esp + 0x10], eax
mov eax, edx
cdq
idiv dword [0x42a2e8]
sub eax, esi
sub eax, 1
mov dword [esp + 0xc], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x4504ec]
sub esp, 0x24
mov ebp, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ebp
mov edx, dword [sym.imp.GDI32.dll_SetTextColor]
sub esp, 8
mov dword [esp + 0x38], edx
mov dword [esp + 4], 0x804080
mov dword [esp], edi
call edx
mov ecx, dword [0x4584e0]
mov ebp, dword [0x4584dc]
sub esp, 8
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], 0x25
mov dword [esp + 8], 0xffffffff
lea esi, [ebx + 0x67]
mov ebx, dword [0x42a2e8]
mov dword [esp], edi
mov dword [esp + 0x78], esi
imul esi, ecx
mov eax, esi
cdq
idiv ebx
add eax, ebp
mov dword [esp + 0xa0], eax
imul eax, ecx, 0xd7
add eax, esi
cdq
idiv ebx
add eax, ebp
mov ebp, dword [0x4584d8]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
lea esi, [eax + 0xd]
imul esi, ecx
mov eax, esi
cdq
idiv ebx
add eax, ebp
mov dword [esp + 0xa4], eax
imul eax, ecx, 0x1e
mov ecx, dword [sym.imp.USER32.dll_DrawTextW]
mov dword [esp + 0x34], ecx
add eax, esi
mov esi, dword [esp + 0x114]
cdq
idiv ebx
shl esi, 2
mov dword [esp + 0x5c], esi
add esi, dword [esp + 0x114]
add eax, ebp
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, esi
shl eax, 3
lea esi, [eax + 0x4565a0]
mov eax, dword [eax + 0x4565a0]
mov dword [esp + 4], eax
call ecx
mov eax, dword [0x4504f0]
sub esp, 0x14
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
sub esp, 8
mov edx, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call edx
mov ecx, dword [0x4584e0]
sub esp, 8
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
mov ebx, ebp
mov dword [esp], edi
add ebx, 0x71
mov eax, ebx
mov dword [esp + 0x68], ebx
mov ebx, dword [0x4584dc]
imul eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, ebx
mov dword [esp + 0xa0], eax
lea eax, [ebp + 0x102]
mov dword [esp + 0x7c], eax
imul eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, ebx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
lea ebx, [eax + 0x32]
imul ebx, ecx
mov eax, ebx
cdq
shl ecx, 5
idiv dword [0x42a2e8]
add eax, dword [0x4584d8]
mov dword [esp + 0xa4], eax
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x34]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584d8]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [0x450484]
add eax, 0x298
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
sub esp, 0x14
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
sub esp, 8
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp], edi
call eax
lea eax, [ebp + 0xe6]
mov ecx, dword [esi + 0x24]
sub esp, 8
mov dword [esp + 0x80], eax
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
mov edx, dword [esi + 0x20]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, 0x3e7
cmp eax, edx
mov eax, 0
sbb eax, ecx
jb 0x415508
mov eax, dword [0x450484]
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x40
add eax, 0x12c0
mov dword [esp + 8], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 0x40], eax
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov esi, dword [esp + 0x34]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
call esi
mov eax, dword [0x4504f0]
sub esp, 0x14
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
sub esp, 8
mov edx, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call edx
mov ebx, dword [0x42a2e8]
mov esi, dword [0x4584dc]
sub esp, 8
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
mov ecx, ebp
mov dword [esp], edi
add ecx, 0x107
mov dword [esp + 0x88], ecx
mov edx, ecx
mov ecx, dword [0x4584e0]
imul edx, ecx
mov eax, edx
cdq
idiv ebx
mov edx, ebp
mov ebp, dword [esp + 0x34]
add edx, 0x140
mov dword [esp + 0x8c], edx
add eax, esi
mov dword [esp + 0xa0], eax
mov eax, edx
imul eax, ecx
cdq
idiv ebx
mov ebx, dword [0x450484]
add eax, esi
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x134e]
mov dword [esp + 4], eax
call ebp
mov eax, dword [0x4504f4]
sub esp, 0x14
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
sub esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp], edi
call ecx
sub esp, 8
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea ecx, [edx + 0x130]
mov dword [esp + 0x90], ecx
imul ecx, dword [0x4584e0]
mov eax, ecx
mov ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x114]
cdq
lea esi, [ecx*8 + 0x4565a0]
mov ecx, dword [0x450484]
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
movzx eax, byte [esi + 0xa]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x135a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
call eax
sub esp, 0x14
mov dword [esp + 4], 0x50b0f0
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ebx, dword [0x4584e0]
mov ecx, dword [0x4584dc]
sub esp, 8
mov eax, dword [esp + 0x48]
imul eax, ebx
cdq
idiv dword [0x42a2e8]
lea eax, [ecx + eax + 1]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x50]
imul eax, ebx
cdq
idiv dword [0x42a2e8]
add eax, ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x70]
imul eax, ebx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584d8]
mov ecx, eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x60]
imul eax, ebx
mov ebx, dword [0x4584d8]
cdq
idiv dword [0x42a2e8]
lea eax, [ebx + eax + 1]
mov ebx, ecx
sub ebx, eax
movzx eax, byte [esi + 0xa]
imul ebx, eax
mov eax, 0x51eb851f
imul ebx
sar ebx, 0x1f
sar edx, 5
sub edx, ebx
jne 0x415828
mov dword [esp + 0xa4], 0
mov eax, dword [0x4504f0]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
call eax
sub esp, 8
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call ebp
mov esi, dword [0x4584e0]
mov ecx, dword [0x42a2e8]
sub esp, 8
mov ebx, dword [0x4584dc]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
imul edx, esi
mov dword [esp], edi
mov eax, edx
cdq
idiv ecx
mov edx, dword [esp + 0x7c]
imul edx, esi
add eax, ebx
mov dword [esp + 0xa0], eax
mov eax, edx
cdq
idiv ecx
add eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
add ebx, 0x57
imul ebx, esi
mov eax, ebx
cdq
idiv ecx
mov edx, esi
shl edx, 5
add eax, dword [0x4584d8]
mov dword [esp + 0xa4], eax
mov eax, edx
sub eax, esi
add eax, ebx
mov ebx, dword [0x450484]
cdq
idiv ecx
add eax, dword [0x4584d8]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x29e]
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], edi
call ebp
sub esp, 8
mov eax, dword [esp + 0x80]
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x114]
mov ecx, dword [eax*8 + 0x4565b4]
cmp ecx, 0x3e7
ja 0x4154c0
mov eax, dword [0x450484]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x40
add eax, 0x12c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov ebx, dword [esp + 0x34]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f0]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call ebp
mov esi, dword [0x4584e0]
mov ecx, dword [0x42a2e8]
sub esp, 8
mov ebx, dword [0x4584dc]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
imul edx, esi
mov dword [esp], edi
mov eax, edx
cdq
idiv ecx
mov edx, dword [esp + 0x8c]
imul edx, esi
add eax, ebx
mov dword [esp + 0xa0], eax
mov eax, edx
cdq
idiv ecx
mov edx, dword [0x450484]
add eax, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [edx + 0x298]
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [esp + 0x38], ebp
mov dword [esp + 4], 0
mov dword [esp], edi
call ebp
mov ecx, dword [0x450484]
sub esp, 8
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x114]
mov ebp, dword [esp + 0x40]
lea eax, [edx + 0x124]
lea esi, [esi*8 + 0x4565a0]
mov dword [esp + 0x70], eax
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
movzx eax, word [esi + 0xe]
mov dword [esp], ebp
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x135a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
call ebx
mov eax, dword [0x4504f0]
sub esp, 0x14
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
sub esp, 8
mov ebp, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call ebp
mov ecx, dword [0x4584e0]
mov ebx, dword [0x4584dc]
sub esp, 8
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
imul eax, ecx
mov dword [esp], edi
cdq
idiv dword [0x42a2e8]
add eax, ebx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x70]
imul eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, ebx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
lea ebx, [eax + 0x7c]
imul ebx, ecx
shl ecx, 5
mov eax, ebx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584d8]
mov dword [esp + 0xa4], eax
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x34]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584d8]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [0x450484]
add eax, 0x1362
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
sub esp, 0x14
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], edi
call ecx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], edi
call ebp
mov ebp, 0xa
sub esp, 8
mov edx, dword [esp + 0x3c]
lea eax, [edx + 0x114]
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x54], edx
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x18]
mov esi, 0xcccccccd
mov ecx, eax
mov dword [esp + 0x50], eax
add ecx, edx
adc ecx, 0
mov eax, ecx
mul esi
mov eax, dword [esp + 0x50]
mov ebx, edx
and edx, 0xfffffffc
shr ebx, 2
add edx, ebx
xor ebx, ebx
sub ecx, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
sbb edx, ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
imul ecx, edx, 0xcccccccd
imul edx, dword [esp + 0x48], 0xcccccccc
add ecx, edx
mul esi
add edx, ecx
mov ebx, eax
shrd ebx, edx, 1
mov esi, edx
shr esi, 1
mov eax, ebx
mov ebx, dword [esp + 0x54]
imul ecx, esi, 0xa
mul ebp
add edx, ecx
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov eax, 4
sbb ebx, edx
cmp eax, ecx
mov eax, 0
mov edx, dword [esp + 0x54]
sbb eax, ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
jae 0x414924
add eax, 0xa
adc edx, 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ebp, 0xc28f5c29
mov esi, dword [esp + 0x4c]
mov ebx, eax
shrd eax, edx, 0x14
and ebx, 0xfffff
and eax, 0xfffff
lea ecx, [ebx + eax]
mov eax, esi
shr eax, 8
and eax, 0xfffff
add ecx, eax
mov eax, esi
xor esi, esi
shr eax, 0x1c
add ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
sub ecx, eax
mov eax, dword [esp + 0x48]
mov ebx, ecx
sub eax, ecx
sbb edx, esi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
imul ecx, edx, 0xc28f5c29
imul edx, dword [esp + 0x60], 0x8f5c28f5
add ecx, edx
mul ebp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], edx
mov edx, 0x19
and eax, 3
add dword [esp + 0x64], ecx
xor ecx, ecx
mul edx
add edx, ecx
add eax, ebx
adc edx, esi
mov ecx, eax
mov eax, dword [esp + 0x60]
mov ebx, edx
mov edx, dword [esp + 0x64]
mov esi, ecx
shrd eax, edx, 2
shr edx, 2
add esi, ebx
adc esi, 0
mov dword [esp + 0x80], eax
mov eax, 0xcccccccd
mov dword [esp + 0x84], edx
mul esi
mov eax, edx
and edx, 0xfffffffc
shr eax, 2
add edx, eax
sub esi, edx
xor edx, edx
sub ecx, esi
sbb ebx, edx
mov dword [esp + 0x60], ecx
imul eax, dword [esp + 0x60], 0xcccccccc
imul ebx, ebx, 0xcccccccd
mov ecx, dword [esp + 0x50]
add ebx, eax
mov eax, 0xcccccccd
mul dword [esp + 0x60]
add edx, ebx
mov ebx, dword [esp + 0x54]
shrd eax, edx, 1
shr edx, 1
add eax, 0x30
mov dword [esp + 0x60], eax
mov eax, dword [0x450484]
adc edx, 0
xor esi, esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x7c], eax
mov eax, 0x1869f
cmp eax, ecx
mov eax, esi
sbb eax, ebx
jae 0x4157e0
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x98]
mov dword [esp + 8], 0x186a0
mov dword [esp + 0x10], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], 0
call fcn.004290a0
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov ebp, eax
mov eax, dword [esp + 0x98]
and ebx, 0xfffff
shrd eax, edx, 0x14
and eax, 0xfffff
lea ecx, [ebx + eax]
mov eax, dword [esp + 0x9c]
xor ebx, ebx
shr eax, 8
and eax, 0xfffff
add ecx, eax
mov eax, dword [esp + 0x9c]
shr eax, 0x1c
add ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x9c]
lea eax, [eax + eax*4]
sub ecx, eax
mov eax, dword [esp + 0x98]
sub eax, ecx
sbb edx, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ebx, 0xc28f5c29
imul ecx, edx, 0xc28f5c29
imul edx, dword [esp + 0x50], 0x8f5c28f5
add ecx, edx
mul ebx
mov ebx, dword [esp + 0x4c]
add edx, ecx
mov ecx, dword [esp + 0x48]
shrd eax, edx, 2
shr edx, 2
mov dword [esp + 0x50], eax
mov eax, 0x5f5e0ff
cmp eax, ecx
mov dword [esp + 0x54], edx
sbb esi, ebx
jae 0x415570
lea eax, [esp + 0x98]
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], 0x5f5e100
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004290a0
mov edx, dword [esp + 0x64]
mov dword [esp + 8], 0x186a0
mov ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00428f80
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], 0x40
add eax, 0x138a
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov ebx, dword [esp + 0x34]
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f0]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov esi, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call esi
mov ecx, dword [0x4584e0]
mov ebx, dword [0x42a2e8]
sub esp, 8
mov esi, dword [0x4584dc]
mov ebp, dword [0x450484]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
imul edx, ecx
mov dword [esp], edi
mov eax, edx
cdq
idiv ebx
mov edx, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 0xa0], eax
lea eax, [edx + 0xba]
mov dword [esp + 0x50], eax
imul eax, ecx
cdq
idiv ebx
add eax, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
add esi, 0xa1
imul esi, ecx
shl ecx, 5
mov eax, esi
cdq
idiv ebx
add eax, dword [0x4584d8]
mov dword [esp + 0xa4], eax
lea eax, [ecx + esi]
cdq
idiv ebx
mov ebx, dword [esp + 0x34]
add eax, dword [0x4584d8]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x1362]
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
xor eax, eax
sub esp, 8
mov ebp, dword [esp + 0x114]
mov ecx, dword [esp + 0x58]
mov dword [esp], edi
cmp dword [0x458fd4], ebp
sete al
add eax, 1
mov dword [esp + 4], eax
call ecx
mov edx, 0x606060
mov eax, 0x703030
sub esp, 8
cmp dword [esp + 0x114], 8
mov esi, dword [esp + 0x38]
mov dword [esp], edi
cmovge eax, edx
mov dword [esp + 4], eax
call esi
mov ebp, dword [0x450484]
sub esp, 8
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], 0x40
lea eax, [edx + 0xac]
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x114]
shl eax, 3
movzx edx, word [eax + 0x4565b0]
mov dword [esp + 0x48], eax
lea esi, [eax + 0x4565a0]
mov eax, edx
imul edx, edx, 0xcccd
mov ecx, eax
shr edx, 0x13
lea edx, [edx + edx*4]
add edx, edx
sub ecx, edx
lea edx, [eax + 0xa]
cmp cx, 4
cmova eax, edx
mov edx, eax
shr dx, 2
movzx edx, dx
imul edx, edx, 0x147b
shr edx, 0x11
lea ecx, [edx + edx*4]
movzx edx, dx
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
shl ecx, 2
sub eax, ecx
movzx eax, ax
imul eax, eax, 0xcccd
shr eax, 0x13
add eax, 0x30
mov dword [esp + 0x10], eax
lea eax, [ebp + 0x1366]
mov ebp, dword [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp], ebp
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov dword [esp + 0x40], ebp
mov dword [esp + 4], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp], edi
call ebx
sub esp, 0x14
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], 1
mov dword [esp], edi
call ecx
mov eax, dword [0x4504f0]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call ecx
mov ebp, dword [0x450484]
sub esp, 8
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], 0x24
mov dword [esp + 8], 0xffffffff
lea eax, [ecx + 0xbf]
mov ecx, dword [0x4584e0]
mov dword [esp], edi
mov dword [esp + 0x60], eax
imul eax, ecx
cdq
mov ebx, eax
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa0], eax
mov eax, ecx
shl eax, 7
add eax, ecx
add eax, ebx
mov ebx, dword [esp + 0x34]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x2a4]
mov dword [esp + 4], eax
call ebx
mov ebp, dword [0x450484]
sub esp, 0x14
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
lea eax, [ecx + 0xf3]
mov dword [esp], edi
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x1362]
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0
mov dword [esp], edi
call ecx
mov ebp, dword [0x450484]
sub esp, 8
mov eax, dword [esp + 0x90]
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
movzx edx, word [esi + 0xc]
mov dword [esp + 4], 0x40
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, edx
imul edx, edx, 0xcccd
mov esi, eax
shr edx, 0x13
lea edx, [edx + edx*4]
add edx, edx
sub esi, edx
lea edx, [eax + 0xa]
cmp si, 4
cmova eax, edx
mov esi, eax
shr si, 2
movzx edx, si
mov esi, dword [esp + 0x40]
imul edx, edx, 0x147b
mov dword [esp], esi
shr edx, 0x11
lea ecx, [edx + edx*4]
movzx edx, dx
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
shl ecx, 2
sub eax, ecx
movzx eax, ax
imul eax, eax, 0xcccd
shr eax, 0x13
add eax, 0x30
mov dword [esp + 0x10], eax
lea eax, [ebp + 0x1366]
mov dword [esp + 8], eax
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
call ebx
mov ecx, dword [0x4584e0]
sub esp, 0x14
mov esi, dword [esp + 0x44]
mov dword [esp], edi
lea ebx, [esi + 0xc6]
mov esi, dword [0x4584d8]
imul ebx, ecx
shl ecx, 5
mov eax, ebx
cdq
idiv dword [0x42a2e8]
add eax, esi
mov dword [esp + 0xa4], eax
lea eax, [ecx + ebx]
cdq
idiv dword [0x42a2e8]
add eax, esi
mov dword [esp + 0xac], eax
mov eax, dword [0x4504f0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
call eax
sub esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0x606060
mov dword [esp], edi
call ecx
mov esi, dword [0x4584e0]
mov ebx, dword [0x4584dc]
sub esp, 8
mov ebp, dword [0x450484]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x10], 0x24
mov dword [esp + 8], 0xffffffff
imul edx, esi
mov dword [esp], edi
mov eax, edx
mov ecx, edx
cdq
idiv dword [0x42a2e8]
mov edx, esi
shl edx, 6
add eax, ebx
mov dword [esp + 0xa0], eax
mov eax, edx
add eax, esi
add eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x3ac]
mov dword [esp + 4], eax
call ebx
mov eax, dword [0x4504f4]
xor ebx, ebx
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], 0x703030
mov dword [esp], edi
call ecx
sub esp, 8
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + 0xb3]
mov eax, dword [0x458fd0]
mov ecx, dword [esp + 0x48]
test eax, eax
lea edx, [eax + 3]
cmovns edx, eax
sar edx, 2
cmp byte [ebx + ecx + 0x4565a4], 0
jne 0x4155b8
cmp dword [esp + 0x114], edx
je 0x4156b0
add ebx, 1
add esi, 0x24
cmp ebx, 4
jne 0x415144
mov dword [esp + 4], 1
mov eax, dword [esp + 0x58]
mov dword [esp], edi
call eax
mov eax, dword [0x4504f0]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [esp + 4], 0x606060
mov eax, dword [esp + 0x38]
mov dword [esp], edi
call eax
mov ebx, dword [0x4584e0]
mov esi, dword [0x42a2e8]
sub esp, 8
mov ecx, dword [0x4584dc]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], 0x24
mov dword [esp + 8], 0xffffffff
imul eax, ebx
mov dword [esp], edi
cdq
idiv esi
add eax, ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x50]
imul eax, ebx
cdq
idiv esi
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
add ecx, 0xeb
imul ecx, ebx
shl ebx, 5
mov eax, ecx
cdq
idiv esi
add eax, dword [0x4584d8]
mov dword [esp + 0xa4], eax
lea eax, [ebx + ecx]
cdq
idiv esi
add eax, dword [0x4584d8]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [0x450484]
add eax, 0x3b6
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
call eax
sub esp, 0x14
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x114]
test byte [eax*8 + 0x4565a8], 0x10
mov eax, dword [esp + 0x114]
jne 0x4156f0
cmp dword [0x458fcc], eax
je 0x415878
mov dword [esp], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 4], 1
call eax
mov eax, dword [0x4504f0]
sub esp, 8
mov dword [esp], edi
mov esi, dword [esp + 0x30]
mov dword [esp + 4], eax
call esi
sub esp, 8
mov ebp, dword [esp + 0x38]
mov dword [esp], edi
mov dword [esp + 4], 0x606060
call ebp
mov esi, dword [0x4584e0]
mov ebx, dword [0x4584dc]
sub esp, 8
mov ecx, dword [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 0x10], 0x24
imul ecx, esi
mov dword [esp + 8], 0xffffffff
mov eax, ecx
cdq
idiv dword [0x42a2e8]
mov edx, esi
shl edx, 7
add eax, ebx
mov dword [esp + 0xa0], eax
mov eax, edx
add eax, esi
mov esi, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [0x450484]
cdq
idiv dword [0x42a2e8]
add eax, ebx
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x3c0]
mov dword [esp + 4], eax
call esi
mov eax, dword [0x4584e0]
sub esp, 0x14
mov ecx, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 0x10], 0x26
add ecx, 0xf7
mov dword [esp + 8], 0xffffffff
imul eax, ecx
mov ecx, dword [0x450484]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x298]
mov dword [esp + 4], eax
call esi
xor eax, eax
sub esp, 0x14
mov ecx, dword [esp + 0x114]
cmp dword [0x458fc8], ecx
mov dword [esp], edi
sete al
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
call eax
mov eax, dword [0x4504f4]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x703030
call ebp
sub esp, 8
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], 0x40
imul eax, dword [0x4584e0]
mov dword [esp], ebx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x114]
movzx eax, byte [eax*8 + 0x4565a9]
mov dword [esp + 0xc], eax
mov eax, dword [0x450484]
add eax, 0x13ac
mov dword [esp + 8], eax
call fcn.00412cd0
lea eax, [esp + 0xa0]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
call esi
sub esp, 0x14
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
sub esp, 4
call dword [sym.imp.GDI32.dll_GdiFlush]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xc], 0x28
mov dword [esp + 4], 0x28
lea eax, [edi + 0x4565a0]
mov dword [esp + 8], eax
lea eax, [edi + 0x456400]
mov dword [esp], eax
call dword [0x42a308]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x10624dd3
mov dword [esp + 4], 0x40
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 0xc], edx
sub ecx, eax
mov eax, dword [0x450484]
mov dword [esp + 0x10], ecx
add eax, 0x133c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412cd0
jmp 0x4145d6
lea eax, [esp + 0x98]
mov dword [esp + 8], 0x3e8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004290a0
mov edx, dword [esp + 0x98]
mov dword [esp + 4], 0x40
mov dword [esp + 0xc], eax
mov eax, dword [0x450484]
mov dword [esp + 0x10], edx
add eax, 0x133c
mov dword [esp + 8], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 0x40], eax
call fcn.00412cd0
jmp 0x414223
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 4], 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], ebx
add eax, 0x1372
mov dword [esp + 0x18], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412cd0
jmp 0x414bd0
mov ecx, 1
cmp dword [esp + 0x114], edx
je 0x4156d0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp], edi
call eax
mov ecx, dword [0x4584e0]
mov eax, esi
sub esp, 8
imul eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa0], eax
lea eax, [esi + 0x1f]
imul eax, ecx
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x48]
movzx eax, byte [ebx + eax + 0x4565a4]
test al, al
jne 0x415670
mov dword [esp + 0xb0], 0x200020
xor edx, edx
mov word [esp + 0xb4], dx
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x415173
mov ecx, eax
mov edx, dword [0x450484]
and ecx, 0xf
mov dword [esp + 0xc], ecx
test al, 0x10
jne 0x4157d0
test al, al
js 0x415868
add edx, 0x13bc
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x40
mov dword [esp], eax
call fcn.00412cd0
jmp 0x415638
cdq
shr edx, 0x1e
add eax, edx
and eax, 3
sub eax, edx
cmp eax, ebx
jne 0x415173
mov ecx, 2
jmp 0x4155ca
cdq
xor ecx, ecx
shr edx, 0x1e
add eax, edx
and eax, 3
sub eax, edx
cmp ebx, eax
sete cl
add ecx, 1
jmp 0x4155ca
cmp dword [0x458fcc], eax
sete al
movzx eax, al
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp], edi
call eax
mov eax, dword [0x4504f4]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edi
call eax
sub esp, 8
mov dword [esp + 4], 0x703030
mov eax, dword [esp + 0x38]
mov dword [esp], edi
call eax
sub esp, 8
mov eax, dword [esp + 0x3c]
add eax, 0x9f
imul eax, dword [0x4584e0]
cdq
idiv dword [0x42a2e8]
add eax, dword [0x4584dc]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x114]
movzx eax, byte [eax*8 + 0x4565a8]
mov edx, eax
and edx, 0xf
je 0x41577e
test al, 8
je 0x415888
mov dword [esp + 0xb0], 0x200020
xor eax, eax
mov word [esp + 0xb4], ax
lea eax, [esp + 0xa0]
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], edi
call eax
sub esp, 0x14
jmp 0x415289
add edx, 0x13ac
jmp 0x415695
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 4], 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
add eax, 0x1366
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412cd0
jmp 0x414bd0
sub ecx, edx
mov dword [esp], 0x12
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa4], ecx
call eax
sub esp, 4
mov dword [esp + 8], eax
lea eax, [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_FillRect]
sub esp, 0xc
jmp 0x414478
add edx, 0x13b4
jmp 0x415695
mov eax, 2
jmp 0x4156ff
mov eax, dword [0x450484]
movzx edx, dl
mov dword [esp + 4], 0x40
mov dword [esp + 0xc], edx
add eax, 0x13ac
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00412cd0
jmp 0x415793