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

Disassembly:
push 0xffffffffffffffff
push 0x56d79c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
mov eax, 0xd
mov ebp, ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [ebp + 0xec], eax
mov dword [ebp + 0xe8], eax
mov ebx, dword [ecx + 0x1e4]
push esi
cmp ebx, eax
push edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
je 0x49c464
mov edi, dword [ebx + 0x1c]
cmp edi, 4
je 0x49c464
push 0x10
call fcn.0055d252
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov dword [esp + 0xa8], 0
je 0x49c11e
mov ecx, esi
call fcn.004cdfb0
mov dword [esi], 0x593f48
mov edx, dword [ebx + 0xc]
mov dword [esi + 4], edx
mov eax, dword [ebx + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esp + 0x14], esi
jmp 0x49c126
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa8], 0xffffffff
push ecx
mov ecx, dword [ebp + 0xbc]
call fcn.004c6970
mov esi, eax
test esi, esi
je 0x49c1f1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49c15b
mov ecx, eax
push 1
mov edx, dword [ecx]
call dword [edx]
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x1e8]
mov edx, dword [eax + 0x1ec]
fld qword [eax + 0x230]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
fmul qword [esp + 0x24]
fmul qword [eax + 0x1f0]
fld qword [eax + 0x230]
fmul qword [eax + 0x1f8]
fmul qword [esp + 0x24]
fstp qword [esp + 0x2c]
fld qword [esp + 0x24]
fmul qword [eax + 0x200]
fstp qword [esp + 0x34]
fld qword [esp + 0x24]
fmul qword [eax + 0x208]
mov eax, dword [esi + 4]
mov edi, dword [eax + 0xc]
fstp qword [esp + 0x24]
test edi, edi
jl 0x49c832
xor eax, eax
lea edx, [ebx + 0xa8]
mov ecx, dword [edx]
test ecx, ecx
je 0x49c1e1
cmp byte [ecx], 0x6d
jne 0x49c1e1
cmp byte [ecx + 1], 0
je 0x49c7d1
inc eax
add edx, 4
cmp eax, 0x100
jl 0x49c1cc
jmp 0x49c832
mov eax, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
mov eax, esi
test eax, eax
jl 0x49c2e8
push 0
lea ecx, [esp + 0x40]
push 0x5ba42c
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.004cdd30
add esp, 0x10
test eax, eax
jne 0x49c236
push 0x5c7494
push 0xffffffffffffffff
call fcn.004cda10
add esp, 8
jmp case.0x49c4c2.4
mov edx, dword [ebp + 0xb0]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 9
push ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
call fcn.004b24a0
lea ecx, [esp + 0x50]
call fcn.004b24e0
cmp dword [esp + 0x40], 8
je 0x49c299
push 0x5c7470
push 0xffffffffffffffff
call fcn.004cda10
add esp, 8
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov eax, dword [esp + 0x3c]
push eax
call fcn.005029b1
add esp, 4
jmp case.0x49c4c2.4
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
je 0x49c2c0
mov ecx, dword [esp + 0x3c]
push ecx
push eax
call fcn.00502a2e
add esp, 8
jmp 0x49c2a2
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov eax, dword [esp + 0x3c]
push eax
call fcn.005029b1
mov ebp, dword [esp + 0x1c]
add esp, 4
jmp 0x49c4b6
mov ebp, dword [ebx + 0x30]
test ebp, ebp
jne 0x49c4b6
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
test eax, eax
je 0x49c32f
mov ecx, ebx
call fcn.004cd850
test eax, eax
je 0x49c409
mov esi, dword [ebx + 0x14]
mov ecx, ebx
call fcn.004cd850
mov ecx, dword [0x5fcd0c]
push eax
push esi
call fcn.004c3ab0
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x49c405
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x49c350
mov ecx, dword [0x5fcd0c]
push eax
call fcn.004c3a60
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], esi
jne 0x49c47f
mov eax, dword [ebx + 0x20]
test al, 1
je 0x49c35e
mov esi, 8
jmp 0x49c366
movsx esi, al
and esi, 2
shl esi, 1
test eax, 0x40000
mov dword [esp + 0x1c], esi
je 0x49c378
add esi, 2
mov dword [esp + 0x1c], esi
test al, 0x40
je 0x49c381
inc esi
mov dword [esp + 0x1c], esi
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0xa8], 1
je 0x49c3b5
shl esi, 4
mov ecx, dword [esi + 0x5c7228]
push ecx
mov ecx, eax
call fcn.004c4300
mov dword [esp + 0x10], eax
jmp 0x49c3bd
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [0x5fcd0c]
push edx
mov dword [esp + 0xac], 0xffffffff
call fcn.004c3a60
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x2c], esi
je 0x49c3fa
mov ecx, eax
call fcn.004c44b0
mov eax, dword [esp + 0x10]
push eax
call fcn.0055d27b
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0xc], edx
test esi, esi
jne 0x49c47f
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x49c415
mov ebx, dword [ebx + 4]
jmp 0x49c41a
mov ebx, 0x5c7464
push ebx
push 0x5c7444
push 0xffffffffffffffff
call fcn.004cda10
add esp, 0xc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49c438
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49c464
mov eax, dword [eax + 4]
push eax
call fcn.0055a265
mov ecx, dword [esp + 0x1c]
add esp, 4
test ecx, ecx
mov esi, ecx
je 0x49c464
call fcn.004c44b0
push esi
call fcn.0055d27b
add esp, 4
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4
mov eax, dword [esi + 8]
sub eax, 0
je 0x49c4a2
dec eax
jne 0x49c4b6
mov eax, dword [ebx]
mov ebp, dword [esi + 0xc]
mov ecx, ebx
call dword [eax + 4]
mov edi, eax
neg edi
sbb edi, edi
and edi, 5
add edi, 5
jmp 0x49c4b6
mov edx, dword [ebx]
mov ebp, dword [esi + 0xc]
mov ecx, ebx
call dword [edx + 4]
mov edi, eax
neg edi
sbb edi, edi
and edi, 6
inc edi
lea eax, [edi - 1]
cmp eax, 0xa
ja case.0x49c4c2.4
jmp dword [eax*4 + 0x49c8a0]
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
xor edx, edx
cmp ebp, edi
lea ecx, [ebx + 0xa8]
sete dl
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx + 0xbc]
push eax
call fcn.004c69c0
mov esi, eax
test esi, esi
jne 0x49c15b
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x49c7c1
mov ebx, dword [ebx + 4]
push ebx
push 0x5c7424
jmp 0x49c420
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
xor ecx, ecx
cmp ebp, edi
lea edx, [ebx + 0xa8]
sete cl
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x2c]
push edx
mov ecx, dword [eax + 0xbc]
call fcn.004c69c0
jmp 0x49c4f4
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
xor edx, edx
cmp ebp, edi
lea ecx, [ebx + 0xa8]
sete dl
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ecx + 0xbc]
push eax
call fcn.004c69c0
jmp 0x49c4f4
mov eax, dword [ebp + 4]
push eax
call fcn.004c8160
mov esi, eax
add esp, 4
test esi, esi
je 0x49c5ab
push esi
mov ecx, ebx
call fcn.004cc310
mov edx, dword [esi]
push 1
mov ecx, esi
mov edi, eax
mov dword [esp + 0x14], 0x100
call dword [edx]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 4]
push ecx
push edi
jmp 0x49c79b
mov eax, dword [ebp + 4]
xor edi, edi
xor ecx, ecx
push ecx
push edi
jmp 0x49c79b
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
xor ecx, ecx
mov edx, dword [esp + 0x14]
cmp ebp, edi
sete cl
push ecx
push eax
mov eax, dword [esp + 0x28]
push edx
mov ecx, dword [eax + 0xbc]
call fcn.004c69f0
jmp 0x49c4f4
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 4]
xor ecx, ecx
mov edx, dword [esp + 0x14]
cmp ebp, edi
sete cl
push ecx
push eax
mov eax, dword [esp + 0x28]
push edx
mov ecx, dword [eax + 0xbc]
call fcn.004c6a10
jmp 0x49c4f4
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], esi
je 0x49c754
mov ecx, ebx
call fcn.004cd830
mov edi, eax
cmp edi, esi
mov dword [esp + 0x24], edi
je 0x49c731
mov eax, dword [ebp + 4]
push eax
call fcn.004c8160
mov esi, eax
add esp, 4
test esi, esi
je 0x49c728
xor edi, edi
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.004c8300
test eax, eax
jle 0x49c693
push edi
mov ecx, esi
call fcn.004c8310
cmp eax, 3
jne 0x49c677
push edi
mov ecx, esi
call fcn.004c8320
cmp eax, 1
je 0x49c68f
push edi
mov ecx, esi
call fcn.004c8310
test eax, eax
je 0x49c68f
mov ecx, esi
inc edi
call fcn.004c8300
cmp edi, eax
jl 0x49c65d
mov dword [esp + 0x2c], edi
mov ecx, esi
call fcn.004c8300
cmp edi, eax
jge 0x49c71c
mov ecx, dword [esp + 0x24]
push 2
mov eax, dword [ecx + 8]
push eax
mov dword [esp + 0x18], eax
call fcn.004c6580
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
add esp, 8
xor edi, edi
test eax, eax
jle 0x49c71c
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x80]
push 8
push eax
push edi
call fcn.004c7f80
test eax, eax
jle 0x49c6ff
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.004c8340
mov ecx, dword [esp + 0x1c]
mov word [ecx], ax
jmp 0x49c708
mov edx, dword [esp + 0x1c]
mov word [edx], 0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc edi
add ecx, 2
cmp edi, eax
mov dword [esp + 0x1c], ecx
jl 0x49c6ca
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.004c7e40
jmp 0x49c78e
mov eax, dword [ebx + 0x14]
cmp eax, esi
je 0x49c73d
mov eax, dword [eax + 4]
jmp 0x49c742
mov eax, 0x5c7464
push eax
push 0x5c73f0
push 0xffffffffffffffff
call fcn.004cda10
add esp, 0xc
jmp 0x49c78e
cmp dword [ebx + 0xd8], esi
je 0x49c78e
mov esi, dword [ebx + 0xdc]
push 2
push esi
mov dword [esp + 0x18], esi
call fcn.004c6580
lea ecx, [esi + esi]
mov esi, dword [ebx + 0xd8]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 8
and ecx, 3
mov dword [esp + 0x34], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 4]
push ecx
push edx
mov edi, dword [esp + 0x20]
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp ebp, edi
sete cl
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
mov ecx, dword [eax + 0xbc]
call fcn.004c6a30
jmp 0x49c4f4
mov ebx, 0x5c7464
push ebx
push 0x5c7424
jmp 0x49c420
cmp eax, 0x100
jge 0x49c832
and eax, 0xff
shl edi, 4
fld qword [ebx + eax*8 + 0x5b8]
mov al, byte [ebx + 0x20]
add edi, 0x5c7230
test al, 4
fld qword [edi]
jne 0x49c82e
fld st(1)
fcomp qword [0x574f40]
fnstsw ax
test ah, 0x41
jne 0x49c82e
fld st(0)
fmul qword [0x593f40]
fld st(2)
fcompp
fnstsw ax
test ah, 1
je 0x49c82e
fxch st(1)
fdiv st(1)
fxch st(1)
fstp st(0)
fld st(0)
fmulp st(2)
fmul qword [esp + 0x34]
fstp qword [esp + 0x34]
jmp 0x49c832
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
fstp qword [esp + 0x60]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.004b2e70
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, dword [edi + 0xbc]
push esi
call fcn.004c6a70
mov ecx, dword [esp + 0x18]
mov dword [edi + 0xe8], eax
test ecx, ecx
je 0x49c464
mov esi, ecx
jmp 0x49c456