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

Disassembly:
mov al, byte [0x620cf4]
sub esp, 0x16c
test al, al
mov eax, dword [0x620cd4]
push ebx
push ebp
mov ebp, ecx
jne 0x4c63a7
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xc8]
jmp 0x4c63b4
mov edx, dword [eax]
push 1
push 7
push eax
call dword [edx + 0xc8]
mov al, byte [0x620cf4]
test al, al
mov eax, dword [0x620cd4]
jne 0x4c63d1
mov ecx, dword [eax]
push 0
push 0xe
push eax
call dword [ecx + 0xc8]
jmp 0x4c63de
mov edx, dword [eax]
push 1
push 0xe
push eax
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 6
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 4
xor ebx, ebx
push 4
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x620cd4]
push 2
push 5
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x620cd4]
push ebx
push 6
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov al, byte [0x620ce8]
mov byte [0x620f08], bl
test al, al
mov eax, dword [0x620cd4]
jne 0x4c6485
mov edx, dword [eax]
push ebx
push 0x89
push eax
call dword [edx + 0xc8]
jmp 0x4c6494
mov ecx, dword [eax]
push ebx
push 0x89
push eax
call dword [ecx + 0xc8]
mov dword [0x620cf8], 8
mov dword [0x620cfc], 0x142
mov dword [0x620d00], ebx
mov edx, dword [ebp + 0x2d0a0]
push 0x18
push edx
push ebx
mov ecx, 0x620cd0
call fcn.0040d450
mov eax, dword [0x620cd4]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, 0x620cd0
call fcn.0040dae0
mov ecx, 0x620cd0
call fcn.0040cf90
push ebx
push 0x3f800000
push ebx
push 2
push ebx
push ebx
mov ecx, 0x620cd0
call fcn.0040d7e0
lea edx, [ebp + 0x2d0b8]
mov ecx, 0x620cd0
push edx
call fcn.0040cfd0
mov edx, dword [ebp + 0x2d074]
mov eax, dword [0x620cd4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
push edx
push ebx
push eax
call dword [ecx + 0xf4]
cmp byte [ebp + 0x58], 0xe
jne 0x4c6788
or eax, 0xffffffff
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], 0xbf400000
mov dword [esp + 0x20], 0x3f400000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3f400000
mov dword [esp + 0x38], 0x3f400000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xbf400000
mov dword [esp + 0x50], 0xbf400000
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x64], 0x3f400000
mov dword [esp + 0x68], 0xbf400000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0x3f800000
movsx eax, byte [ebp + 0x2a0f8]
cmp eax, ebx
jne 0x4c65de
fld dword [0x58831c]
jmp 0x4c65e4
fld dword [0x588314]
fst dword [esp + 0x2c]
fld st(0)
fadd dword [0x58831c]
lea edx, [esp + 0x18]
push 0
mov dword [0x620cf8], 8
mov dword [0x620cfc], 0x142
mov dword [0x620d00], 0
mov eax, dword [ebp + 0x2d0a0]
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push edx
fstp dword [esp + 0x4c]
push 0
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x68]
push 0
push eax
mov ecx, 0x620cd0
call fcn.0040d2b0
mov edi, dword [esp + 0x18]
mov ecx, 0x18
lea esi, [esp + 0x1c]
push 1
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2d0a0]
push ecx
mov ecx, 0x620cd0
call fcn.0040d2f0
mov edx, dword [ebp + 0x2d0a0]
push 0x18
push edx
push 0
mov ecx, 0x620cd0
call fcn.0040d450
mov ecx, dword [ebp + 0x2cff0]
lea eax, [esp + 0x13c]
push eax
call fcn.00498df0
fild dword [esp + 0x10]
push 0
push 0x4099999a
push ecx
lea ecx, [esp + 0x108]
fmul dword [0x588620]
mov esi, eax
fsub dword [0x589fd4]
fstp dword [esp]
push ecx
mov ecx, 0x65cb50
call fcn.004937c0
push esi
lea edx, [esp + 0x80]
push eax
push edx
call fcn.0055734a
mov eax, dword [0x620cd4]
mov ecx, 0x10
lea esi, [esp + 0x7c]
lea edi, [esp + 0xbc]
lea edx, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push edx
push 0x100
push eax
call dword [ecx + 0x94]
push 2
push 0
push 5
mov ecx, 0x620cd0
call fcn.0040d710
inc ebx
cmp ebx, 4
mov dword [esp + 0x10], ebx
jl 0x4c65cb
mov al, byte [ebp]
pop edi
test al, al
pop esi
jne 0x4c6788
fld dword [ebp + 0xfc]
fcomp dword [0x588c2c]
fnstsw ax
test ah, 1
jne 0x4c6788
fld dword [ebp + 0x100]
fcomp dword [0x588c2c]
fnstsw ax
test ah, 1
je 0x4c6788
movsx eax, byte [ebp + 0x2a]
mov al, byte [eax + 0x65cc94]
cmp al, 4
jne 0x4c675f
mov al, byte [ebp + 0x2a0f8]
test al, al
jle 0x4c6788
dec al
jmp 0x4c676f
cmp al, 6
jne 0x4c6788
mov al, byte [ebp + 0x2a0f8]
cmp al, 3
jge 0x4c6788
inc al
mov ecx, ebp
mov byte [ebp + 0x2a0f8], al
call fcn.004d7050
push 0x12
mov ecx, 0x6239d8
call fcn.0048e9f0
pop ebp
pop ebx
add esp, 0x16c
ret