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

Disassembly:
push 0xffffffffffffffff
push 0x59760b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
xorps xmm0, xmm0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.0051e360
mov dword [esp + 0x34], eax
mov dword [esp + 0x78], 4
xor eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov byte [esp + 0x78], 5
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
mov byte [esp + 0x78], 7
mov eax, dword [ebx]
mov edi, dword [eax]
cmp edi, eax
je 0x519c24
cmp byte [edi + 8], 0x6b
je 0x519a75
mov edi, dword [edi]
jmp 0x519c1c
cmp dword [edi + 0x1c], 0
je 0x519bf7
lea ebx, [edi + 0xc]
push ebx
lea ecx, [esp + 0x38]
call fcn.0040c4c0
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp esi, ecx
je 0x519ac3
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x519aa4
mov eax, dword [eax]
push ecx
push eax
push dword [ebx + 0x10]
push ecx
mov ecx, ebx
call fcn.0040d0c0
mov ecx, dword [esp + 0x34]
test eax, eax
js 0x519ac3
mov dword [esp + 0x28], esi
lea eax, [esp + 0x28]
jmp 0x519acb
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x20]
mov eax, dword [eax]
cmp eax, ecx
je 0x519ad6
mov ebx, dword [eax + 0x28]
jmp 0x519b27
push 8
call fcn.0056590a
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x78], 8
test ebx, ebx
je 0x519b11
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0040cb70
mov dword [ebx], eax
mov byte [esp + 0x78], 8
jmp 0x519b13
xor ebx, ebx
mov byte [esp + 0x78], 7
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x38]
call fcn.0051d850
mov dword [eax], ebx
test ebx, ebx
je 0x519b8f
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.0040c4c0
mov esi, eax
cmp esi, dword [ebx]
je 0x519b66
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x519b4a
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x34]
push ecx
lea ecx, [edi + 0x24]
call fcn.0040d0c0
test eax, eax
js 0x519b66
mov dword [esp + 0x24], esi
lea eax, [esp + 0x24]
jmp 0x519b70
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov eax, dword [eax]
cmp eax, dword [ebx]
jne 0x519bf3
movzx eax, byte [0x7e1a4c]
push eax
lea eax, [edi + 0x24]
push eax
push ecx
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0040cf30
lea ecx, [esp + 0x3c]
lea eax, [edi + 0xc]
cmp ecx, eax
je 0x519ba4
push 0xffffffffffffffff
push 0
push eax
call fcn.00404960
lea eax, [edi + 0x24]
lea ecx, [esp + 0x54]
cmp ecx, eax
je 0x519bb9
push 0xffffffffffffffff
push 0
push eax
call fcn.00404960
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
mov esi, dword [ebx + 0x28]
push dword [esi + 4]
push esi
call fcn.0051e9d0
mov edx, eax
mov ecx, 0x4924923
mov eax, dword [ebx + 0x2c]
sub ecx, eax
cmp ecx, 1
jb 0x519c91
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
jmp 0x519bf7
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 4]
call fcn.00510d10
push edi
call fcn.00564de3
add esp, 4
mov edi, esi
cmp edi, dword [ebx]
jne 0x519a68
mov ecx, dword [esp + 0x34]
mov esi, dword [ecx]
cmp esi, ecx
je 0x519cbe
mov edi, dword [esi + 0x28]
test edi, edi
je 0x519c6c
mov dword [esp + 0x1c], edi
mov byte [esp + 0x78], 0xe
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.0040c400
mov byte [esp + 0x78], 7
push dword [edi]
call fcn.00564de3
push edi
call fcn.00564de3
mov ecx, dword [esp + 0x3c]
add esp, 8
cmp byte [esi + 0xd], 0
jne 0x519cb6
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x519c9b
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x519cb6
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x519c85
jmp 0x519cb6
push 0x5bed58
call fcn.00560df3
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x519cb4
cmp esi, dword [eax + 8]
jne 0x519cb4
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x519ca4
mov esi, eax
cmp esi, ecx
jne 0x519c32
push dword [ecx + 4]
lea ecx, [esp + 0x38]
call fcn.0051d8d0
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov dword [esp + 0x38], 0
mov byte [esp + 0x78], 0x11
cmp dword [esp + 0x68], 8
jb 0x519cfe
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov byte [esp + 0x78], 4
cmp dword [esp + 0x50], 8
jb 0x519d2d
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x78], 0x14
lea ecx, [esp + 0x34]
mov eax, dword [esp + 0x34]
push eax
push dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.0051da40
mov dword [esp + 0x78], 0xffffffff
push dword [esp + 0x34]
call fcn.00564de3
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00564de8
add esp, 0x68
ret