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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x580348
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61c948]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov esi, dword [ebx + 0x5974]
mov eax, dword [ebx + 0x5978]
add eax, esi
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x8c]
mov eax, dword [eax + 0x78]
movzx edi, word [eax + 2]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x14]
mov ecx, eax
imul ecx, edi
lea ebp, [eax*8]
sub ebp, eax
add ebp, ebp
mov dword [esp + 0x3c], ecx
shr ebp, 4
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x18], edi
add ebp, ebp
call fcn.004df590
imul edi, ebp
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x80], 0
mov dword [esp + 0x4c], edi
call fcn.004c8620
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov edx, eax
sub edx, esi
cmp edx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
jl 0x4e1aae
nop
mov ecx, dword [esi]
cmp ecx, 0x64685353
jne 0x4e187c
mov ecx, dword [esi + 4]
lea edx, [esi + ecx + 8]
mov dword [esp + 0x14], edx
mov esi, edx
jmp 0x4e1aa0
cmp ecx, 0x64625353
jne 0x4e1893
add esi, 8
mov byte [ebx + 0x5948], 1
jmp 0x4e1a9c
cmp byte [ebx + 0x5948], 0
lea eax, [ebx + 0x5948]
mov dword [esp + 0x30], eax
je 0x4e1a5f
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044ff68
xor esi, esi
add esp, 4
cmp dword [esp + 0x18], esi
mov edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
jle 0x4e194a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
xor ebx, ebx
test eax, eax
jbe 0x4e1936
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push edx
add eax, ebx
push eax
call fcn.004dea70
mov ecx, dword [esp + 0x24]
add dword [esp + 0x28], 0x1c
add dword [esp + 0x2c], 0xe0
add ebx, 0x10
add esp, 8
cmp ebx, dword [ecx + 0x14]
jb 0x4e1901
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
add dword [esp + 0x28], eax
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x4e18e2
xor esi, esi
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x2c], esi
jle 0x4e1a4c
lea ecx, [edx + ebp*8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, 4
jl 0x4e1a06
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
lea esi, [esi + ebp*2]
add esi, ebp
lea esi, [edx + esi*8]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
lea esi, [esi + ebp*2]
lea edx, [edx + esi*8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x18]
add edx, 0xfffffffc
shr edx, 2
add edx, 1
mov eax, ebp
lea esi, [edx*4]
shl eax, 5
lea ecx, [ecx + ebx*4 + 8]
add ebx, esi
mov dword [esp + 0x4c], esi
fld qword [edi]
mov esi, dword [esp + 0x28]
add dword [esp + 0x28], eax
fstp dword [ecx - 8]
fld qword [esi]
mov esi, dword [esp + 0x24]
add dword [esp + 0x24], eax
fstp dword [ecx - 4]
fld qword [esi]
mov esi, dword [esp + 0x20]
add dword [esp + 0x20], eax
fstp dword [ecx]
fld qword [esi]
add ecx, 0x10
fstp dword [ecx - 0xc]
add edi, eax
sub edx, 1
jne 0x4e19c1
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
cmp edi, eax
jge 0x4e1a30
mov ecx, edi
imul ecx, ebp
add ecx, esi
lea ecx, [edx + ecx*8]
sub eax, edi
fld qword [ecx]
mov edi, dword [esp + 0x38]
fstp dword [edi + ebx*4]
lea edi, [ebp*8]
add ebx, 1
add ecx, edi
sub eax, 1
jne 0x4e1a16
mov eax, 8
add dword [esp + 0x30], eax
add dword [esp + 0x34], eax
add esi, 1
cmp esi, ebp
mov dword [esp + 0x2c], esi
jl 0x4e1965
push edx
call fcn.0044ff63
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x54]
add esp, 4
jmp 0x4e1a6d
test edi, edi
jle 0x4e1a71
mov ecx, edi
mov edi, dword [esp + 0x38]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 2]
mov eax, dword [eax + 4]
push 0
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.004dff30
test eax, eax
mov dword [esp + 0x4c], eax
jne 0x4e1afb
add esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], esi
mov edx, eax
sub edx, esi
cmp edx, dword [esp + 0x3c]
jge 0x4e1860
mov edi, eax
sub edi, esi
push edi
push esi
mov esi, dword [esp + 0x5c]
push esi
call fcn.0047dcb0
add esp, 0xc
lea eax, [edi + esi]
push 0xffffffffffffffff
sub eax, esi
push eax
lea ecx, [ebx + 0x5970]
call fcn.00514000
lea ecx, [esp + 0x58]
mov dword [esp + 0x78], 0xffffffff
call fcn.004df5b0
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x58]
mov dword [esp + 0x78], 0xffffffff
call fcn.004df5b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret