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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d4b5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
mov eax, dword [ebp + 0x3c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x4ea190
mov ecx, dword [edi + 0x364]
call fcn.004af210
mov esi, eax
mov eax, dword [esi + 8]
shl eax, 3
push eax
call sub.mfc42u.dll_operatornew
mov edx, dword [esi + 8]
xor ecx, ecx
add esp, 4
cmp edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jle 0x4ea0b6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x68], edx
fld dword [esp + 0x68]
mov ecx, dword [ecx + 8]
fstp qword [esp + 0x34]
mov edx, dword [eax]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], edx
fld dword [esp + 0x44]
lea ecx, [esp + 0x34]
push eax
fstp qword [esp + 0x50]
push ecx
lea ecx, [edi + 0x2d0]
call fcn.004b8120
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0xc]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 4]
mov dword [eax], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
inc ecx
add edx, 0xc
cmp ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
jl 0x4ea00d
mov ecx, dword [ebp + 0x38]
mov eax, 0xffffff
test ecx, ecx
je 0x4ea108
fld dword [edi + 0x110]
fld dword [edi + 0x114]
fld dword [edi + 0x118]
fmul qword [0x5efad0]
call sub.msvcrt.dll__ftol
fmul qword [0x5efad0]
xor ebx, ebx
mov bh, al
call sub.msvcrt.dll__ftol
fmul qword [0x5efad0]
mov bl, al
shl ebx, 8
call sub.msvcrt.dll__ftol
and eax, 0xff
or eax, ebx
mov ebx, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x30]
call sub.mfc42u.dll_CBrush::CBrush
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1c4], 0
call sub.mfc42u.dll_CDC::SelectObject_1
mov ecx, dword [ebp + 8]
push 1
mov dword [esp + 0x28], eax
call sub.mfc42u.dll_CDC::SetPolyFillMode
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [ebp + 8]
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.gdi32.dll_Polygon]
mov edx, dword [esp + 0x24]
mov ecx, esi
push edx
call sub.mfc42u.dll_CDC::SelectObject_1
mov eax, dword [esp + 0x14]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x2c], 0x5e3df4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c0], 1
call sub.mfc42u.dll_CGdiObject::DeleteObject
mov dword [esp + 0x1c0], 0xffffffff
jmp 0x4ea193
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4ea203
push 0xa0a0a0
push 1
push 2
lea ecx, [esp + 0x38]
call sub.mfc42u.dll_CPen::CPen
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c0], 2
push ecx
mov ecx, esi
call sub.mfc42u.dll_CDC::SelectObject
push ebx
push esi
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.0050b400
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call sub.mfc42u.dll_CDC::SelectObject
mov dword [esp + 0x2c], 0x5e3df4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c0], 3
call sub.mfc42u.dll_CGdiObject::DeleteObject
mov dword [esp + 0x1c0], 0xffffffff
cmp dword [ebp + 0x38], 1
jne 0x4ea2e5
mov eax, dword [ebp + 0x3c]
test eax, eax
jne 0x4ea2e5
fld dword [edi + 0x110]
fld dword [edi + 0x114]
fld dword [edi + 0x118]
fmul qword [0x5efad0]
call sub.msvcrt.dll__ftol
fmul qword [0x5efad0]
xor ebx, ebx
mov bh, al
call sub.msvcrt.dll__ftol
fmul qword [0x5efad0]
mov bl, al
shl ebx, 8
call sub.msvcrt.dll__ftol
and eax, 0xff
lea ecx, [esp + 0x24]
or ebx, eax
push ebx
push 1
push 0
call sub.mfc42u.dll_CPen::CPen
mov esi, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x1c4], 4
call sub.mfc42u.dll_CDC::SelectObject
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x108]
push ecx
push 0x10
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.gdi32.dll_GetObjectW]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc0]
lea ecx, [edi + 0xc0]
push ebx
push esi
call dword [eax + 0x34]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call sub.mfc42u.dll_CDC::SelectObject
mov dword [esp + 0x24], 0x5e3df4
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c0], 5
call sub.mfc42u.dll_CGdiObject::DeleteObject
mov dword [esp + 0x1c0], 0xffffffff
jmp 0x4ea31c
mov edx, dword [esi + 8]
push 1
push edx
call dword [sym.imp.gdi32.dll_GetCurrentObject]
push eax
call sub.mfc42u.dll_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0x108]
push ecx
push 0x10
push edx
call dword [sym.imp.gdi32.dll_GetObjectW]
mov eax, dword [edi + 0xc0]
lea ecx, [edi + 0xc0]
push ebx
push esi
call dword [eax + 0x34]
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4ea4a8
mov ecx, edi
call fcn.0050b010
test eax, eax
jne 0x4eafac
lea ecx, [esp + 0x94]
call fcn.004b1760
mov ecx, dword [edi + 0x364]
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x1c4], 6
call fcn.004af410
mov ecx, dword [edi + 0x364]
call fcn.004ae9a0
mov esi, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
mov edx, dword [esi + 8]
lea ecx, [esp + 0x98]
add eax, edx
push eax
call fcn.005a6eb0
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov esi, eax
dec eax
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x98]
test esi, esi
lea edx, [ecx + edx*4]
je 0x4ea3e9
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, edx
add edx, 0xc
mov esi, dword [eax]
mov dword [ecx], esi
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 0xc
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x4ea3b3
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x4ea48e
jmp 0x4ea407
mov ecx, dword [esp + 0x98]
fld dword [esi + ecx + 4]
lea edx, [esp + 0x34]
fstp qword [esp + 0x34]
fld dword [esi + ecx + 8]
lea ecx, [esp + 0x2c]
fstp qword [esp + 0x2c]
push ecx
push edx
lea ecx, [edi + 0x2d0]
call fcn.004b8120
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0xc]
mov eax, dword [esp + 0x98]
mov edx, dword [ebx + 4]
test byte [esi + eax], 6
mov ecx, dword [ebx + 8]
push ecx
push edx
jne 0x4ea46b
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x6c]
push eax
call sub.mfc42u.dll_CDC::MoveTo
jmp 0x4ea473
mov ecx, dword [ebp + 8]
call sub.mfc42u.dll_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
inc eax
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4ea400
lea ecx, [esp + 0x94]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.004b17b0
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4ea918
mov ecx, edi
call fcn.0050b010
test eax, eax
jne 0x4eafac
fld qword [ebp + 0x10]
fcomp qword [0x5efac8]
fnstsw ax
test ah, 1
je 0x4ea5fe
lea ecx, [esp + 0x78]
call fcn.004b1760
mov ecx, dword [edi + 0x364]
mov dword [esp + 0x1c0], 7
mov dword [esp + 0x10], 0
call fcn.004af860
test eax, eax
jle 0x4ea537
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x364]
lea eax, [esp + 0x78]
push eax
push edx
call fcn.004af870
mov ecx, eax
call fcn.004b3bf0
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x364]
inc edx
mov dword [esp + 0x10], edx
call fcn.004af860
cmp dword [esp + 0x10], eax
jl 0x4ea501
mov ecx, dword [esp + 0x80]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x4ea5ea
mov dword [esp + 0x1c], eax
jmp 0x4ea556
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
fld dword [eax + ecx + 4]
fstp qword [esp + 0x34]
fld dword [eax + ecx + 8]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x34]
fstp qword [esp + 0x2c]
push eax
push ecx
lea ecx, [edi + 0x2d0]
call fcn.004b8120
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0xc]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
mov cl, byte [eax + edx]
mov edx, dword [ebx + 4]
test cl, 6
mov ecx, dword [ebx + 8]
push ecx
push edx
jne 0x4ea5c0
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call sub.mfc42u.dll_CDC::MoveTo
jmp 0x4ea5c7
mov ecx, esi
call sub.mfc42u.dll_CDC::LineTo
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
jl 0x4ea552
mov dword [esp + 0x1c0], 0xffffffff
lea ecx, [esp + 0x78]
jmp 0x4ea913
lea ecx, [esp + 0x78]
call fcn.004b1760
mov ecx, dword [edi + 0x364]
mov dword [esp + 0x1c0], 8
mov dword [esp + 0x10], 0
call fcn.004af860
test eax, eax
jle 0x4ea904
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x80]
call fcn.005a6eb0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x364]
push eax
call fcn.004af870
lea ecx, [esp + 0x34]
mov esi, eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, esi
call fcn.004b35f0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x4c]
push edx
push eax
lea ecx, [edi + 0x2d0]
call fcn.004b8120
lea ecx, [esp + 0x34]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [edi + 0x2d0]
call fcn.004b8120
lea eax, [esp + 0x54]
mov ecx, edi
push eax
call fcn.0050b050
fld qword [esp + 0x2c]
fadd qword [esp + 0x34]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
fmul qword [0x5e2790]
fsubr qword [eax + 8]
fstp qword [esp + 0x18]
call fcn.0050b050
fld qword [esp + 0x4c]
fadd qword [esp + 0x24]
lea ecx, [esp + 0x168]
fmul qword [0x5e2790]
fsubr qword [eax]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fstp qword [esp + 0x14]
fstp st(0)
call fcn.004ccd50
fld qword [esi + 0x28]
fmul qword [ebp + 0x10]
mov byte [esp + 0x1c0], 9
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x4ea720
fld qword [esi + 0x28]
fmul qword [ebp + 0x10]
fsubr qword [esp + 0x14]
fdiv qword [esp + 0x14]
fstp qword [esp + 0x14]
jmp 0x4ea730
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x3ff00000
lea edx, [esp + 0x94]
mov ecx, edi
push edx
call fcn.0050b050
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x188]
call fcn.004b7810
lea ecx, [esp + 0x118]
call fcn.004ccd50
fld qword [esp + 0x2c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
fadd qword [esp + 0x34]
push eax
push ecx
push eax
push ecx
fmul qword [0x5e2790]
sub esp, 8
lea ecx, [esp + 0x130]
sub esp, 8
mov byte [esp + 0x1e0], 0xa
fstp qword [esp + 8]
fld qword [esp + 0x6c]
fadd qword [esp + 0x44]
fmul qword [0x5e2790]
fstp qword [esp]
call fcn.004b7810
lea eax, [edi + 0x2d0]
lea ecx, [esp + 0xb0]
push eax
call fcn.004b7500
lea eax, [esp + 0x118]
lea ecx, [esp + 0xb0]
push eax
mov byte [esp + 0x1c4], 0xb
call fcn.004b80e0
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0xb4]
call fcn.004b80e0
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.004b3bf0
mov eax, dword [esp + 0x80]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x4ea8a9
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x64]
fld dword [esi + eax + 4]
fstp qword [esp + 0x64]
fld dword [esi + eax + 8]
lea eax, [esp + 0x1c]
fstp qword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0xb8]
call fcn.004b8120
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0xc]
mov edx, dword [esp + 0x7c]
mov ecx, dword [ebx + 4]
test byte [esi + edx], 6
mov eax, dword [ebx + 8]
push eax
push ecx
jne 0x4ea886
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x108]
push edx
call sub.mfc42u.dll_CDC::MoveTo
jmp 0x4ea88e
mov ecx, dword [ebp + 8]
call sub.mfc42u.dll_CDC::LineTo
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x80]
inc eax
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4ea81d
lea ecx, [esp + 0xb0]
mov byte [esp + 0x1c0], 0xa
call fcn.0042bd50
lea ecx, [esp + 0x118]
mov byte [esp + 0x1c0], 9
call fcn.0042bd50
lea ecx, [esp + 0x168]
mov byte [esp + 0x1c0], 8
call fcn.0042bd50
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x364]
inc esi
mov dword [esp + 0x10], esi
call fcn.004af860
cmp esi, eax
jl 0x4ea62d
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c0], 0xffffffff
lea ecx, [esp + 0x78]
call fcn.004b17b0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4eafac
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4ea933
push 1
mov ecx, esi
call sub.mfc42u.dll_CDC::SetBkMode
fld qword [edi + 0x338]
fadd qword [edi + 0x328]
sub esp, 8
lea eax, [edi + 0x320]
mov edx, dword [ebx]
sub esp, 8
fmul qword [0x5e2790]
mov ecx, ebx
mov dword [esp + 0x34], eax
fstp qword [esp + 8]
fld qword [edi + 0x330]
fadd qword [eax]
fmul qword [0x5e2790]
fstp qword [esp]
call dword [edx + 0xc]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
lea esi, [ecx + 0x1f4]
add ecx, 0xfffffe0c
lea edx, [eax + 0x1f4]
add eax, 0xfffffe0c
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edx
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c0], 0xc
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [ebp + 0x44]
lea esi, [edi + 0x1b8]
test eax, eax
mov byte [esp + 0x1c0], 0xd
mov ecx, esi
je 0x4ea9f6
call fcn.004b0c10
push eax
mov ecx, esi
call fcn.004b0a70
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push 0x61f494
push ecx
call sub.mfc42u.dll_CString::Format_1
add esp, 0x10
jmp 0x4eaa05
call fcn.004b0a70
push eax
lea ecx, [esp + 0x14]
call sub.mfc42u.dll_CString::operator_2
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4eaceb
mov eax, dword [ebp + 0x40]
test eax, eax
mov eax, dword [ebp + 0x24]
je 0x4eabaf
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x4eaaec
mov edx, dword [edi + 0x144]
test eax, eax
mov eax, dword [edi + 0x198]
push edx
push eax
je 0x4eaa96
call fcn.004e9ee0
add esp, 8
mov ecx, esi
push eax
call fcn.004b09f0
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x2cc]
push ecx
push edx
push eax
push 0
lea ecx, [esp + 0x28]
push 0x61f47c
push ecx
call fcn.0046c5e0
add esp, 0x1c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0xe
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
call fcn.004e9ee0
add esp, 8
mov ecx, esi
push eax
call fcn.004b09f0
mov ecx, dword [eax]
mov edx, dword [edi + 0x2cc]
push ecx
push edx
push 0
lea eax, [esp + 0x24]
push 0x61f468
push eax
call fcn.0046c5e0
add esp, 0x18
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0xf
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
test eax, eax
je 0x4eab52
mov ecx, dword [edi + 0x144]
mov edx, dword [edi + 0x198]
push ecx
push edx
call fcn.004e9ee0
add esp, 8
mov ecx, esi
push eax
call fcn.004b09f0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push 0
lea edx, [esp + 0x24]
push 0x61f468
push edx
call fcn.0046c5e0
add esp, 0x18
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x10
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
mov eax, dword [edi + 0x144]
mov ecx, dword [edi + 0x198]
push eax
push ecx
call fcn.004e9ee0
add esp, 8
mov ecx, esi
push eax
call fcn.004b09f0
mov edx, dword [eax]
lea eax, [esp + 0x18]
push edx
push 0
push 0x6184dc
push eax
call fcn.0046c5e0
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x11
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x4eac5b
test eax, eax
mov ecx, esi
je 0x4eac10
call fcn.004b09f0
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x2cc]
push ecx
push edx
push eax
push 0
lea ecx, [esp + 0x24]
push 0x61f454
push ecx
call fcn.0046c5e0
add esp, 0x18
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x12
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
call fcn.004b09f0
mov edx, dword [eax]
mov eax, dword [edi + 0x2cc]
push edx
push eax
push 0
lea ecx, [esp + 0x20]
push 0x61f448
push ecx
call fcn.0046c5e0
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x13
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
test eax, eax
mov ecx, esi
je 0x4eacaa
call fcn.004b09f0
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0
lea ecx, [esp + 0x20]
push 0x61f448
push ecx
call fcn.0046c5e0
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x14
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
call fcn.004b09f0
mov edx, dword [eax]
lea eax, [esp + 0x14]
push edx
push 0
push 0x618668
push eax
call fcn.0046c5e0
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x15
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
mov eax, dword [ebp + 0x24]
test eax, eax
mov eax, dword [ebp + 0x1c]
je 0x4ead47
test eax, eax
je 0x4ead3e
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x2cc]
push ecx
push edx
push 0
lea eax, [esp + 0x20]
push 0x61f448
push eax
call fcn.0046c5e0
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1c4], 0x16
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c0], 0xd
call sub.mfc42u.dll_CString::CString
jmp 0x4ead59
add edi, 0x2cc
push edi
jmp 0x4ead50
test eax, eax
je 0x4ead59
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.mfc42u.dll_CString::operator_2
mov esi, dword [esp + 0x24]
mov edx, dword [ebx]
mov ecx, 0xc
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xb0]
mov ecx, ebx
push eax
call dword [edx + 0x10]
fild dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
fstp qword [esp + 0xb4]
fild dword [ebx + 8]
fstp qword [esp + 0xbc]
call dword [edx + 0x10]
fild dword [ebx + 4]
mov edx, dword [ebx]
lea eax, [esp + 0xd0]
push eax
mov ecx, ebx
fstp qword [esp + 0xc4]
fild dword [ebx + 8]
fstp qword [esp + 0xcc]
call dword [edx + 0x10]
fild dword [ebx + 4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
fstp qword [esp + 0xd0]
fild dword [ebx + 8]
mov dword [esp + 0x18], 0
fstp qword [esp + 0xd8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4eaef6
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ecx, dword [eax - 8]
mov edx, dword [ebx]
lea esi, [esp + 0x3c]
push 0x420
push esi
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x70]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx]
lea esi, [esp + 0x54]
push 0x125
mov ecx, dword [eax - 8]
push esi
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x70]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
add eax, ecx
mov ecx, dword [esp + 0x60]
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x44]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
mov edi, eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov eax, dword [esp + 0x54]
add eax, edx
cdq
sub eax, edx
sar esi, 1
sar ecx, 1
sar edi, 1
sar eax, 1
sub ecx, esi
sub eax, edi
push ecx
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.user32.dll_OffsetRect]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fld qword [esp + 0xc0]
fadd qword [esp + 0xb0]
fsubp st(1)
fmul qword [0x5e2790]
fstp qword [esp + 0x24]
fild dword [esp + 0x48]
fld qword [esp + 0xc8]
fadd qword [esp + 0xb8]
fmul qword [0x5e2790]
fsubp st(1)
fstp qword [esp + 0x14]
jmp 0x4eaef9
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4eaf87
fld qword [esp + 0x14]
fadd qword [esp + 0xb8]
call sub.msvcrt.dll__ftol
fld qword [esp + 0x24]
fadd qword [esp + 0xb0]
push eax
call sub.msvcrt.dll__ftol
push eax
lea eax, [esp + 0x108]
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::MoveTo
fld qword [esp + 0x14]
fadd qword [esp + 0xc8]
call sub.msvcrt.dll__ftol
fld qword [esp + 0x24]
fadd qword [esp + 0xc0]
push eax
call sub.msvcrt.dll__ftol
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::LineTo
fld qword [esp + 0x14]
fadd qword [esp + 0xd8]
call sub.msvcrt.dll__ftol
fld qword [esp + 0x24]
fadd qword [esp + 0xd0]
push eax
call sub.msvcrt.dll__ftol
push eax
mov ecx, ebx
call sub.mfc42u.dll_CDC::LineTo
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c0], 0xc
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c0], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x40