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

Disassembly:
sub esp, 0x7c
push ebx
push esi
push edi
push ebp
mov eax, dword [esp + 0x90]
mov ebx, 0x18
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov eax, dword [eax]
mov esi, dword [esp + 0xa4]
mov edx, dword [edx]
mov ecx, dword [ecx]
lea ebx, [ebx + eax*8]
mov esi, dword [esi]
mov dword [esp + 0x14], ebx
mov ebx, edx
add ebx, 3
mov ebp, dword [esp + 0xa8]
imul ebx, dword [esp + 0x14]
mov ebp, dword [ebp]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], 0x16
mov dword [esp + 0x18], ebx
mov ebx, ecx
add ebx, 3
imul ebx, dword [esp + 0x18]
add edx, 3
add ecx, 2
imul edx, ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov ebx, ebp
dec edx
add eax, 3
imul eax, edx
mov edx, ebp
shl eax, 3
sub eax, 8
shl ecx, 5
mov dword [esp + 0x20], eax
add ecx, 0x20
inc edx
mov dword [esp + 0x24], ecx
mov ecx, esi
imul edx, dword [esp + 0x24]
inc ecx
inc ebx
mov eax, dword [edi + 0x40]
mov dword [esp + 0x38], eax
imul ebx, ecx
mov ecx, dword [edi + 0xc4]
mov dword [esp + 0x28], edx
mov dword [0x5982d0], ecx
mov ecx, dword [edi + 0xc0]
mov dword [0x5982d4], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x34], ecx
mov edx, 2
shl ebx, 5
add ebx, 8
add ecx, ecx
add ecx, dword [esp + 0x10]
add eax, eax
mov dword [esp + 0x10], 0x16
add eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
cmp dword [eax], 0
jle 0x4ebb60
mov edx, 1
mov eax, 3
sub eax, edx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4ebdc8
lea eax, [edx*4 + 0x5982cc]
shl edx, 3
lea ecx, [edi + ecx*4]
mov dword [esp + 0x10], edi
dec esi
mov edi, dword [esp + 0x3c]
dec ebp
shl edi, 2
mov dword [esp + 0x44], eax
add edi, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov ebp, dword [eax]
mov dword [esp + 0x3c], esi
mov dword [edi*4 + 0x5982d8], ebp
test esi, esi
mov dword [esp + 0x58], 1
jle 0x4ebda1
mov eax, dword [esp + 0x50]
mov ecx, dword [ecx]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 4]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 0x20
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
xor eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], 1
mov ebp, dword [esp + 0x5c]
sar eax, 0x1f
xor edx, eax
sub edx, eax
mov eax, dword [esp + 0x34]
add edx, dword [esp + 0x60]
mov dword [eax*4 + 0x5982d8], edx
mov edx, dword [esp + 0x54]
test edx, edx
jle 0x4ebd7c
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x70], esi
sub ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xb4]
sub ecx, dword [esp + 0x2c]
add ebp, dword [esp + 0x48]
add ecx, ebp
mov dword [esp + 0x7c], ecx
xor ecx, ecx
cmp dword [esp + 0x78], 8
setle cl
mov dword [esp + 0x80], ecx
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
xor ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
sar ebp, 0x1f
xor ecx, ebp
sub ecx, ebp
mov ebp, dword [esp + 0x38]
add ecx, dword [esp + 0x70]
mov dword [ebp*4 + 0x5982d8], ecx
mov ebp, dword [esp + 0x78]
test ebp, ebp
jle 0x4ebd5e
mov ecx, dword [esp + 0x6c]
mov esi, dword [0x5982dc]
add ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x7c]
sub edi, dword [esp + 0x20]
shl esi, 3
imul eax, dword [0x5982e0]
imul ebx, dword [0x5982e4]
add ebx, dword [esp + 0x1c]
add ebx, eax
mov eax, dword [esp + 0x1c]
add ebx, esi
mov esi, dword [esp + 0x28]
add ebx, edi
cmp dword [esp + 0x80], 0
jne 0x4ebd51
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
sub ebp, 9
cmp ebp, 8
jg 0x4ebcfd
test ebp, ebp
jle 0x4ebd5e
fld qword [ecx]
add ecx, esi
fstp qword [ebx]
add ebx, eax
dec ebp
test ebp, ebp
jg 0x4ebd51
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
inc edi
add esi, dword [esp + 0x6c]
dec edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
test edx, edx
jg 0x4ebc7d
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
inc ecx
mov esi, dword [esp + 0x3c]
add edi, 0x20
dec esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], esi
test esi, esi
jg 0x4ebbf3
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
add ecx, 8
add edx, 4
dec edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edi
test edi, edi
jg 0x4ebba9
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 0x28