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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x358
mov esi, esp
mov dword [esi + 0x18], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x60], eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x58], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
mov eax, esp
mov dword [esi + 0x344], eax
mov dword [esi + 0x350], 0xffffffff
lea eax, [esi + 0x348]
mov dword [esi + 0x34c], 0x5194c0
mov edi, dword fs:[0]
mov dword [esi + 0x348], edi
mov edi, dword [esi + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x1c4], edi
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ecx
mov dword [esi + 0x1d0], edx
mov dword [esi + 0x1d4], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x1d8], eax
mov dword [esi + 0x1dc], 1
mov dword [esi + 0x1e0], 1
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 1
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0x10c]
mov dword [esi + 0x70], eax
movsd xmm0, qword [esi + 0x104]
movsd qword [esi + 0x68], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x350], 0
mov eax, esp
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esi + 0x150]
mov dword [eax], ecx
call fcn.004dfcb0
jmp 0x5169b3
lea ecx, [esi + 0x110]
lea eax, [esi + 0x150]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esi + 0x78]
lea eax, [esi + 0x110]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esi + 0xb8]
lea eax, [esi + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esi + 0xb8]
mov dword [esi + 0x1e4], ecx
mov dword [esi + 0x1e8], ecx
mov dword [esi + 0x350], 1
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x194]
mov dword [eax], ecx
call fcn.004e0580
jmp 0x516a3d
lea eax, [esi + 0xb8]
mov dword [esi + 0x1ec], eax
cmp dword [esi + 0x194], 0
jne 0x516bcc
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
lea edx, [esi + 0x68]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x1f0], edx
mov edi, dword [esi + 0x74]
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x1f8], ecx
mov dword [esi + 0x1fc], eax
mov dword [esi + 0x200], ecx
mov eax, esp
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], edi
call fcn.004dad10
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x4c]
sub edx, edi
mov dword [esi + 0x204], edx
mov dword [esi + 0x208], eax
add eax, edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], edx
mov dword [esi + 0x218], ecx
mov dword [esi + 0x21c], eax
mov dword [esi + 0x220], edx
mov dword [esi + 0x224], edx
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], edx
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], eax
mov ecx, eax
add ecx, edx
mov dword [esi + 0x238], ecx
mov dword [esi + 0x1bc], eax
lea eax, [esi + 0x1c0]
mov dword [esi + 0x1c0], ecx
lea ecx, [esi + 0x1bc]
mov dword [esi + 0x23c], ecx
mov dword [esi + 0x328], ecx
mov edx, dword [esi + 0x1bc]
mov dword [esi + 0x48], edx
mov dword [esi + 0x32c], edx
mov dword [esi + 0x330], edx
mov dword [esi + 0x334], eax
mov ecx, dword [esi + 0x1c0]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x338], ecx
mov dword [esi + 0x33c], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004dac40
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x340], 1
sub eax, ecx
mov dword [esi + 0x324], eax
mov edx, dword [esi + 0x324]
mov eax, esp
mov dword [eax + 0xc], edx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 1
call fcn.00414ed0
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov edi, dword [esi + 0x324]
mov dword [esi + 0x240], edx
mov dword [esi + 0x244], edi
mov dword [esi + 0x350], 0
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x602e08
call fcn.005424f0
jmp 0x516c04
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x19c]
mov dword [esi + 0x248], ecx
mov dword [esi + 0x24c], edx
mov eax, esp
mov dword [eax + 0xc], edx
mov dword [eax + 8], ecx
lea ecx, [esi + 0xb8]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x1a0]
mov dword [eax], ecx
call fcn.004dac70
jmp 0x516c2e
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x70]
mov dword [ecx + 8], edx
movsd xmm0, qword [esi + 0x68]
movsd qword [ecx], xmm0
mov ecx, dword [esi + 0x348]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
mov ecx, dword [esi + 0x1a8]
mov dword [esi + 0x100], ecx
movsd xmm0, qword [esi + 0x1a0]
movsd qword [esi + 0xf8], xmm0
mov ecx, dword [esi + 0xf8]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x250], ecx
mov ebx, dword [esi + 0xfc]
mov edi, dword [esi + 0x100]
mov dword [esi + 0x28], edi
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], edi
lea edi, [esi + 0x68]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x25c], edi
mov edi, dword [esi + 0x74]
mov dword [esi + 0x260], edi
mov dword [esi + 0x264], eax
mov dword [esi + 0x268], edx
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [eax], edi
call fcn.004dad10
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x3c]
sub edx, edi
mov dword [esi + 0x26c], edx
mov dword [esi + 0x270], eax
add eax, edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x274], eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x27c], edx
mov dword [esi + 0x280], ecx
mov dword [esi + 0x284], eax
mov dword [esi + 0x288], edx
mov dword [esi + 0x28c], edx
mov dword [esi + 0x290], eax
mov dword [esi + 0x294], edx
mov dword [esi + 0x298], eax
mov dword [esi + 0x29c], eax
mov ecx, eax
add ecx, edx
mov dword [esi + 0x2a0], ecx
mov dword [esi + 0x1ac], eax
lea eax, [esi + 0x1b0]
mov dword [esi + 0x1b0], ecx
lea ecx, [esi + 0x1ac]
mov dword [esi + 0x2a4], ecx
mov dword [esi + 0x308], ecx
mov edx, dword [esi + 0x1ac]
mov dword [esi + 0x38], edx
mov dword [esi + 0x30c], edx
mov dword [esi + 0x310], edx
mov dword [esi + 0x314], eax
mov ecx, dword [esi + 0x1b0]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x318], ecx
mov dword [esi + 0x31c], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004dac40
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x320], 1
sub eax, ecx
mov dword [esi + 0x304], eax
mov edx, dword [esi + 0x304]
mov eax, esp
mov dword [eax + 0xc], edx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 1
call fcn.00414ed0
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edi, dword [esi + 0x304]
mov dword [esi + 0x2a8], edx
mov dword [esi + 0x2ac], edi
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x602e08
call fcn.005424f0
jmp 0x516dda
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
lea ecx, [esi + 0x68]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x2b4], ecx
mov dword [esi + 0x2b8], eax
mov dword [esi + 0x2bc], edx
mov dword [esi + 0x2c0], edx
mov dword [esi + 0x2c4], eax
mov dword [esi + 0x2c8], edx
mov dword [esi + 0x2cc], eax
mov dword [esi + 0x2d0], eax
mov ecx, eax
add ecx, edx
mov dword [esi + 0x2d4], ecx
mov dword [esi + 0x1b4], eax
lea eax, [esi + 0x1b8]
mov dword [esi + 0x1b8], ecx
lea ecx, [esi + 0x1b4]
mov dword [esi + 0x2d8], ecx
mov dword [esi + 0x2e8], ecx
mov edx, dword [esi + 0x1b4]
mov dword [esi + 0x20], edx
mov dword [esi + 0x2ec], edx
mov dword [esi + 0x2f0], edx
mov dword [esi + 0x2f4], eax
mov ecx, dword [esi + 0x1b8]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x2f8], ecx
mov dword [esi + 0x2fc], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004dac40
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x300], 1
sub eax, ecx
mov dword [esi + 0x2e4], eax
mov edx, dword [esi + 0x2e4]
mov eax, esp
mov dword [eax + 0xc], edx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 1
call fcn.00414ed0
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x2e4]
mov dword [esi + 0x2dc], edx
mov dword [esi + 0x2e0], edi
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x602e08
call fcn.005424f0
jmp 0x516eee
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
add eax, ecx
mov dword [esi + 0x74], eax
jmp 0x516a0d