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

Disassembly:
push 0xffffffffffffffff
push 0x6a1b20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.00575430
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], ebx
call fcn.00403c60
lea ecx, [esp + 0x64]
call fcn.00406c70
mov eax, dword [edi + 0x5c]
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x84], 1
jle 0x49cbf9
mov eax, dword [edi + 0x60]
mov eax, dword [eax + ebp*4]
push eax
call fcn.0047aac0
add esp, 4
test al, al
je 0x49cbed
mov ecx, dword [edi + 0x60]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x20]
mov eax, dword [ecx + ebp*4]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
mov ecx, dword [eax + 0x10]
call fcn.004b3100
fld dword [esp + 0x14]
fadd dword [esp + 0x18]
mov edx, dword [edi + 0x60]
mov ecx, edi
fmul dword [0x6c8ac0]
mov eax, dword [edx + ebp*4]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fadd dword [esp + 0x20]
push eax
fmul dword [0x6c8ac0]
fstp dword [esp + 0x2c]
call fcn.00496630
sub esi, eax
cmp esi, ebx
jle 0x49cbed
mov dword [esp + 0x10], esi
push ebx
lea ecx, [esp + 0x3c]
call fcn.005728d0
push ebx
lea ecx, [esp + 0x40]
call fcn.005728d0
push ebx
lea ecx, [esp + 0x44]
call fcn.005728d0
mov ecx, dword [edi + 0x60]
mov byte [esp + 0x44], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0x78], 0xffffffff
mov byte [esp + 0x4c], bl
mov byte [esp + 0x54], bl
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], ebx
mov esi, dword [ecx + ebp*4]
lea ecx, [esp + 0x38]
push esi
call fcn.00571160
lea edx, [esi + 4]
lea ecx, [esp + 0x3c]
push edx
call fcn.00571160
lea eax, [esi + 8]
lea ecx, [esp + 0x40]
push eax
call fcn.00571160
mov cl, byte [esi + 0xc]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], cl
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x60], ecx
push 1
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], eax
call fcn.00490610
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
call fcn.0049b330
lea ecx, [esp + 0x2c]
call fcn.004905d0
lea ecx, [esp + 0x2c]
call fcn.005758b0
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x49cb26
mov eax, dword [edi + 0x5c]
inc ebp
cmp ebp, eax
jl 0x49caa7
mov ecx, dword [esp + 0x64]
mov esi, dword [0x6c74ac]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x49cc1b
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49cc1b
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x40]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x49cc37
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49cc37
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x49cc52
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49cc52
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x38]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x49cc6e
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x49cc6e
push eax
call esi
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], 0xffffffff
call fcn.004904d0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret