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

Disassembly:
sub esp, 0xd8
mov eax, dword [esp + 0xe8]
push ebx
mov edx, dword [esp + 0xe8]
push ebp
mov ebx, ecx
push esi
mov ecx, dword [eax*4 + 0x5cee24]
mov esi, dword [esp + 0xec]
mov ebp, dword [esp + 0xf8]
add ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [eax*4 + 0x5cee14]
add ecx, edx
push edi
lea eax, [eax + eax*2]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + ebp*4 + 0x1c8]
xor edi, edi
lea edx, [esp + 0x78]
mov dword [esp + 0x34], ecx
shl eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], eax
jmp 0x4dc05f
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xec]
mov eax, dword [edi + eax + 0x5cede4]
mov ecx, dword [ebx + ecx*4 + 0x34c]
imul eax, ecx
cdq
sub eax, edx
mov edx, ecx
imul edx, dword [esp + 0xf0]
sar eax, 1
lea esi, [eax + edx]
mov eax, dword [esp + 0x1c]
mov dword [esp + edi + 0x54], esi
mov dword [esp + 0x30], esi
mov eax, dword [edi + eax + 0x5cedb4]
imul eax, ecx
imul ecx, dword [esp + 0xf4]
cdq
sub eax, edx
mov edx, dword [ebx + 0x134]
sar eax, 1
add ecx, eax
mov eax, esi
sub eax, edx
mov dword [esp + edi + 0x60], ecx
cdq
mov esi, eax
mov edi, ecx
xor esi, edx
mov eax, edi
sub esi, edx
mov edx, dword [ebx + 0x138]
mov ecx, dword [ebx + 0xed0]
sub eax, edx
cdq
xor eax, edx
mov dword [esp + 0x24], edi
sub eax, edx
cmp esi, ecx
jl 0x4dc0e5
lea esi, [ecx - 1]
mov edx, dword [ebx + 0xed4]
cmp eax, edx
jl 0x4dc0f2
lea eax, [edx - 1]
imul ecx, eax
mov edx, dword [ebx + 0x374]
add ecx, esi
fld dword [edx + ecx*4]
mov ecx, ebx
fstp dword [esp + 0x20]
fild dword [ebx + 0xed8]
fild dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push eax
fdiv st(1)
fstp dword [esp + 0x2c]
fild dword [esp + 0x34]
fdiv st(1)
fstp dword [esp + 0x28]
fstp st(0)
call fcn.004e03b0
mov ecx, dword [esp + 0x30]
and eax, 0xff
push edi
push ecx
shl eax, 0x18
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.004df140
mov edx, dword [esp + 0x30]
mov esi, eax
push edi
lea eax, [esp + 0x70]
push edx
push eax
mov ecx, ebx
or esi, 0xff000000
call fcn.004dd790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
add eax, 4
mov ecx, 7
lea esi, [esp + 0x38]
add edx, 0x1c
cmp eax, 0xc
mov dword [esp + 0x2c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], edx
jl 0x4dc057
mov al, byte [esp + 0x100]
test al, al
je 0x4dc1d8
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xb4], ecx
jmp 0x4dc1e6
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x104], edx
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x4dc4d4
mov ecx, dword [esp + 0xec]
mov eax, dword [ebx + ecx*4 + 0x30c]
cmp esi, eax
jge 0x4dc4d4
mov edx, dword [esp + 0x18]
test edx, edx
jle 0x4dc4d4
cmp edx, dword [ebx + ecx*4 + 0x32c]
jge 0x4dc4d4
mov edi, dword [ebx + 0x36c]
imul eax, edx
mov edx, dword [edi + ecx*4]
add edx, eax
cmp byte [edx + esi], 0
jg 0x4dc4d4
test ecx, ecx
jne 0x4dc43c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add eax, ecx
mov ecx, dword [ebx + 0xed0]
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [esp + 0x64]
add eax, edx
cdq
sub eax, edx
mov edx, dword [ebx + 0x134]
sar esi, 1
mov edi, eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x14], esi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebx + 0x138]
sar edi, 1
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, edx
mov dword [esp + 0x18], edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
cmp edx, ecx
jl 0x4dc2a2
lea edx, [ecx - 1]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0xed4]
cmp eax, edx
jl 0x4dc2af
lea eax, [edx - 1]
imul ecx, eax
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x374]
add ecx, edx
fld dword [eax + ecx*4]
fstp dword [esp + 0x28]
fild dword [ebx + 0xed8]
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebx
fdiv st(1)
fstp dword [esp + 0x28]
fild dword [esp + 0x18]
fdiv st(1)
fstp dword [esp + 0x24]
fstp st(0)
call fcn.004e03b0
and eax, 0xff
push edi
shl eax, 0x18
push esi
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.004df140
push edi
lea edx, [esp + 0x70]
or eax, 0xff000000
push esi
push edx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.004dd790
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, 7
lea esi, [esp + 0x38]
lea edi, [esp + 0xcc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov edx, 4
mov ecx, dword [ebx + ebp*4 + 0x1c8]
lea esi, [ecx*8]
sub esi, ecx
mov ecx, dword [ebx + ebp*4 + 0x188]
lea edi, [ecx + esi*4]
mov ecx, 7
mov esi, eax
add eax, 0x1c
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + ebp*4 + 0x1c8]
inc edi
dec edx
mov dword [ebx + ebp*4 + 0x1c8], edi
jne 0x4dc368
mov eax, dword [ebx + ebp*4 + 0x1e8]
mov ecx, dword [ebx + ebp*4 + 0x1a8]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x34]
mov word [ecx + edx*2], ax
mov edx, dword [ebx + ebp*4 + 0x1e8]
mov esi, dword [ebx + ebp*4 + 0x1a8]
lea ecx, [eax + 3]
lea edx, [edx + edx*2]
mov word [esi + edx*2 + 2], cx
mov esi, dword [ebx + ebp*4 + 0x1e8]
mov edi, dword [ebx + ebp*4 + 0x1a8]
lea edx, [eax + 2]
lea esi, [esi + esi*2]
mov word [edi + esi*2 + 4], dx
mov esi, dword [ebx + ebp*4 + 0x1e8]
inc esi
mov dword [ebx + ebp*4 + 0x1e8], esi
mov edi, dword [ebx + ebp*4 + 0x1a8]
lea esi, [esi + esi*2]
mov word [edi + esi*2], cx
mov esi, dword [ebx + ebp*4 + 0x1a8]
lea ecx, [eax + 1]
mov eax, dword [ebx + ebp*4 + 0x1e8]
lea eax, [eax + eax*2]
mov word [esi + eax*2 + 2], cx
mov eax, dword [ebx + ebp*4 + 0x1e8]
lea ecx, [eax + eax*2]
mov eax, dword [ebx + ebp*4 + 0x1a8]
mov word [eax + ecx*2 + 4], dx
jmp 0x4dc56b
mov edx, dword [esp + 0xf4]
mov esi, dword [esp + 0xf8]
mov eax, dword [esp + 0xf0]
lea edi, [edx + edx]
mov edx, dword [esp + 0x104]
push edx
mov edx, dword [esi*8 + 0x5ced94]
push 1
push ebp
push edx
mov edx, dword [esi*8 + 0x5ced74]
add edx, edi
add eax, eax
push edx
mov edx, dword [esi*8 + 0x5ced54]
add edx, eax
dec ecx
push edx
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.004db4b0
mov eax, dword [esp + 0x104]
mov edx, dword [esi*8 + 0x5ced78]
mov ecx, dword [esi*8 + 0x5ced98]
push eax
mov eax, dword [esi*8 + 0x5ced58]
push 1
push ebp
add edx, edi
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
add eax, edx
push eax
push ecx
mov ecx, ebx
call fcn.004db4b0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xd8
ret 0x1c
lea edx, [esp + 0x78]
mov dword [esp + 0x1c], 3
mov eax, dword [ebx + ebp*4 + 0x1c8]
mov esi, edx
add edx, 0x1c
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + ebp*4 + 0x188]
lea edi, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + ebp*4 + 0x1c8]
inc esi
dec eax
mov dword [ebx + ebp*4 + 0x1c8], esi
mov dword [esp + 0x1c], eax
jne 0x4dc4e0
mov eax, dword [ebx + ebp*4 + 0x1e8]
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*2]
mov eax, dword [ebx + ebp*4 + 0x1a8]
mov word [eax + edx*2], cx
mov eax, dword [ebx + ebp*4 + 0x1e8]
mov esi, dword [ebx + ebp*4 + 0x1a8]
lea edx, [ecx + 1]
lea eax, [eax + eax*2]
add ecx, 2
mov word [esi + eax*2 + 2], dx
mov eax, dword [ebx + ebp*4 + 0x1e8]
lea edx, [eax + eax*2]
mov eax, dword [ebx + ebp*4 + 0x1a8]
mov word [eax + edx*2 + 4], cx
mov eax, dword [ebx + ebp*4 + 0x1e8]
pop edi
inc eax
pop esi
mov dword [ebx + ebp*4 + 0x1e8], eax
pop ebp
mov al, 1
pop ebx
add esp, 0xd8
ret 0x1c