Function at 0x411550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x554
mov eax, dword [0x5052a0]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
mov dword [ebp - 0x524], ecx
xor eax, eax
mov word [ebp - 0x318], ax
push 0x206
push 0
lea ecx, [ebp - 0x316]
push ecx
call fcn.0043ef50
add esp, 0xc
mov byte [ebp - 0x458], 0
push 0x103
push 0
lea edx, [ebp - 0x457]
push edx
call fcn.0043ef50
add esp, 0xc
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0043ef50
add esp, 0xc
lea ecx, [ebp - 0x318]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x318]
push edx
push 0x4dd33c
push 0x90
mov ecx, dword [ebp - 0x524]
call fcn.004127b0
push ecx
mov ecx, esp
lea eax, [ebp - 0x318]
push eax
call fcn.00403da0
call fcn.00419330
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x528], ecx
lea edx, [ebp - 0x458]
mov dword [ebp - 0x52c], edx
mov eax, dword [ebp - 0x52c]
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x528]
mov dl, byte [ecx]
mov byte [ebp - 0x531], dl
mov eax, dword [ebp - 0x52c]
mov cl, byte [ebp - 0x531]
mov byte [eax], cl
mov edx, dword [ebp - 0x528]
add edx, 1
mov dword [ebp - 0x528], edx
mov eax, dword [ebp - 0x52c]
add eax, 1
mov dword [ebp - 0x52c], eax
cmp byte [ebp - 0x531], 0
jne 0x41162c
lea ecx, [ebp - 0x458]
add ecx, 0xffffffff
mov dword [ebp - 0x538], ecx
mov edx, dword [ebp - 0x538]
mov al, byte [edx + 1]
mov byte [ebp - 0x539], al
add dword [ebp - 0x538], 1
cmp byte [ebp - 0x539], 0
jne 0x41167e
mov edi, dword [ebp - 0x538]
mov ecx, dword [0x4dd348]
mov dword [edi], ecx
mov edx, dword [0x4dd34c]
mov dword [edi + 4], edx
mov eax, dword [0x4dd350]
mov dword [edi + 8], eax
mov cl, byte [0x4dd354]
mov byte [edi + 0xc], cl
mov edx, dword [ebp - 4]
mov dword [ebp - 0x540], edx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x548], ecx
mov edx, dword [ebp - 0x540]
mov al, byte [edx]
mov byte [ebp - 0x549], al
mov ecx, dword [ebp - 0x544]
mov dl, byte [ebp - 0x549]
mov byte [ecx], dl
mov eax, dword [ebp - 0x540]
add eax, 1
mov dword [ebp - 0x540], eax
mov ecx, dword [ebp - 0x544]
add ecx, 1
mov dword [ebp - 0x544], ecx
cmp byte [ebp - 0x549], 0
jne 0x4116e6
lea edx, [ebp - 0x110]
add edx, 0xffffffff
mov dword [ebp - 0x550], edx
mov eax, dword [ebp - 0x550]
mov cl, byte [eax + 1]
mov byte [ebp - 0x551], cl
add dword [ebp - 0x550], 1
cmp byte [ebp - 0x551], 0
jne 0x411738
mov edi, dword [ebp - 0x550]
mov edx, dword [str.gameInfo1.txt]
mov dword [edi], edx
mov eax, dword [0x4dd35c]
mov dword [edi + 4], eax
mov ecx, dword [0x4dd360]
mov dword [edi + 8], ecx
mov dx, word [0x4dd364]
mov word [edi + 0xc], dx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x510], eax
mov ecx, dword [ebp - 0x510]
push ecx
call fcn.004358d0
add esp, 4
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x524]
call fcn.00411430
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x110]
push edx
call fcn.00402a70
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x524]
call fcn.004111e0
lea ecx, [ebp - 0x350]
call fcn.00402bd0
push eax
lea ecx, [ebp - 0x334]
push ecx
mov ecx, dword [ebp - 0x524]
call fcn.00411310
lea ecx, [ebp - 0x334]
call sym.Setup.exe_public_virtual:_class_DuiLib::IListOwnerUI____thiscall_DuiLib::CListContainerElementUI::GetOwner_void_
test eax, eax
je 0x411b24
push 0
lea ecx, [ebp - 0x4f8]
call fcn.00424ca0
lea ecx, [ebp - 0x4e0]
call fcn.0042b760
push 1
lea edx, [ebp - 0x4f8]
push edx
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.0042b820
movzx ecx, al
test ecx, ecx
je 0x411ad1
push 0x4dd370
push 0x4dd368
lea ecx, [ebp - 0x4f8]
call fcn.00426210
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.004263e0
movzx edx, al
test edx, edx
je 0x411acf
mov dword [ebp - 0x4fc], 0
jmp 0x41188d
mov eax, dword [ebp - 0x4fc]
add eax, 1
mov dword [ebp - 0x4fc], eax
push 0x4dd380
push 0x4dd378
lea ecx, [ebp - 0x4f8]
call fcn.00426210
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425b20
cmp dword [ebp - 0x4fc], eax
jae 0x411a91
push 0x4dd398
mov ecx, dword [ebp - 0x4fc]
push ecx
push 0x4dd390
push 0x4dd388
lea ecx, [ebp - 0x4f8]
call fcn.00426210
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425e80
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425420
push eax
lea ecx, [ebp - 0x500]
call fcn.00403de0
mov edx, dword [ebp - 0x524]
add edx, 0x1a68
push edx
lea ecx, [ebp - 0x500]
call sym.Setup.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x411a81
push str.name
mov eax, dword [ebp - 0x4fc]
push eax
push 0x4dd3a4
push 0x4dd39c
lea ecx, [ebp - 0x4f8]
call fcn.00426210
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425e80
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425420
push eax
lea ecx, [ebp - 0x508]
call fcn.00403de0
push str.game_id
mov ecx, dword [ebp - 0x4fc]
push ecx
push str.game
push str.data
lea ecx, [ebp - 0x4f8]
call fcn.00426210
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425e80
mov ecx, eax
call fcn.00426210
mov ecx, eax
call fcn.00425420
push eax
lea ecx, [ebp - 0x504]
call fcn.00403de0
lea edx, [ebp - 0x508]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404bf0
lea eax, [ebp - 0x504]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00404bf0
lea ecx, [ebp - 0x504]
push ecx
mov ecx, dword [ebp - 0x524]
add ecx, 0x24cc
call fcn.00404bf0
movzx edx, byte [ebp + 8]
test edx, edx
je 0x411a22
push ecx
mov ecx, esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.00404bd0
push ecx
mov ecx, esp
lea edx, [ebp - 0x508]
push edx
call fcn.00404bd0
mov ecx, dword [ebp - 0x524]
call fcn.00411b70
mov byte [ebp - 0x51d], 1
lea ecx, [ebp - 0x504]
call fcn.00403e20
lea ecx, [ebp - 0x508]
call fcn.00403e20
lea ecx, [ebp - 0x500]
call fcn.00403e20
lea ecx, [ebp - 0x4e0]
call fcn.00411180
lea ecx, [ebp - 0x4f8]
call fcn.004251b0
lea ecx, [ebp - 0x334]
call fcn.00402b30
lea ecx, [ebp - 0x350]
call fcn.00402b30
mov al, byte [ebp - 0x51d]
jmp 0x411b5f
lea ecx, [ebp - 0x500]
call fcn.00403e20
jmp 0x41187e
mov byte [ebp - 0x51e], 0
lea ecx, [ebp - 0x4e0]
call fcn.00411180
lea ecx, [ebp - 0x4f8]
call fcn.004251b0
lea ecx, [ebp - 0x334]
call fcn.00402b30
lea ecx, [ebp - 0x350]
call fcn.00402b30
mov al, byte [ebp - 0x51e]
jmp 0x411b5f
jmp 0x411b0c
mov byte [ebp - 0x51f], 0
lea ecx, [ebp - 0x4e0]
call fcn.00411180
lea ecx, [ebp - 0x4f8]
call fcn.004251b0
lea ecx, [ebp - 0x334]
call fcn.00402b30
lea ecx, [ebp - 0x350]
call fcn.00402b30
mov al, byte [ebp - 0x51f]
jmp 0x411b5f
lea ecx, [ebp - 0x4e0]
call fcn.00411180
lea ecx, [ebp - 0x4f8]
call fcn.004251b0
jmp 0x411b49
mov byte [ebp - 0x520], 0
lea ecx, [ebp - 0x334]
call fcn.00402b30
lea ecx, [ebp - 0x350]
call fcn.00402b30
mov al, byte [ebp - 0x520]
jmp 0x411b5f
lea ecx, [ebp - 0x334]
call fcn.00402b30
lea ecx, [ebp - 0x350]
call fcn.00402b30
pop edi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434ee7
mov esp, ebp
pop ebp
ret 0xc