Function at 0x57d0f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1cb5
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x424], ecx
lea ecx, [ebp - 0x43c]
call fcn.00553c20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x424]
call fcn.0057d420
movzx ecx, al
test ecx, ecx
jne 0x57d177
push 0x10
push 0x68379c
push 0x6837a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00447680
jmp 0x57d3fc
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.004e1330
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x43c]
call fcn.00553560
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jle 0x57d1e4
mov edx, dword [ebp - 0x42c]
add edx, 1
push edx
lea ecx, [ebp - 0x43c]
call fcn.00447750
push eax
lea ecx, [ebp - 0x43c]
call fcn.00553ad0
push 0x58
push 0
lea eax, [ebp - 0x4c8]
push eax
call fcn.004e1330
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004e1330
add esp, 0xc
lea ecx, [ebp - 0x43c]
call fcn.00447710
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e67ab
add esp, 8
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x4ac], ecx
lea edx, [ebp - 0x420]
mov dword [ebp - 0x49c], edx
mov dword [ebp - 0x4a8], 0x104
mov dword [ebp - 0x4bc], 0x6837d8
mov dword [ebp - 0x498], 0x683820
mov dword [ebp - 0x494], 0x800
mov dword [ebp - 0x4c8], 0x58
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax + 0x40]
call fcn.0049eff4
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x424]
mov ecx, dword [ecx + 0x40]
call fcn.0049eff4
push eax
lea ecx, [ebp - 0x440]
call fcn.00496ebd
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c8]
push edx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x57d3db
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x458]
call fcn.00553d00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call fcn.00553c20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44c]
call fcn.00553c20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44c]
push ecx
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x458]
call fcn.00447710
push eax
call fcn.00557af0
add esp, 0xc
mov byte [ebp - 0x425], al
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x424]
call fcn.0057d820
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jl 0x57d351
mov ecx, dword [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x44c]
call fcn.00447890
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x458]
call fcn.00553b70
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x458]
call fcn.005539e0
lea ecx, [ebp - 0x470]
call fcn.00553c20
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x458]
push edx
mov ecx, dword [ebp - 0x424]
call fcn.0057dad0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x470]
call fcn.00447680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44c]
call fcn.00447680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call fcn.00447680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.00447680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00496f3b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00447680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret