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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x140
mov ebx, dword [ebp + 0xc]
lea esi, [esp + 0xe8]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov ecx, esi
call fcn.0057559b
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
mov esi, dword [esi + 4]
movaps xmm0, xmmword [0x789410]
lea edi, [esp + 0x90]
movaps xmmword [edi], xmm0
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], edx
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebx + 0x1c]
mov ebx, dword [ebx + 0x20]
mov dword [edi + 0x18], eax
mov edi, ebx
mov esi, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
shl edi, 4
test edi, edi
je 0x590b58
mov ecx, esi
mov dword [esp + 4], edi
call fcn.00577ac0
mov ecx, eax
call fcn.00577958
mov edi, eax
lea ebx, [esp + 0x90]
mov ecx, ebx
mov edx, edi
call fcn.005757dc
test al, al
jne 0x590c2c
mov ecx, ebx
mov edx, edi
add esi, 0x10
call fcn.0057d07b
mov edi, dword [esp + 4]
add edi, 0xfffffff0
jmp 0x590b13
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
call fcn.00575506
mov edi, dword [esp + 0x14]
lea esi, [esp + 0xf8]
mov ecx, esi
lea edx, [edi + 0x290]
call fcn.0058d7ad
mov ebx, dword [ebp + 0xc]
lea edx, [edi + 8]
lea ecx, [esp + 0x2c]
push dword [ebx + 8]
push dword [ebx + 4]
push esi
call fcn.00590e34
add esp, 0xc
lea esi, [esp + 0x48]
mov ecx, esi
call fcn.005861b7
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x590c56
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
mov eax, dword [0x7f50bc]
cmp eax, 4
jb 0x590c13
lea eax, [esp + 0x38]
lea edx, [esp + 0xe0]
lea ecx, [esp + 0x90]
mov dword [edx], eax
xor eax, eax
mov dword [ecx], str.Session_not_saved:
mov dword [edx + 4], 0x5bfb30
inc eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
push 4
pop edx
push 0x77a944
call fcn.00513e35
pop eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov byte [eax], 0x14
call fcn.00454e92
jmp 0x590dee
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
call fcn.00575506
mov ecx, dword [esp + 8]
mov edx, dword [ebp + 8]
push 6
push 0xd
call fcn.005834f6
pop eax
pop ecx
jmp 0x590dee
mov ecx, ebx
lea ebx, [esp + 0x50]
mov eax, dword [ebx]
mov edx, dword [ecx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x378]
mov dword [esp + 0x24], eax
mov eax, ecx
mov ecx, ebx
push dword [eax + 0x14]
call fcn.0056d989
pop eax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x2c]
lea edi, [esp + 0x90]
lea edx, [ecx + 0x3dc]
mov ecx, edi
mov dword [ebx + 0x14], eax
movsd qword [ebx + 0xc], xmm0
call fcn.00590eae
mov esi, dword [edi]
mov ecx, edi
xor edi, edi
cmp esi, 0x80000000
cmove esi, edi
push 4
pop eax
cmovne eax, dword [ecx + 4]
cmovne edi, dword [ecx + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
call fcn.0057d54e
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [ebx + 0x18], esi
mov esi, dword [esp + 0x24]
cmove edx, eax
mov eax, 0x93a80
cmp ecx, eax
cmovb eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edi
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 0x28]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edx
mov edx, dword [esp + 4]
mov dword [ebx - 4], esi
mov esi, dword [ebp + 8]
mov dword [ebx - 8], edx
mov dword [ebx + 0x24], eax
and dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 1
and dword [ebx + 0x30], 0
cmp byte [esi + 0x404], 0
je 0x590db3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
call fcn.0057d54e
cmp eax, 1
jne 0x590d61
inc edx
cmp edx, 1
ja 0x590df6
cmp dword [esi + 0x3c0], 0x80000000
je 0x590db3
mov edi, dword [esi + 0x3c4]
mov esi, dword [esi + 0x3c8]
xor edx, edx
mov ecx, esi
call fcn.00561541
mov dword [esp + 4], eax
mov ebx, edx
push esi
push edi
push edx
call fcn.00616830
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
call fcn.00454e92
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
call fcn.00589428
add ebx, 0x37c
push 0x12
pop ecx
lea esi, [esp + 0x48]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
push ebx
push eax
call dword [edx + 0x20]
add esp, 0xc
mov eax, dword [esp + 8]
mov byte [eax], 0x14
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
lea ecx, [esp + 0x48]
mov word [eax], 0x1708
call fcn.0056e53a
jmp 0x590dee