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

Disassembly:
push 0xffffffffffffffff
push 0x6a1c67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov dword [esp + 0x30], ecx
push ebx
mov ecx, dword [esp + 0x24c]
xor ebx, ebx
cmp ecx, ebx
push ebp
je 0x49db63
call fcn.005758b0
mov ebp, dword [esp + 0x24c]
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x244]
push esi
mov dword [ebp], ebx
mov dword [eax], ebx
mov dword [ecx], ebx
push edi
lea ecx, [esp + 0x80]
mov byte [esp + 0x13], 1
call fcn.00476ae0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x230], ebx
call fcn.004b0f30
mov esi, dword [esp + 0x248]
xor edi, edi
mov byte [esp + 0x230], 1
mov dword [esp + 0x2c], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x38], 0
cmp eax, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
jle 0x49dc8c
cmp edi, ebx
jne 0x49dc05
mov edx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
mov ecx, dword [edx]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x38]
push eax
push edx
call fcn.004b3370
jmp 0x49dc80
mov eax, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x4c]
mov ecx, dword [eax + edi*4]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.004b3370
fld dword [esp + 0x44]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
je 0x49dc3b
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
fld dword [esp + 0x1c]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x49dc52
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
fld dword [esp + 0x48]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x49dc69
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
fld dword [esp + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x49dc80
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov eax, dword [esi + 4]
inc edi
cmp edi, eax
jl 0x49dbe1
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, ebx
jle 0x49dd56
mov ebp, vtable.CContour.0
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x40]
push ebx
push ebx
mov eax, dword [edx + edi*4]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0049d630
mov ecx, dword [esp + 0x8c]
push eax
push 1
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x23c], 2
call fcn.004798f0
mov dword [esp + 0x4c], ebp
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x238], 3
call fcn.00478d20
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00658bf0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
push edx
push eax
mov dword [esp + 0x80], ebx
mov byte [esp + 0x238], 1
call fcn.0062e060
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00658bf0
mov eax, dword [esi + 4]
add esp, 4
inc edi
mov dword [esp + 0x54], ebx
cmp edi, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
jl 0x49dc9e
mov ebp, dword [esp + 0x254]
lea ecx, [esp + 0x80]
call fcn.004771a0
mov edi, dword [esp + 0x40]
lea edx, [esp + 0x80]
push 1
push edx
lea ecx, [edi + 0x70]
call fcn.004771c0
test al, al
je 0x49e051
mov esi, dword [edi + 0x88]
mov eax, dword [edi + 0x8c]
cmp esi, eax
je 0x49ddf2
fld dword [ebp]
fadd dword [esi + 0x24]
fstp dword [ebp]
fld dword [esi + 0x24]
fabs
fcomp qword [0x6cc7c8]
fnstsw ax
test ah, 1
jne 0x49dde5
mov ecx, dword [esp + 0x258]
cmp ecx, ebx
je 0x49ddc3
mov eax, dword [esi]
push 1
mov eax, dword [eax + 0x18]
push eax
call fcn.00575520
fld dword [esi + 0x1c]
fmul dword [esi + 0x24]
mov eax, dword [esp + 0x24c]
fadd dword [eax]
fstp dword [eax]
fld dword [esi + 0x20]
fmul dword [esi + 0x24]
mov eax, dword [esp + 0x250]
fadd dword [eax]
fstp dword [eax]
mov eax, dword [edi + 0x8c]
add esi, 0x38
cmp esi, eax
jne 0x49dd90
fld dword [ebp]
fcomp dword [0x6c8a88]
fnstsw ax
test ah, 0x40
je 0x49e038
mov eax, dword [edi + 0x88]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
je 0x49de48
fld dword [esp + 0x18]
fadd dword [eax]
add eax, 8
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fadd dword [eax - 4]
fstp dword [esp + 0x14]
cmp eax, dword [edi + 0xc]
jne 0x49de2b
mov ecx, dword [edi + 8]
cmp ecx, ebx
jne 0x49de53
xor eax, eax
jmp 0x49de5b
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
fild qword [esp + 0x24]
fdivr dword [esp + 0x18]
fstp dword [esp + 0x18]
mov ecx, dword [edi + 8]
cmp ecx, ebx
jne 0x49de7a
xor eax, eax
jmp 0x49de82
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
fild qword [esp + 0x24]
fdivr dword [esp + 0x14]
fstp dword [esp + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
fld dword [0x6c8a88]
fld dword [0x6c8a88]
cmp eax, ecx
je 0x49debc
fadd dword [eax]
fxch st(1)
fadd dword [eax + 4]
fxch st(1)
add eax, 8
cmp eax, ecx
jne 0x49deac
mov ecx, dword [edx + 8]
cmp ecx, ebx
jne 0x49dec7
xor eax, eax
jmp 0x49decf
mov eax, dword [edx + 0xc]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
fild qword [esp + 0x24]
mov ecx, dword [edx + 8]
cmp ecx, ebx
fdivr st(1)
fstp dword [esp + 0x3c]
fstp st(0)
jne 0x49deee
xor eax, eax
jmp 0x49def6
mov eax, dword [edx + 0xc]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
fild qword [esp + 0x24]
mov ecx, dword [esp + 0x250]
mov edx, dword [esp + 0x24c]
mov eax, dword [esp + 0x3c]
push ecx
fdivr st(1)
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x2c]
mov ebp, dword [esp + 0x2c]
push ebp
push eax
push ecx
push edx
fstp st(0)
call fcn.00465fb0
mov ecx, dword [esp + 0x264]
add esp, 0x18
fld dword [ecx]
fabs
fcomp qword [0x6cc7c8]
fnstsw ax
test ah, 1
je 0x49df6c
mov eax, dword [esp + 0x250]
fld dword [eax]
fabs
fcomp qword [0x6cc7c8]
fnstsw ax
test ah, 1
je 0x49df6c
mov dword [ecx], 0x3f800000
lea ecx, [esp + 0x4c]
call fcn.004c2ef0
mov esi, dword [edi + 8]
mov eax, dword [edi + 0xc]
cmp esi, eax
mov byte [esp + 0x230], 4
je 0x49dfa1
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00471100
mov eax, dword [edi + 0xc]
add esi, 8
cmp esi, eax
jne 0x49df87
mov esi, dword [esp + 0x250]
mov edi, dword [esp + 0x24c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
mov edx, dword [esi]
push eax
mov eax, dword [edi]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.004715c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebp
push eax
push ecx
push edx
call fcn.004ae4f0
mov ecx, dword [esp + 0x264]
add esp, 0x10
fld st(0)
fstp dword [ecx]
fcomp dword [0x6c8a74]
fnstsw ax
test ah, 1
je 0x49e008
mov dword [ecx], 0x3dcccccd
fld dword [esp + 0x18]
fsub dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x230], 1
fstp dword [edi]
fld dword [esp + 0x14]
fsub dword [esp + 0x24]
fstp dword [esi]
call fcn.004c2f30
mov ebp, dword [esp + 0x254]
mov edi, dword [esp + 0x40]
fld dword [ebp]
fcomp dword [0x6c8a74]
mov byte [esp + 0x13], 1
fnstsw ax
test ah, 1
jne 0x49e051
mov byte [esp + 0x13], bl
fld dword [esp + 0x238]
fadd dword [edi + 0x14]
fld dword [esp + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e086
fsub dword [esp + 0x30]
mov byte [esp + 0x13], bl
fstp dword [esp + 0x1c]
jmp 0x49e088
fstp st(0)
fld dword [esp + 0x23c]
fsub dword [edi + 0x14]
fld dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e0b1
fsub dword [esp + 0x38]
mov byte [esp + 0x13], bl
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
jmp 0x49e0b3
fstp st(0)
fld dword [esp + 0x240]
fadd dword [edi + 0x14]
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e0d8
fsub dword [esp + 0x34]
mov byte [esp + 0x13], bl
fstp dword [esp + 0x20]
jmp 0x49e0da
fstp st(0)
fld dword [esp + 0x244]
fsub dword [edi + 0x14]
fld dword [esp + 0x2c]
pop edi
pop esi
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49e105
fsub dword [esp + 0x24]
mov byte [esp + 0xb], bl
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jmp 0x49e107
fstp st(0)
fld dword [esp + 0x14]
fabs
fcomp qword [0x6cc7c8]
fnstsw ax
test ah, 1
je 0x49e12d
fld dword [esp + 0x18]
fabs
fcomp qword [0x6cc7c8]
fnstsw ax
test ah, 1
jne 0x49e17f
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x248]
fld dword [esp + 0x14]
fadd dword [eax]
fstp dword [eax]
fld dword [esp + 0x18]
fadd dword [ecx]
fst dword [esp + 0x1c]
fstp dword [ecx]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push ecx
push edx
push ebx
push ebx
call fcn.004ae4f0
fadd dword [ebp]
mov ecx, dword [esp + 0x260]
add esp, 0x10
cmp ecx, ebx
mov byte [esp + 0xb], bl
fstp dword [ebp]
je 0x49e17f
push 1
push 0xffffffffffffff9c
call fcn.00575520
lea ecx, [esp + 0xcc]
mov byte [esp + 0x228], bl
call fcn.004b1310
lea ecx, [esp + 0x78]
mov dword [esp + 0x228], 0xffffffff
call fcn.00476bc0
mov ecx, dword [esp + 0x220]
mov al, byte [esp + 0xb]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret 0x24