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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.00405adc
xor eax, eax
push ebp
push 0x4e5df1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4e5b1f
call fcn.00403f90
xor eax, eax
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x7c], eax
cmp dword [esi + 0xa8], 0
jne 0x4e5b48
mov ecx, 0x132
mov edx, 0x4e5e0c
mov eax, 0x4e5e5c
call fcn.00404ccc
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xa8]
call fcn.00486150
mov edi, eax
test edi, edi
je 0x4e5dbd
mov dl, 1
mov eax, dword [0x48d554]
call fcn.0048d734
mov ebx, eax
mov edx, edi
mov eax, ebx
call fcn.0048d7b0
mov eax, edi
call fcn.00403f90
mov edx, 0x4e5e74
mov eax, ebx
call fcn.004220bc
mov edi, eax
test edi, edi
je 0x4e5ba6
xor ecx, ecx
mov edx, 0x4e5e88
mov eax, edi
call fcn.004233c8
mov byte [esi + 0x80], al
jmp 0x4e5bad
mov byte [esi + 0x80], 0
cmp byte [esi + 0x80], 0
je 0x4e5bca
mov edi, dword [0x516a68]
mov edi, dword [edi]
mov eax, 0x4e5ea4
call edi
mov dword [esi + 0x1c], eax
jmp 0x4e5bd9
mov edi, dword [0x516a68]
mov edi, dword [edi]
xor eax, eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x24], esi
mov dword [eax + 0x20], 0x4e5018
movzx edx, byte [esi + 0x80]
and dl, byte [ebp + 8]
je 0x4e5bfe
mov dword [eax + 0x2c], esi
mov dword [eax + 0x28], 0x4e5134
jmp 0x4e5c06
xor edx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x44], esi
mov dword [eax + 0x40], 0x4e57d0
mov dword [eax + 0x34], esi
mov dword [eax + 0x30], 0x4e58d8
mov edx, dword [esi + 0x90]
mov dword [eax + 0x38], edx
mov edx, dword [esi + 0x94]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x4c], esi
mov dword [eax + 0x48], 0x4e58c0
mov edx, dword [esi + 0x98]
mov dword [eax + 0x50], edx
mov edx, dword [esi + 0x9c]
mov dword [eax + 0x54], edx
mov edx, dword [esi + 0xa0]
mov dword [eax + 0x58], edx
mov edx, dword [esi + 0xa4]
mov dword [eax + 0x5c], edx
movzx edx, byte [esi + 0x80]
and dl, byte [ebp + 8]
je 0x4e5c75
mov dword [eax + 0x64], esi
mov dword [eax + 0x60], 0x4e5244
jmp 0x4e5c7d
xor edx, edx
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov edi, dword [esi + 0x1c]
movzx eax, byte [esi + 0x88]
mov byte [edi + 0x68], al
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x6c], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004e5a94
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [esi + 0x5c]
sub edx, dword [esi + 0x54]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [ebp - 9], 0
je 0x4e5ce8
lea eax, [esi + 0x54]
call fcn.0040a8c0
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fmul dword [esi + 0x40]
fld xword [0x4e5eb0]
fmulp st(1)
call fcn.00403460
mov edx, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
jmp 0x4e5d11
call fcn.0043ca40
lea edx, [ebp - 0x28]
call fcn.0043cc18
fild dword [ebp - 0x24]
mov eax, dword [0x516bb4]
fild dword [eax + 4]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [esi + 0x84]
mov edx, dword [eax]
call dword [edx + 4]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x40a394]
call fcn.004066f4
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x84]
mov edx, dword [eax]
call dword [edx + 4]
dec eax
test eax, eax
jl 0x4e5d8a
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x84]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
test eax, eax
jl 0x4e5d82
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4e5d53
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00406540
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 8]
push 0
push 0
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5df8
lea eax, [ebp - 0x2c]
call fcn.00405530
lea eax, [ebp - 0x1c]
call fcn.00405530
lea eax, [ebp - 8]
mov edx, dword [0x40a394]
call fcn.00406700
lea eax, [ebp - 4]
call fcn.00405530
ret