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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebp, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb8]
mov eax, ebp
sub eax, edi
cmp eax, 0x280
jle 0x4d9d25
test ebx, ebx
je 0x4d9be2
lea edx, [edi + 0x28]
mov esi, dword [esp + 0xbc]
mov dword [esp + 0xb8], ebx
mov ecx, eax
mov ebx, ebp
mov dword [esp + 0x44], edx
sar ecx, 3
mov edx, dword [esp + 0x44]
sub dword [esp + 0xb8], 1
imul ecx, ecx, 0xcccccccd
mov dword [esp], edx
sar ecx, 1
lea eax, [ecx + ecx*4]
lea ebp, [edi + eax*8]
lea eax, [ebx - 0x28]
mov dword [esp + 4], ebp
mov dword [esp + 0x48], eax
call esi
test al, al
lea eax, [ebx - 0x28]
mov dword [esp + 4], eax
je 0x4d9d30
mov dword [esp], ebp
call esi
test al, al
jne 0x4d9e30
lea eax, [ebx - 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call esi
fld qword [edi]
test al, al
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
jne 0x4d9db2
fxch st(4)
mov eax, dword [edi + 0x28]
mov dword [edi], eax
mov eax, dword [edi + 0x2c]
fstp qword [edi + 0x28]
fxch st(2)
mov dword [edi + 4], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x34]
fstp qword [edi + 0x30]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x38]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x3c]
fstp qword [edi + 0x38]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x44]
fstp qword [edi + 0x40]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x4c]
fstp qword [edi + 0x48]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004dca50
mov ebp, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.004d9a80
mov ecx, ebp
sub ecx, edi
cmp ecx, 0x280
jle 0x4d9d25
mov eax, dword [esp + 0xb8]
mov ebx, ebp
test eax, eax
jne 0x4d9acf
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], ebp
mov esi, ebp
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0xc], eax
call fcn.004d82a0
nop
sub esi, 0x28
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov ebp, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x78], ebx
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov ebx, dword [edi]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esi + 0x1c]
mov dword [esi], ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x84], ecx
mov dword [esi + 4], ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esi + 8], ebx
mov ebx, dword [edi + 0xc]
mov dword [esi + 0xc], ebx
mov ebx, dword [edi + 0x10]
mov dword [esi + 0x10], ebx
mov ebx, dword [edi + 0x14]
mov dword [esi + 0x14], ebx
mov ebx, dword [edi + 0x18]
mov dword [esi + 0x18], ebx
mov ebx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ebx
mov ebx, dword [edi + 0x20]
mov dword [esi + 0x20], ebx
mov ebx, dword [edi + 0x24]
mov dword [esi + 0x24], ebx
mov dword [esp + 0xc], ebp
mov ebx, esi
mov ebp, dword [esp + 0x48]
sub ebx, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], 0
mov dword [esp], edi
mov eax, ebx
sar eax, 3
imul eax, eax, 0xcccccccd
mov dword [esp + 8], eax
call fcn.004d76f0
cmp ebx, 0x28
jg 0x4d9c00
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call esi
test al, al
jne 0x4d9e13
lea eax, [ebx - 0x28]
mov dword [esp], ebp
mov dword [esp + 4], eax
call esi
fld qword [edi]
test al, al
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
jne 0x4d9dc0
fxch st(4)
mov eax, dword [ebp]
mov dword [edi], eax
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [edi + 0x24], eax
fstp qword [ebp]
fxch st(2)
fstp qword [ebp + 8]
fstp qword [ebp + 0x10]
fstp qword [ebp + 0x18]
fstp qword [ebp + 0x20]
jmp 0x4d9b8c
fxch st(4)
jmp 0x4d9dc2
fxch st(4)
mov eax, dword [ebx - 0x28]
mov dword [edi], eax
mov eax, dword [ebx - 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebx - 0x20]
mov dword [edi + 8], eax
mov eax, dword [ebx - 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebx - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebx - 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx - 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebx - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx - 8]
mov dword [edi + 0x20], eax
mov eax, dword [ebx - 4]
mov dword [edi + 0x24], eax
fstp qword [ebx - 0x28]
fxch st(2)
fstp qword [ebx - 0x20]
fstp qword [ebx - 0x18]
fstp qword [ebx - 0x10]
fstp qword [ebx - 8]
jmp 0x4d9b8c
fld qword [edi]
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
fxch st(4)
jmp 0x4d9b40
fld qword [edi]
fld qword [edi + 8]
fld qword [edi + 0x10]
fld qword [edi + 0x18]
fld qword [edi + 0x20]
fxch st(4)
jmp 0x4d9d61