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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
push 0xa
lea ecx, [esp + 0x20]
call fcn.004a0474
mov dword [esp + 0x1c], 0x50142c
mov dword [esp + 0x38], 0x5013c8
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
xor ebx, ebx
push esi
push eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x14], ebx
call fcn.0046e540
mov edx, dword [esp + 0x30]
add esp, 8
xor ecx, ecx
cmp edx, ebx
mov edx, dword [esp + 0x38]
sete cl
mov edi, ecx
lea ecx, [esp + 0x38]
call dword [edx + 4]
cmp edi, ebx
je 0x46e0d9
push 0xffffffffffffffff
push ebx
push 0x9d7d
call fcn.004a017a
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004a0480
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0046f7e0
push 0x158
call fcn.004a021c
mov esi, eax
add esp, 0xc
mov dword [esp + 0x3c], esi
cmp esi, ebx
mov byte [esp + 0xc8], 1
je 0x46e147
mov ecx, dword [0x500730]
mov eax, dword [0x500798]
mov dl, byte [ecx]
mov cl, byte [eax]
push edx
mov edx, dword [0x500794]
push ecx
mov al, byte [edx]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x52be10
call fcn.0049ffc4
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [0x4ffdd0]
mov dword [esi], 0x501058
mov dword [esp + 0x14], esi
jmp 0x46e14b
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0xc8], 0
cmp eax, ebx
jne 0x46e161
call dword [0x50064c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x38]
call dword [edx + 0x2c]
mov eax, esi
cmp esi, ebx
mov dword [esp + 0x10], eax
je 0x46e45d
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov esi, eax
mov eax, dword [eax]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], eax
call dword [edx + 0x38]
mov esi, dword [esi + 8]
mov dword [esp + 0x3c], esi
cmp byte [esi + 4], 4
jne 0x46e44f
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x44], eax
je 0x46e45d
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
mov ebx, eax
mov eax, dword [eax]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], eax
call dword [edx + 0x38]
mov ebx, dword [ebx + 8]
cmp byte [ebx + 4], 4
jne 0x46e350
lea eax, [esi + 0x68]
lea ecx, [ebx + 0x68]
push eax
push ecx
call dword [0x50090c]
fcomp qword [0x502918]
add esp, 8
fnstsw ax
test ah, 0x41
je 0x46e350
fld qword [ebx + 0xb0]
fsub qword [esi + 0xb0]
fabs
fcomp qword [0x502918]
fnstsw ax
test ah, 0x41
je 0x46e350
mov edi, dword [0x500920]
lea edx, [esp + 0xa8]
lea eax, [esp + 0x78]
push edx
push eax
push ebx
call edi
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x9c]
push ecx
push edx
push esi
call edi
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xc0]
push eax
push ecx
call dword [0x50090c]
fcomp qword [0x502918]
add esp, 0x20
fnstsw ax
test ah, 1
je 0x46e28f
fld qword [ebx + 0xb8]
fmul qword [esi + 0xb8]
fcomp qword [0x5028c8]
fnstsw ax
test ah, 0x41
je 0x46e361
jmp 0x46e350
lea edx, [esp + 0x60]
lea eax, [esp + 0xa8]
push edx
push eax
call dword [0x50090c]
fcomp qword [0x502918]
add esp, 8
fnstsw ax
test ah, 1
je 0x46e2d1
fld qword [ebx + 0xb8]
fmul qword [esi + 0xb8]
fcomp qword [0x5028c8]
fnstsw ax
test ah, 1
jne 0x46e36f
jmp 0x46e350
lea ecx, [esp + 0x60]
lea edx, [esp + 0x78]
push ecx
push edx
call dword [0x50090c]
fcomp qword [0x502918]
add esp, 8
fnstsw ax
test ah, 1
je 0x46e310
fld qword [ebx + 0xb8]
fmul qword [esi + 0xb8]
fcomp qword [0x5028c8]
fnstsw ax
test ah, 0x41
je 0x46e3a8
jmp 0x46e350
lea eax, [esp + 0x90]
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [0x50090c]
fcomp qword [0x502918]
add esp, 8
fnstsw ax
test ah, 1
je 0x46e350
fld qword [ebx + 0xb8]
fmul qword [esi + 0xb8]
fcomp qword [0x5028c8]
fnstsw ax
test ah, 1
jne 0x46e40c
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x46e1bb
jmp 0x46e44f
fld qword [esi + 0xb8]
fadd qword [ebx + 0xb8]
jmp 0x46e37b
fld qword [ebx + 0xb8]
fsub qword [esi + 0xb8]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
fstp qword [ebx + 0xb8]
push edi
call fcn.004a08e8
mov edx, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x3c]
call dword [edx + 0x50]
test esi, esi
je 0x46e44f
jmp 0x46e446
mov eax, dword [esp + 0x3c]
add esi, 0x80
lea edi, [ebx + 0x80]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x98]
lea edi, [ebx + 0x98]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
fld qword [eax + 0xb8]
fadd qword [ebx + 0xb8]
fstp qword [ebx + 0xb8]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push esi
call fcn.004a08e8
mov edx, dword [esp + 0x38]
push esi
lea ecx, [esp + 0x3c]
call dword [edx + 0x50]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x46e44f
mov eax, dword [ecx]
push 1
jmp 0x46e44c
push ebx
call dword [0x500954]
fld qword [esi + 0xb8]
fadd qword [ebx + 0xb8]
mov edi, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x1c]
push edi
fstp qword [ebx + 0xb8]
call fcn.004a08e8
mov edx, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x3c]
call dword [edx + 0x50]
test esi, esi
je 0x46e44f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x46e17e
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x38]
call dword [edx + 0x2c]
mov eax, esi
cmp esi, ebx
mov dword [esp + 0x40], eax
je 0x46e4e9
mov edi, 2
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x40]
mov esi, eax
mov eax, dword [eax]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], eax
call dword [edx + 0x38]
mov esi, dword [esi + 8]
mov al, byte [esi + 4]
cmp al, 0x10
jne 0x46e4bc
cmp dword [esp + 0xc], ebx
jne 0x46e4ad
mov dword [esp + 0xc], 1
jmp 0x46e4bc
cmp al, 0x10
jne 0x46e4bc
cmp dword [esp + 0xc], 1
jne 0x46e4bc
mov dword [esp + 0xc], edi
cmp al, 4
jne 0x46e4e1
cmp dword [esp + 0xc], edi
jne 0x46e4e1
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov dword [0x532610], eax
mov dword [0x532614], ecx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x46e47b
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push 1
push edx
push esi
call dword [0x4ff394]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [0x52bdf4], 1
mov dword [esp + 0xc8], 0xffffffff
call fcn.004a0480
mov ecx, dword [esp + 0xc0]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret