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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578c6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x204]
mov dword [esp + 0x200], 0
rep stosd dword es:[edi], eax
mov eax, 3
mov ecx, 4
mov dword [esp + 0x168], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x180], eax
lea eax, [esp + 0x1f4]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x17c], ecx
mov ecx, dword [ebx + 0xf8]
push eax
xor esi, esi
mov edi, 2
mov edx, 1
push 0xc
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], esi
mov dword [esp + 0x154], 8
mov dword [esp + 0x158], esi
mov dword [esp + 0x15c], edi
mov dword [esp + 0x160], 5
mov dword [esp + 0x164], 7
mov dword [esp + 0x168], 6
mov dword [esp + 0x16c], 9
mov dword [esp + 0x170], esi
mov dword [esp + 0x17c], edx
mov dword [esp + 0x184], edx
mov dword [esp + 0x190], esi
mov dword [esp + 0x194], 9
mov dword [esp + 0x198], 6
mov dword [esp + 0x19c], 7
mov dword [esp + 0x1a0], 5
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1ac], 8
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, ebx
call fcn.0046af90
mov ecx, ebx
call fcn.0046ad40
mov eax, dword [ebx + 0x84]
cmp eax, esi
jne 0x46b299
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x128], eax
cmp eax, esi
mov dword [esp + 0x2a8], esi
je 0x46b279
push 0x273e
mov ecx, eax
call fcn.00486d60
jmp 0x46b27b
xor eax, eax
lea edx, [esp + 0x5c]
push 0x5a5210
push edx
mov dword [esp + 0x2b0], 0xffffffff
mov dword [esp + 0x64], eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebx + 0xe8]
mov edi, dword [ebx + 0xc0]
mov dword [esp + 0x60], 1
mov dl, byte [ecx + 0x13]
fld qword [edi + 0x38]
mov byte [esp + 0x13], dl
mov edx, dword [eax + 0x514]
mov eax, dword [edi + 8]
mov dword [esp + 0x118], edx
fstp dword [esp + 0x200]
lea ecx, [eax - 1]
cmp ecx, 1
mov dword [esp + 0xb0], ecx
jle 0x46b329
fld qword [edi + 0x30]
fsub qword [edi + 0x38]
xor ecx, ecx
mov cl, byte [edi + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x60]
dec eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x204]
fild dword [esp + 0x5c]
fdivp st(1)
jmp 0x46b306
mov eax, dword [esp + 0x5c]
fild dword [esp + 0x60]
add eax, 4
inc ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
fmul st(1)
fadd qword [edi + 0x38]
fstp dword [eax - 4]
cmp ecx, dword [esp + 0xb0]
jl 0x46b302
fstp st(0)
fld dword [0x590620]
fmul dword [0x590620]
mov eax, 1
xor edi, edi
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], eax
fst dword [esp + 0xac]
fmul dword [esp + 0xac]
lea eax, [edx - 1]
mov dword [esp + 0x1c4], esi
cmp eax, esi
mov dword [esp + 0x1dc], esi
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1d0], esi
fstp qword [esp + 0x4c]
mov dword [esp + 0x60], edi
jle 0x46c672
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0xbc], ecx
jle 0x46c665
mov eax, edi
imul eax, edx
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x13c]
lea esi, [eax + ecx]
mov eax, dword [ebx + 0xfc]
shl esi, 7
add eax, esi
mov dword [esp + 0x128], esi
fld qword [eax + 0x38]
fld qword [eax + 0x30]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0xac]
fcompp
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x46c650
xor eax, eax
mov dword [esp + 0xb0], eax
jmp 0x46b41e
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x118]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x38]
cmp eax, 3
ja case.default.0x46b427
jmp dword [eax*4 + 0x46c68c]
inc edi
mov eax, dword [ebx + 0xfc]
imul edi, edx
fld qword [eax + esi + 0x30]
fstp dword [esp + 0xd4]
add edi, ecx
mov dl, byte [esp + 0x13]
shl edi, 7
test dl, dl
fld qword [edi + eax + 0xb0]
lea ecx, [edi + eax]
fstp dword [esp + 0xd8]
fld qword [eax + esi + 0x38]
fstp dword [esp + 0xc8]
fld qword [ecx + 0xb8]
fstp dword [esp + 0xcc]
jne 0x46b49e
fld qword [eax + esi + 0x40]
fstp dword [esp + 0x3c]
fld qword [eax + esi + 0xc0]
fstp dword [esp + 0x40]
fld qword [ecx + 0x40]
fstp dword [esp + 0x44]
fld qword [ecx + 0xc0]
jmp 0x46b68a
fld qword [eax + esi + 0x60]
fstp dword [esp + 0x3c]
fld qword [eax + esi + 0xe0]
fstp dword [esp + 0x40]
fld qword [ecx + 0x60]
fstp dword [esp + 0x44]
fld qword [ecx + 0xe0]
jmp 0x46b68a
inc edi
mov eax, dword [ebx + 0xfc]
imul edi, edx
fld qword [eax + esi + 0x30]
fstp dword [esp + 0xd4]
add edi, ecx
mov dl, byte [esp + 0x13]
shl edi, 7
test dl, dl
fld qword [edi + eax + 0xb0]
lea ecx, [edi + eax]
fstp dword [esp + 0xd8]
fld qword [eax + esi + 0x38]
fchs
fstp dword [esp + 0xcc]
fld qword [ecx + 0xb8]
fchs
fstp dword [esp + 0xc8]
jne 0x46b537
fld qword [eax + esi + 0xc8]
fstp dword [esp + 0x3c]
fld qword [eax + esi + 0x48]
fstp dword [esp + 0x40]
fld qword [ecx + 0xc8]
fstp dword [esp + 0x44]
fld qword [ecx + 0x48]
jmp 0x46b68a
fld qword [eax + esi + 0xe8]
fstp dword [esp + 0x3c]
fld qword [eax + esi + 0x68]
fstp dword [esp + 0x40]
fld qword [ecx + 0xe8]
fstp dword [esp + 0x44]
fld qword [ecx + 0x68]
jmp 0x46b68a
inc edi
mov eax, dword [ebx + 0xfc]
imul edi, edx
fld qword [eax + esi + 0x30]
fchs
fstp dword [esp + 0xd8]
add edi, ecx
mov dl, byte [esp + 0x13]
shl edi, 7
test dl, dl
fld qword [edi + eax + 0xb0]
lea ecx, [edi + eax]
fchs
fstp dword [esp + 0xd4]
fld qword [eax + esi + 0x38]
fchs
fstp dword [esp + 0xcc]
fld qword [ecx + 0xb8]
fchs
fstp dword [esp + 0xc8]
jne 0x46b5d4
fld qword [ecx + 0xd0]
fstp dword [esp + 0x3c]
fld qword [ecx + 0x50]
fstp dword [esp + 0x40]
fld qword [eax + esi + 0xd0]
fstp dword [esp + 0x44]
fld qword [eax + esi + 0x50]
jmp 0x46b68a
fld qword [ecx + 0xf0]
fstp dword [esp + 0x3c]
fld qword [ecx + 0x70]
fstp dword [esp + 0x40]
fld qword [eax + esi + 0xf0]
fstp dword [esp + 0x44]
fld qword [eax + esi + 0x70]
jmp 0x46b68a
inc edi
mov eax, dword [ebx + 0xfc]
imul edi, edx
fld qword [eax + esi + 0x30]
fchs
fstp dword [esp + 0xd8]
add edi, ecx
mov dl, byte [esp + 0x13]
shl edi, 7
test dl, dl
fld qword [edi + eax + 0xb0]
lea ecx, [edi + eax]
fchs
fstp dword [esp + 0xd4]
fld qword [eax + esi + 0x38]
fstp dword [esp + 0xc8]
fld qword [ecx + 0xb8]
fstp dword [esp + 0xcc]
jne 0x46b66a
fld qword [ecx + 0x58]
fstp dword [esp + 0x3c]
fld qword [ecx + 0xd8]
fstp dword [esp + 0x40]
fld qword [eax + esi + 0x58]
fstp dword [esp + 0x44]
fld qword [eax + esi + 0xd8]
jmp 0x46b68a
fld qword [ecx + 0x78]
fstp dword [esp + 0x3c]
fld qword [ecx + 0xf8]
fstp dword [esp + 0x40]
fld qword [eax + esi + 0x78]
fstp dword [esp + 0x44]
fld qword [eax + esi + 0xf8]
fstp dword [esp + 0x48]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x46b6aa
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
jmp 0x46b6b5
mov edx, dword [esp + 0x40]
mov dword [esp + 0x8c], edx
fld dword [esp + 0x44]
fcomp dword [esp + 0x8c]
fnstsw ax
test ah, 0x41
jne 0x46b6d2
mov eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
fld dword [esp + 0x48]
fcomp dword [esp + 0x8c]
fnstsw ax
test ah, 0x41
jne 0x46b6ef
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x8c], ecx
fld dword [esp + 0x3c]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 1
je 0x46b70b
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], edx
jmp 0x46b716
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], eax
fld dword [esp + 0x44]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
je 0x46b733
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x88], ecx
fld dword [esp + 0x48]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
je 0x46b750
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov ebx, dword [ebx + 0xc0]
fld dword [esp + 0x88]
fcomp qword [ebx + 0x30]
fnstsw ax
test ah, 0x41
je 0x46c622
fld dword [esp + 0x8c]
fcomp qword [ebx + 0x38]
fnstsw ax
test ah, 1
jne 0x46c622
mov eax, dword [ebx + 8]
mov ebx, dword [esp + 0x38]
xor edi, edi
dec eax
test eax, eax
mov dword [esp + 0x90], edi
jle 0x46c427
fld dword [esp + edi*4 + 0x200]
fcomp dword [esp + 0x88]
fnstsw ax
test ah, 1
jne 0x46c40d
fld dword [esp + edi*4 + 0x200]
fcomp dword [esp + 0x8c]
fnstsw ax
test ah, 0x41
je 0x46c40d
mov ecx, 4
test ecx, ecx
jle 0x46b810
mov eax, dword [esp + ecx*4 + 0x1c0]
mov edx, dword [esp + ecx*4 + 0x1d8]
lea esi, [edx + eax*2]
mov eax, dword [esp + eax*4 + 0xd4]
mov edx, dword [esp + edx*4 + 0xc8]
mov dword [esp + ecx*4 + 0xe0], eax
fld dword [esp + esi*4 + 0x3c]
fsub dword [esp + edi*4 + 0x200]
mov dword [esp + ecx*4 + 0xf8], edx
fstp dword [esp + ecx*4 + 0x70]
jne 0x46b865
fld dword [esp + 0x80]
fadd dword [esp + 0x7c]
fadd dword [esp + 0x78]
fadd dword [esp + 0x74]
fmul dword [0x58e010]
fstp dword [esp + 0x70]
fld dword [esp + 0xd8]
fadd dword [esp + 0xd4]
fmul dword [0x585c3c]
fstp dword [esp + 0xe0]
fld dword [esp + 0xcc]
fadd dword [esp + 0xc8]
fmul dword [0x585c3c]
fstp dword [esp + 0xf8]
fld dword [esp + ecx*4 + 0x70]
fcomp dword [0x588b40]
fnstsw ax
test ah, 0x41
jne 0x46b883
mov dword [esp + ecx*4 + 0x1ac], 2
jmp 0x46b8ac
fld dword [esp + ecx*4 + 0x70]
fcomp dword [0x588b40]
fnstsw ax
test ah, 1
je 0x46b8a1
mov dword [esp + ecx*4 + 0x1ac], 0
jmp 0x46b8ac
mov dword [esp + ecx*4 + 0x1ac], 1
dec ecx
jns 0x46b7d0
mov eax, dword [ebx + edi*4 + 0x1d68]
mov ecx, dword [ebp + 8]
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov esi, 2
mov dword [esp + 0x138], eax
mov dword [esp + 0x5c], esi
xor edi, edi
mov ebx, dword [esp + 0x90]
cmp esi, 5
jne 0x46b8e6
mov esi, 1
mov eax, dword [esp + edi + 0x1b0]
mov ecx, dword [esp + 0x1ac]
lea edx, [ecx + eax*2]
add eax, edx
mov edx, dword [esp + esi*4 + 0x1ac]
lea eax, [eax + eax*2]
add eax, edx
mov eax, dword [esp + eax*4 + 0x140]
dec eax
cmp eax, 8
ja case.default.0x46b916
jmp dword [eax*4 + 0x46c69c]
fld dword [esp + edi + 0xfc]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + 0x110]
add esp, 0x18
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
add esp, 0x18
jmp 0x46bc5b
fld dword [esp + 0xf8]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + esi*4 + 0x110]
add esp, 0x18
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
add esp, 0x18
jmp 0x46bb0e
fld dword [esp + esi*4 + 0xf8]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + edi + 0x114]
add esp, 0x18
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
add esp, 0x18
jmp 0x46bda8
fld dword [esp + edi + 0xfc]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + 0x110]
add esp, 0x18
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x9c]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + esi*4 + 0x110]
add esp, 0x18
lea edx, [esp + 0x54]
lea eax, [esp + 0x64]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + esi*4 + 0x88]
fsub dword [esp + 0x88]
fld dword [esp + esi*4 + 0x88]
lea esi, [esp + esi*4 + 0x88]
add esp, 0x18
fmul qword [esp + 0x9c]
fld dword [esp + 0x70]
fmul qword [esp + 0x64]
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x14]
fld dword [esi]
fmul qword [esp + 0xb4]
fld dword [esp + 0x70]
fmul qword [esp + 0x54]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x1c]
inc ebx
push ebx
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x34]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp + 8]
push eax
push ecx
jmp 0x46c3ca
fld dword [esp + 0xf8]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + esi*4 + 0x110]
add esp, 0x18
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x9c]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + edi + 0x114]
add esp, 0x18
lea eax, [esp + 0x54]
lea ecx, [esp + 0x64]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + edi + 0x8c]
fsub dword [esp + esi*4 + 0x88]
fld dword [esp + edi + 0x8c]
fmul qword [esp + 0xb4]
lea esi, [esp + esi*4 + 0x88]
add esp, 0x18
fld dword [esi]
fmul qword [esp + 0x64]
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x14]
fld dword [esp + edi + 0x74]
fmul qword [esp + 0xb4]
fld dword [esi]
fmul qword [esp + 0x54]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x1c]
inc ebx
push ebx
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x34]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
mov edx, dword [ebp + 8]
push eax
push edx
jmp 0x46c3ca
fld dword [esp + esi*4 + 0xf8]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + edi + 0x114]
add esp, 0x18
lea edx, [esp + 0xb4]
lea eax, [esp + 0x9c]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + 0x110]
add esp, 0x18
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + 0x88]
fsub dword [esp + edi + 0x8c]
fld dword [esp + 0x88]
fmul qword [esp + 0xb4]
fld dword [esp + edi + 0x8c]
fmul qword [esp + 0x7c]
add esp, 0x18
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x14]
fld dword [esp + 0x70]
fmul qword [esp + 0xb4]
fld dword [esp + edi + 0x74]
fmul qword [esp + 0x54]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
inc ebx
push ebx
jmp 0x46c39e
fld dword [esp + edi + 0xfc]
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x11c]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + 0x110]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x7c]
fstp qword [esp + 0xbc]
fld dword [esp + 0xf8]
mov ebx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
fstp qword [esp + 0xac]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xb4]
push ebx
push edx
push eax
push ecx
call fcn.00468d60
fld dword [esp + 0xa0]
fsub dword [esp + edi + 0xa4]
fld dword [esp + 0xa0]
fmul qword [esp + 0x14c]
fld dword [esp + edi + 0xa4]
fmul qword [esp + 0x94]
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0xe4]
lea eax, [esp + 0xcc]
push edx
fsubp st(1)
mov edx, dword [esp + 0xcc]
push eax
mov eax, dword [esp + 0xcc]
push ebx
fld st(1)
fdivp st(1)
push ecx
push edx
push eax
fstp qword [esp + 0x6c]
fld dword [esp + 0xb8]
fmul qword [esp + 0x174]
fld dword [esp + edi + 0xbc]
fmul qword [esp + 0x9c]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x74]
call fcn.00468d60
fld dword [esp + esi*4 + 0x140]
add esp, 0x48
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push ecx
push edx
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + esi*4 + 0x88]
fsub dword [esp + 0x88]
fld dword [esp + esi*4 + 0x88]
lea eax, [esp + esi*4 + 0x88]
add esp, 0x18
fmul qword [esp + 0x9c]
fld dword [esp + 0x70]
fmul qword [esp + 0x64]
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x14]
fld dword [eax]
fmul qword [esp + 0xb4]
fld dword [esp + 0x70]
fmul qword [esp + 0x54]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
mov eax, dword [esp + 0x90]
fld qword [esp + 0x1c]
inc eax
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x34]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp + 8]
push eax
push ecx
jmp 0x46c3ca
fld dword [esp + 0xf8]
lea edx, [esp + 0x12c]
lea eax, [esp + 0x11c]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + esi*4 + 0x110]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x7c]
fstp qword [esp + 0xbc]
fld dword [esp + esi*4 + 0xf8]
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
fstp qword [esp + 0xac]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xb4]
push ebx
push eax
push ecx
push edx
call fcn.00468d60
fld dword [esp + esi*4 + 0xa0]
fsub dword [esp + 0xa0]
fld dword [esp + esi*4 + 0xa0]
lea esi, [esp + esi*4 + 0xa0]
mov edx, dword [esp + 0xd4]
fmul qword [esp + 0x14c]
fld dword [esp + 0xa0]
fmul qword [esp + 0x94]
lea eax, [esp + 0xe4]
lea ecx, [esp + 0xcc]
push eax
mov eax, dword [esp + 0xcc]
fsubp st(1)
push ecx
mov ecx, dword [esp + 0xcc]
push ebx
push edx
fld st(1)
fdivp st(1)
push eax
push ecx
fstp qword [esp + 0x6c]
fld dword [esi]
fmul qword [esp + 0x174]
fld dword [esp + 0xb8]
fmul qword [esp + 0x9c]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x74]
call fcn.00468d60
fld dword [esp + edi + 0x144]
add esp, 0x48
lea edx, [esp + 0x54]
lea eax, [esp + 0x64]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esp + edi + 0xf4]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + edi + 0x8c]
fsub dword [esi]
fld dword [esp + edi + 0x8c]
fmul qword [esp + 0xb4]
fld dword [esi]
add esp, 0x18
fmul qword [esp + 0x64]
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x14]
fld dword [esp + edi + 0x74]
fmul qword [esp + 0xb4]
fld dword [esi]
fmul qword [esp + 0x54]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
mov ecx, dword [esp + 0x90]
fld qword [esp + 0x1c]
inc ecx
push ecx
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x34]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
mov edx, dword [ebp + 8]
push eax
push edx
jmp 0x46c3ca
fld dword [esp + esi*4 + 0xf8]
lea eax, [esp + 0x12c]
lea ecx, [esp + 0x11c]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + esi*4 + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + edi + 0x114]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x7c]
fstp qword [esp + 0xbc]
fld dword [esp + edi + 0xfc]
mov ebx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
fstp qword [esp + 0xac]
push edx
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb4]
push ebx
push ecx
push edx
push eax
call fcn.00468d60
fld dword [esp + edi + 0xa4]
fsub dword [esp + esi*4 + 0xa0]
fld dword [esp + edi + 0xa4]
fmul qword [esp + 0x14c]
lea eax, [esp + esi*4 + 0xa0]
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xcc]
push ecx
fld dword [eax]
fmul qword [esp + 0x98]
mov ecx, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0xcc]
push ebx
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x60]
fld dword [esp + edi + 0xb0]
fmul qword [esp + 0x168]
fld dword [eax]
fmul qword [esp + 0x90]
mov eax, dword [esp + 0xe0]
push eax
push ecx
fsubp st(1)
fxch st(1)
push edx
fdivp st(1)
fstp qword [esp + 0x74]
call fcn.00468d60
fld dword [esp + 0x140]
add esp, 0x48
lea eax, [esp + 0x54]
lea ecx, [esp + 0x64]
push eax
push ecx
sub esp, 8
fstp qword [esp]
fld dword [esp + 0xf0]
sub esp, 8
fstp qword [esp]
call fcn.00468d60
fld dword [esp + 0x88]
fsub dword [esp + edi + 0x8c]
fld dword [esp + 0x88]
fmul qword [esp + 0xb4]
fld dword [esp + edi + 0x8c]
add esp, 0x18
fmul qword [esp + 0x64]
fsubp st(1)
fld st(1)
fdivp st(1)
fstp qword [esp + 0x14]
fld dword [esp + 0x70]
fmul qword [esp + 0xb4]
fld dword [esp + edi + 0x74]
fmul qword [esp + 0x54]
fsubp st(1)
fxch st(1)
fdivp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul qword [esp + 0x2c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
faddp st(1)
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 1
je case.default.0x46b916
mov edx, dword [esp + 0x90]
inc edx
push edx
fld qword [esp + 0x20]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x34]
push eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x30]
push eax
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [esp + 0x50]
call fcn.0046b0a0
mov esi, dword [esp + 0x5c]
add edi, 4
inc esi
mov dword [esp + 0x5c], esi
lea ecx, [esi - 1]
cmp ecx, 4
jle 0x46b8d5
mov edx, dword [esp + 0x138]
mov ecx, dword [ebp + 8]
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov esi, dword [esp + 0x128]
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + 0xc0]
inc edi
mov dword [esp + 0x90], edi
mov ecx, dword [eax + 8]
dec ecx
cmp edi, ecx
jl 0x46b799
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0xbc]
inc edx
mov eax, dword [ebx + 0xfc]
imul edx, dword [esp + 0x118]
add edx, ecx
shl edx, 7
add eax, edx
fld qword [eax + 0xb8]
fld qword [eax + 0xb0]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fld dword [esp + 0xac]
fcompp
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
je 0x46c622
fld dword [esp + 0xc8]
sub esp, 8
lea ecx, [esp + 0x118]
fstp qword [esp]
fld dword [esp + 0xdc]
sub esp, 8
fstp qword [esp]
push ecx
call fcn.00468d30
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.GDI32.dll_LPtoDP]
add esp, 0x14
lea edx, [esp + 0x110]
mov eax, dword [edi + 8]
push 1
push edx
push eax
call ebx
fild dword [esp + 0x110]
sub esp, 8
lea ecx, [esp + 0x118]
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x124]
fstp qword [esp + 0x3c]
fld dword [esp + 0xdc]
fstp qword [esp + 8]
fld dword [esp + 0xe8]
fstp qword [esp]
push ecx
call fcn.00468d30
mov eax, dword [edi + 8]
add esp, 0x14
lea edx, [esp + 0x110]
push 1
push edx
push eax
call ebx
fild dword [esp + 0x110]
fstp qword [esp + 0x14]
fild dword [esp + 0x114]
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x14]
mov ebx, eax
call sub.MSVCRT.dll__ftol
cmp ebx, eax
jg 0x46c622
fld qword [esp + 0x2c]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x1c]
mov edi, eax
call sub.MSVCRT.dll__ftol
cmp edi, eax
jl 0x46c610
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xc0]
push 1
push ecx
mov eax, dword [edx + 8]
mov dword [esp + 0xc8], ebx
push eax
mov dword [esp + 0xd0], edi
call dword [sym.imp.GDI32.dll_DPtoLP]
lea ecx, [esp + 0xc0]
push ecx
call fcn.00468d90
fild dword [esp + 0xc4]
fild dword [esp + 0xc8]
add esp, 4
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fcomp dword [esp + 0xac]
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x46c5fe
lea edx, [esp + 0xc0]
push edx
call fcn.00468d00
mov eax, dword [esp + 0x3c]
add esp, 4
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x46c5d9
mov eax, 0xffffff
jmp 0x46c5e0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x4c]
mov edx, dword [esp + 0xc4]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0xc4]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetPixelV]
fld qword [esp + 0x1c]
dec edi
call sub.MSVCRT.dll__ftol
cmp edi, eax
jge 0x46c558
fld qword [esp + 0x14]
inc ebx
call sub.MSVCRT.dll__ftol
cmp ebx, eax
jle 0x46c53c
mov eax, dword [esp + 0xb0]
inc eax
cmp eax, 4
mov dword [esp + 0xb0], eax
jl 0x46b401
mov edx, dword [esp + 0x118]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x38]
inc ecx
lea eax, [edx - 1]
cmp ecx, eax
mov dword [esp + 0xbc], ecx
jl 0x46b3b2
xor esi, esi
inc edi
cmp edi, eax
mov dword [esp + 0x60], edi
jl 0x46b395
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4