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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebx], 0
push edi
mov eax, dword [esi + 0x50]
cmp eax, 0x66
jne 0x4eb191
push 0xc0
push 1
call fcn.00547150
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebx], edi
je 0x4eb2db
mov ecx, dword [edi]
mov dword [edi + 0x38], 1
or ecx, 0x40
xor ebx, ebx
mov dword [edi], ecx
mov esi, dword [esi + 0x6c]
mov dword [esp + 0x10], ebx
cmp dword [esi], 0
jle 0x4eb188
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [edx + ebx*4]
push ecx
push eax
call fcn.0045be20
add esp, 0xc
test eax, eax
je 0x4eb2db
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
push eax
call fcn.004eaff0
add esp, 0x10
test eax, eax
jne 0x4eb2db
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4eb179
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4eb16b
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
mov edx, dword [eax + 0x28]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
fld dword [eax + 0x44]
fstp qword [esp + 0x60]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
fld dword [eax + 0x40]
fstp qword [esp + 0x90]
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
fld dword [eax + 0x44]
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
fstp qword [esp + 0x78]
push eax
push ecx
call fcn.00418f70
fstp qword [esp + 0x20]
lea edx, [esp + 0x58]
lea eax, [esp + 0x88]
push edx
push eax
call fcn.00418f70
fcomp qword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x4eb16b
push ecx
call fcn.00488fe0
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
push edi
call fcn.004895b0
mov ebx, dword [esp + 0x18]
add esp, 8
mov eax, dword [esi]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x4eb052
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x4eb1dd
push 0x3f50624d
push 0xd2f1a9fc
push 0x3e8
push 6
push edi
call fcn.004fcdc0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4eb2db
push ebx
push eax
push edi
call fcn.004fd1a0
add esp, 0xc
test eax, eax
jne 0x4eb2db
mov eax, dword [edi]
or al, 0x10
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x6e
je 0x4eb2e7
cmp eax, 0x64
je 0x4eb2e7
cmp eax, 0x6a
jne 0x4eb229
mov esi, dword [esi + 0x98]
test esi, esi
jne 0x4eb20a
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004889e0
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x4eb188
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x68
jne 0x4eb188
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x4eb245
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc0
push 1
call fcn.00547150
mov edi, eax
add esp, 8
test edi, edi
jne 0x4eb266
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push 0
push edi
push edx
push eax
push esi
call fcn.0045ab00
add esp, 0x14
test eax, eax
je 0x4eb28f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.00441c50
push 0x3f50624d
push 0xd2f1a9fc
push 0x3e8
push 6
push edi
call fcn.004fcc20
add esp, 0x18
cmp eax, 0xffffffff
jne 0x4eb2c0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push eax
push edi
call fcn.004fcfe0
mov esi, eax
push edi
call fcn.004888a0
add esp, 0x10
test esi, esi
je 0x4eb188
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc0
push 1
call fcn.00547150
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4eb2db
cmp dword [esi + 0x50], 0x64
jne 0x4eb3b6
push ebx
push 0
push 0
push 0
lea ecx, [esi + 0x30]
push 0
lea edx, [esi + 0x20]
push ecx
lea eax, [esi + 0x10]
push edx
push eax
push 0
call fcn.0043fa90
mov edi, eax
add esp, 0x24
test edi, edi
je 0x4eb2db
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
lea ecx, [ebx + 0xa4]
push ecx
mov ecx, dword [esi + 0x58]
push edi
push edx
push eax
push ecx
call fcn.00411230
add esp, 0x14
test eax, eax
jne 0x4eb2db
lea esi, [edi + 0x30]
lea eax, [edi + 0x10]
push esi
push eax
call fcn.00418a80
fstp qword [esp + 0x20]
lea eax, [edi + 0x20]
push esi
push eax
call fcn.00418a80
fadd qword [esp + 0x28]
push esi
lea esi, [edi + 0x20]
fmul qword [0x550f68]
fst qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
fstp qword [edi + 0x40]
push edx
push eax
lea eax, [edi + 0x10]
push esi
push eax
call fcn.00408cd0
lea ecx, [edi + 0x48]
lea eax, [edi + 0x10]
push ecx
push edi
push eax
call fcn.0043f950
lea edx, [edi + 0x58]
push edx
push edi
push esi
call fcn.0043f950
push edi
call fcn.0043fb80
add esp, 0x40
jmp 0x4eb447
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x44]
lea ecx, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x54], edx
call fcn.00411310
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x44], ecx
call fcn.00411310
lea ecx, [esp + 0x30]
push ebx
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.00440210
add esp, 0x1c
test eax, eax
je 0x4eb2db
mov eax, dword [ebx]
or al, 0x40
mov dword [ebx], eax
push ebx
call fcn.00441c50
push 0x3f50624d
push 0xd2f1a9fc
push 0x3e8
push 6
push ebx
call fcn.004fcc20
add esp, 0x18
cmp eax, 0xffffffff
je 0x4eb2db
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push ebx
call fcn.004fcfe0
mov esi, eax
push ebx
jmp 0x4eb2cb