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

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
push edi
lea ecx, [eax + eax*2]
mov edi, dword [ecx*4 + 0xa542f0]
test edi, edi
mov dword [esp + 0x1c], edi
jle 0x4d6fba
lea eax, [eax + eax*4]
shl eax, 3
mov ecx, dword [eax + 0xa53914]
mov eax, dword [eax + 0xa538f4]
test ecx, ecx
jle 0x4d6fba
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4d6f9d
mov ebx, dword [eax + 0xc]
test edi, edi
jle 0x4d6f9d
add ebx, 4
mov dword [esp + 0x14], edi
mov esi, dword [ebx - 4]
cmp esi, 1
mov dword [esp + 0x10], esi
jle 0x4d6f8b
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4d6f8b
lea ebp, [esi*8]
push 4
push ebp
call fcn.004b0c60
mov dword [ebx + 4], eax
mov eax, dword [0xa54678]
add esp, 8
test eax, eax
je 0x4d6dea
push 4
push ebp
call fcn.004b0c60
add esp, 8
mov dword [ebx + 8], eax
xor ebp, ebp
test esi, esi
jle 0x4d6f8b
xor edi, edi
lea eax, [ebp + 1]
xor ecx, ecx
mov dword [esp + 0x24], eax
cdq
idiv esi
cmp edx, ecx
jne 0x4d6e3c
mov eax, dword [esp + 0x20]
test byte [eax + 7], 0x80
jne 0x4d6e3c
mov edx, dword [ebx + 4]
mov dword [edx + ebp*8], ecx
mov eax, dword [ebx + 4]
mov dword [eax + ebp*8 + 4], ecx
mov eax, dword [0xa54678]
cmp eax, ecx
je 0x4d6f78
mov edx, dword [ebx + 8]
mov dword [edx + ebp*8], ecx
mov eax, dword [ebx + 8]
mov dword [eax + ebp*8 + 4], ecx
jmp 0x4d6f78
mov eax, dword [ebx]
mov dword [esp + 0x80], ecx
fld dword [edi + eax]
fstp dword [esp + 0x40]
fld dword [edi + eax + 4]
fstp dword [esp + 0x44]
fld dword [edi + eax + 8]
fstp dword [esp + 0x48]
fld dword [edi + eax + 0xc]
mov dword [esp + 0x50], ecx
lea ecx, [edx + edx*2]
fstp dword [esp + 0x4c]
lea esi, [edx + ecx*4]
mov edx, dword [ebx + 4]
shl esi, 2
lea ecx, [esp + 0x2c]
fld dword [esi + eax]
push ecx
fstp dword [esp + 0x30]
fld dword [esi + eax + 4]
fstp dword [esp + 0x34]
fld dword [esi + eax + 8]
fstp dword [esp + 0x38]
fld dword [esi + eax + 0xc]
lea eax, [edx + ebp*8]
lea edx, [esp + 0x44]
fstp dword [esp + 0x3c]
lea ecx, [eax + 4]
push edx
push ecx
lea edx, [esp + 0x8c]
push eax
push edx
mov dword [esp + 0x50], 0
call fcn.004b44d0
mov eax, dword [esp + 0x94]
add esp, 0x14
test eax, eax
je 0x4d6ed9
mov eax, dword [ebx + 4]
fld dword [eax + ebp*8]
fadd dword [0x5334a8]
lea eax, [eax + ebp*8]
fstp dword [eax]
mov eax, dword [0xa54678]
test eax, eax
je 0x4d6f74
mov eax, dword [ebx]
xor ecx, ecx
lea edx, [esp + 0x54]
fld dword [edi + eax + 0x14]
push edx
fstp dword [esp + 0x6c]
fld dword [edi + eax + 0x18]
fstp dword [esp + 0x70]
fld dword [edi + eax + 0x1c]
fstp dword [esp + 0x74]
fld dword [edi + eax + 0x20]
mov dword [esp + 0x7c], ecx
fstp dword [esp + 0x78]
fld dword [esi + eax + 0x24]
fstp dword [esp + 0x58]
fld dword [esi + eax + 0x28]
fstp dword [esp + 0x5c]
fld dword [esi + eax + 0x2c]
fstp dword [esp + 0x60]
fld dword [esi + eax + 0x30]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebx + 8]
fstp dword [esp + 0x64]
lea eax, [ecx + ebp*8]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [eax + 4]
push edx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004b44d0
mov eax, dword [esp + 0x94]
add esp, 0x14
test eax, eax
je 0x4d6f74
mov ecx, dword [ebx + 8]
fld dword [ecx + ebp*8]
fadd dword [0x5334a8]
lea ebp, [ecx + ebp*8]
fstp dword [ebp]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
add edi, 0x34
cmp ebp, esi
jl 0x4d6df6
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add ebx, 0x10
dec eax
mov dword [esp + 0x14], eax
jne 0x4d6da3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, 4
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x4d6d83
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x6c
ret