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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51d693
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
mov esi, dword [ebp + 0x24]
push edi
xor edi, edi
mov dword [esp + 0x40], ecx
mov eax, dword [esi + 8]
cmp eax, edi
jne 0x4e844d
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [esi + 4]
add ecx, 0xb8
mov ebx, dword [eax]
mov dword [esp + 0x74], ebx
call fcn.004f6380
test eax, eax
je 0x4e84ab
mov eax, dword [esi + 8]
mov edi, 1
cmp eax, edi
jle 0x4e84a9
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + edi*4]
call fcn.004f1b60
mov edx, eax
mov ecx, ebx
mov dword [esp + 0xc], edx
call fcn.004f1b60
mov edx, dword [esp + 0xc]
cmp edx, eax
jle 0x4e849d
mov eax, dword [esi + 4]
mov ebx, dword [eax + edi*4]
mov dword [esp + 0x74], ebx
jmp 0x4e84a1
mov ebx, dword [esp + 0x74]
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x4e8471
xor edi, edi
mov ecx, ebx
call fcn.004f1b60
test eax, eax
je 0x4e8509
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x14]
push ecx
push esi
mov ecx, dword [ebp + 0x18]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebp + 0x1c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0x20]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
cmp ecx, 3
push edx
push eax
sete cl
push ecx
mov ecx, dword [esp + 0x64]
call fcn.004e7c90
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x44]
call fcn.0047dc50
mov eax, 0x522d18
mov dword [esp + 0xf0], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call fcn.0047dc50
mov eax, dword [esi + 8]
mov byte [esp + 0xf0], 3
cmp eax, 1
jne 0x4e85df
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov ebx, eax
inc eax
mov edi, dword [edx]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.004de680
mov eax, dword [esp + 0x1c]
mov dword [eax + ebx*4], edi
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x7c]
call fcn.0047dd40
lea edx, [esp + 0x78]
lea ecx, [esp + 0x44]
push edx
call fcn.0047dd40
mov edi, dword [ebp + 8]
cmp edi, 2
je 0x4e85b5
cmp edi, 3
jne 0x4e85ca
push 0x40000000
push 0
lea ecx, [esp + 0x4c]
call fcn.0047ddf0
jmp 0x4e866f
push 0x40080000
push 0
lea ecx, [esp + 0x4c]
call fcn.0047ddf0
jmp 0x4e866f
test eax, eax
jle 0x4e8626
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
call fcn.0048e7d0
push eax
lea ecx, [esp + 0x7c]
call fcn.0047dd80
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov dword [esp + 0xc], eax
inc eax
mov ebx, dword [ecx + edi*4]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x20]
call fcn.004de680
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
inc edi
mov dword [edx + eax*4], ebx
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x4e85e3
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x48]
call fcn.0047dd40
mov eax, dword [esi + 8]
cmp eax, 0xe
jle 0x4e8648
push 0x3ff4cccc
push 0xcccccccd
jmp 0x4e8663
cmp eax, 4
jle 0x4e8659
push 0x3ffccccc
push 0xcccccccd
jmp 0x4e8663
push 0x40059999
push 0x9999999a
lea ecx, [esp + 0x4c]
call fcn.0047ddf0
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x40]
push esi
mov ecx, ebx
call fcn.004e4ff0
lea edx, [esp + 0x44]
lea ecx, [ebx + 0xb78]
push edx
call fcn.0048e7d0
push eax
call fcn.0047db70
add esp, 8
lea ecx, [esp + 0x44]
call fcn.0047e010
fstp qword [esp + 0xc]
lea ecx, [esp + 0x78]
call fcn.0047e010
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4e8768
lea ecx, [esp + 0x44]
call fcn.0047e030
fstp qword [esp + 0xc]
lea ecx, [esp + 0x78]
call fcn.0047e030
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x4e8768
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov edi, 0x522d18
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 4
test eax, eax
je 0x4e8711
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 5
test eax, eax
je 0x4e8737
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0xf0], 0xffffffff
call fcn.00507a00
xor eax, eax
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call fcn.004e74a0
cmp edi, 4
jne 0x4e892a
mov ebx, dword [ebp + 0x28]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push ebx
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.004a7a40
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 8]
add esp, 0x10
test eax, eax
je 0x4e889e
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + 0x38]
mov esi, dword [ecx]
lea ecx, [esp + 0x98]
mov dword [esp + 0xc], edi
call fcn.0047ded0
lea edx, [esp + 0x64]
mov ecx, esi
push edx
mov byte [esp + 0xf4], 6
call fcn.0048e7d0
mov ecx, eax
call fcn.0047de80
cmp edi, 0xfffffffc
jne 0x4e8804
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push 1
push 1
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push eax
jmp 0x4e882c
cmp edi, 0xfffffffe
jne 0x4e880f
push 0
push 1
jmp 0x4e8818
cmp edi, 0xfffffffd
jne 0x4e8847
push 1
push 0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
lea ecx, [esp + 0xb0]
call fcn.00480090
mov edx, dword [esi]
lea eax, [esp + 0x98]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov edi, dword [ebx + 8]
dec edi
test edi, edi
jle 0x4e888a
mov esi, edi
shl esi, 6
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0xc]
cmp dword [ecx + esi + 0x38], eax
lea edx, [ecx + esi]
je 0x4e8882
mov eax, dword [ebx + 8]
sub eax, edi
dec eax
je 0x4e887f
shl eax, 6
lea ecx, [ecx + esi + 0x40]
push eax
push ecx
push edx
nop
call fcn.006093d3
add esp, 0xc
dec dword [ebx + 8]
dec edi
sub esi, 0x40
test edi, edi
jg 0x4e8854
lea ecx, [esp + 0x98]
mov byte [esp + 0xf0], 3
call fcn.00507a00
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov edi, 0x522d18
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 7
test eax, eax
je 0x4e88d1
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 8
test eax, eax
je 0x4e88f7
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0xf0], 0xffffffff
call fcn.00507a00
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp edi, 2
jne 0x4e8a4e
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x2c]
push eax
mov esi, dword [edx]
push ecx
lea edx, [esp + 0x4c]
push esi
push edx
call fcn.004a72a0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4e89f5
lea ecx, [esp + 0x98]
call fcn.0047ded0
fld qword [ebx + 0x40]
fmul qword [0x522c70]
mov ecx, esi
mov byte [esp + 0xf0], 9
fstp qword [esp + 0xc]
call fcn.004f3c50
fdivr qword [esp + 0xc]
fstp qword [esp + 0xc]
fld qword [ebx + 0x38]
fdiv qword [ebx + 0x40]
call fcn.0050c116
shl eax, 1
je 0x4e89e1
mov edx, dword [ebp + 0x28]
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.004a7a70
mov edi, eax
add esp, 0x20
test edi, edi
je 0x4e89e1
mov edx, dword [esi]
lea eax, [esp + 0x98]
push eax
mov ecx, esi
mov dword [esi + 0x250], 1
call dword [edx + 0x10]
lea ecx, [esp + 0x98]
mov byte [esp + 0xf0], 3
call fcn.00507a00
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov ebx, 0x522d18
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 0xa
test eax, eax
je 0x4e8a28
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 0xb
test eax, eax
je 0x4e8cf6
jmp 0x4e8ced
cmp edi, 3
jne 0x4e8c0a
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 0x28]
lea edx, [esp + 0x2c]
push esi
mov edi, dword [ecx]
push edx
lea eax, [esp + 0x4c]
push edi
push eax
call fcn.004a72a0
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4e8b7e
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.004a6070
fld qword [edi + 0x180]
fld qword [ebx + 0x30]
fmul qword [0x521780]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x48]
fdiv st(1)
sub esp, 8
fsubr qword [0x520868]
fstp qword [esp]
push edx
push edi
push eax
fstp st(0)
call fcn.004a7f50
add esp, 0x18
test eax, eax
je 0x4e8b7e
mov edi, dword [esi + 8]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.004a6070
mov edx, dword [esi + 4]
mov ecx, 0x10
shl edi, 6
add edi, edx
lea esi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov edi, 0x522d18
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 0xc
test eax, eax
je 0x4e8b24
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 0xd
test eax, eax
je 0x4e8b4a
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0xf0], 0xffffffff
call fcn.00507a00
mov eax, 0x186a0
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov edi, 0x522d18
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 0xe
test eax, eax
je 0x4e8bb1
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 0xf
test eax, eax
je 0x4e8bd7
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0xf0], 0xffffffff
call fcn.00507a00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp edi, 5
jne 0x4e8c7e
mov edx, dword [ebp + 0x28]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.004a8430
add esp, 0x10
lea ecx, [esp + 0x78]
mov edi, eax
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov ebx, 0x522d18
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 0x10
test eax, eax
je 0x4e8c5f
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 0x11
test eax, eax
je 0x4e8cf6
jmp 0x4e8ced
mov eax, dword [ebp + 0x28]
push 0
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
call fcn.004a86c0
add esp, 0x14
lea ecx, [esp + 0x78]
mov edi, eax
mov byte [esp + 0xf0], 2
call fcn.00507a00
mov ebx, 0x522d18
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xf0], 0x12
test eax, eax
je 0x4e8cd0
push eax
call fcn.0050b204
add esp, 4
mov esi, 0x520384
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xf0], 0x13
test eax, eax
je 0x4e8cf6
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], esi
mov dword [esp + 0xf0], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0xe8]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24