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

Disassembly:
sub esp, 8
mov eax, dword [0x547364]
cmp eax, 1
nop
push ebx
push esi
push edi
mov esi, ecx
push ebp
jne 0x4d967f
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4d967f
call fcn.0048d2f0
cmp eax, dword [esi + 0x8c]
je 0x4d967f
mov ecx, dword [esi + 0x78]
call fcn.0048d2f0
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x8c], eax
mov edi, dword [ebx + 0x34]
mov ecx, edi
call fcn.0048c630
push eax
mov ecx, edi
call fcn.0048c820
fld dword [esi + 0x3c]
fld dword [esi + 0x38]
push eax
mov eax, dword [ebx + 0x38]
mov edx, dword [esi + 0x8c]
mov ecx, dword [eax + 4]
push ecx
sub esp, 8
fxch st(1)
fstp qword [esp]
sub esp, 8
fstp qword [esp]
push edx
mov eax, dword [esi]
push str._d__6.2f__6.2f__ld__ld__ld
push esi
call dword [eax + 0x128]
add esp, 0x28
mov byte [esp + 0x13], 0
mov al, byte [esi + 0x46]
test al, al
je 0x4d96b5
mov ecx, dword [esi + 0x34]
push 0
mov byte [esi + 0x46], 0
push esi
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x34]
push 1
push esi
mov ebx, dword [ecx]
call dword [ebx + 0xd4]
xor al, al
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0x68]
test eax, eax
jle 0x4d979d
xor edi, edi
mov eax, dword [esi + 0x70]
dec eax
cmp eax, edi
jge 0x4d9726
lea eax, [edi*4 + 4]
lea ebx, [edi + 1]
push eax
call fcn.00513eb0
mov dword [esp + 0x18], eax
add esp, 4
xor edx, edx
test eax, eax
je 0x4d9726
mov eax, dword [esi + 0x70]
cmp eax, edx
jle 0x4d9710
xor ecx, ecx
mov eax, dword [esp + 0x14]
cmp edx, ebx
jge 0x4d9710
mov ebp, dword [esi + 0x64]
add ecx, 4
add eax, 4
inc edx
mov ebp, dword [ebp + ecx - 4]
mov dword [eax - 4], ebp
mov ebp, dword [esi + 0x70]
cmp ebp, edx
jg 0x4d96f4
mov eax, dword [esi + 0x64]
push eax
call fcn.00513ed0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x64], eax
mov dword [esi + 0x70], ebx
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x34]
mov ebx, dword [eax + edi*4]
mov ecx, dword [edx + 0x38]
push ebx
call fcn.00408e40
test eax, eax
je 0x4d9744
mov cl, byte [eax + 0x44]
cmp cl, 2
jbe 0x4d9791
xor ecx, ecx
mov edx, dword [esi + 0x70]
cmp ecx, edx
jge 0x4d9790
mov eax, dword [esi + 0x64]
mov ebp, dword [eax]
cmp ebp, ebx
je 0x4d975e
add eax, 4
inc ecx
cmp ecx, edx
jl 0x4d9750
cmp ecx, edx
jge 0x4d9790
dec edx
cmp edx, ecx
jle 0x4d9784
lea edx, [ecx*4]
mov eax, dword [esi + 0x64]
inc ecx
add eax, edx
add edx, 4
mov ebx, dword [eax + 4]
mov dword [eax], ebx
mov eax, dword [esi + 0x70]
dec eax
cmp eax, ecx
jg 0x4d976e
dec dword [esi + 0x68]
jns 0x4d9790
mov dword [esi + 0x68], 0
dec edi
inc edi
mov eax, dword [esi + 0x68]
cmp eax, edi
jg 0x4d96c2
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4d98c2
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x4d97b6.1
jmp dword [eax*4 + 0x4d98e0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov eax, dword [esi + 0x1c]
cmp eax, 0x3f800000
jge case.0x4d97b6.1
mov edi, dword [esi]
push 3
mov ecx, esi
call dword [edi + 0x5c]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call dword [edi + 0x38]
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x4d97fb
push 1
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x78], 0
call fcn.00519ab0
mov edi, eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4d9823
mov eax, dword [esi + 0x34]
mov edx, dword [eax + 0x38]
mov ax, word [eax + 0x42]
cmp word [edx + 0x7c], ax
jne 0x4d9823
push 1
call fcn.004656c0
push edi
call fcn.00519aa0
add esp, 4
jmp case.0x4d97b6.1
cmp word [esi + 0x48], 0xffff
je 0x4d9878
mov eax, dword [esi + 0x4c]
test eax, eax
jle 0x4d9878
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x7c]
add ecx, 0x7c
test eax, eax
jle case.0x4d97b6.1
mov eax, dword [esi + 0x34]
mov edx, dword [eax + 0x38]
fld dword [edx + 0x84]
fmul dword [ecx]
fsubr dword [esi + 0x4c]
fstp dword [esi + 0x4c]
mov ecx, dword [esi + 0x4c]
cmp ecx, 0x80000000
jbe case.0x4d97b6.1
mov dword [esi + 0x4c], 0
jmp case.0x4d97b6.1
mov eax, dword [esi + 0x30]
mov edi, dword [esi]
mov cl, byte [eax + 0x20]
test cl, cl
je 0x4d9899
push 6
mov ecx, esi
call dword [edi + 0x5c]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, esi
call dword [edi + 0x38]
jmp case.0x4d97b6.1
push 7
mov ecx, esi
call dword [edi + 0x5c]
mov ecx, esi
call dword [edi + 0xac]
jmp case.0x4d97b6.1
push 8
jmp 0x4d98ca
mov eax, dword [esi + 0x30]
cmp byte [eax + 0xa0], 1
sbb al, al
add al, 2
mov byte [esp + 0x13], al
jmp case.0x4d97b6.1
mov al, byte [eax + 0x44]
cmp al, 2
jbe case.0x4d97b6.1
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov al, byte [esp + 0x13]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret