Function at 0x44f440
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x5dcf79
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp + 0x224], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x206
mov dword [ebp - 0x4c], ecx
xor edi, edi
lea ecx, [ebp + 0x1e]
xor eax, eax
push edi
push ecx
mov word [ebp + 0x1c], ax
call fcn.00578cb0
add esp, 0xc
lea edx, [ebp + 0x1c]
push edx
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x44f523
xor eax, eax
mov word [ebp + 4], ax
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f4c5
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp]
call fcn.00439ce0
push 0x1a
push str.Battle.netAgent_agent.db
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.00439740
mov eax, dword [ebp + 4]
mov esi, 8
cmp dword [ebp + 0x18], esi
jae 0x44f503
lea eax, [ebp + 4]
push 2
push eax
call fcn.0045b820
add esp, 8
test eax, eax
jne 0x44f52a
cmp dword [ebp + 0x18], esi
jb 0x44f523
mov edx, dword [ebp + 4]
push edx
call fcn.00506f70
add esp, 4
xor eax, eax
jmp 0x44f9ba
push 1
lea ecx, [ebp - 0x110]
call fcn.00447750
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], esi
jae 0x44f546
lea eax, [ebp + 4]
push 0x40
push 0x21
push eax
lea ecx, [ebp - 0x108]
call fcn.00441130
test eax, eax
jne 0x44f583
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x108]
lea ecx, [ebp + ecx - 0x110]
or eax, 2
cmp dword [ecx + 0x28], edi
jne 0x44f57c
or eax, 4
push edi
push eax
call fcn.00435570
mov ecx, dword [ebp - 0x110]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + edx - 0x108]
test al, 6
je 0x44f5ce
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.00441060
lea eax, [ebp - 0xb8]
push eax
mov dword [ebp - 0xb8], vtable.std::ios_base.0
call fcn.004cf7f1
add esp, 4
lea ecx, [ebp]
call fcn.00495410
xor eax, eax
jmp 0x44f9ba
push 2
push edi
lea ecx, [ebp - 0x110]
call fcn.00443460
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x110]
call fcn.00437530
mov esi, dword [eax + 8]
add esi, dword [eax]
lea ebx, [esi + 0x104]
push ebx
call fcn.0057a5f1
push ebx
mov edi, eax
push 0
push edi
call fcn.00578cb0
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x110]
call fcn.00443460
push esi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x110]
call fcn.00447850
lea ecx, [ebp - 0x110]
call fcn.00443560
lea ecx, [ebp - 0x84]
call fcn.0043b4a0
push 1
push 3
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 2
call fcn.0042f9c0
lea edx, [ebp - 0x190]
push edi
push edx
mov byte [ebp - 4], 3
call fcn.00432d30
push edi
call fcn.00579483
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0044d660
add esp, 0x14
push str._game_wow_zhcn
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00436a10
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.004480d0
mov ecx, eax
call fcn.0044d580
mov ebx, 0x10
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], ebx
jb 0x44f6c5
mov eax, dword [ebp - 0x28]
push eax
call fcn.00506f70
add esp, 4
mov edi, 0xf
push str.game
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00436a10
push str.resource
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00436a10
lea ecx, [ebp - 0x68]
push ecx
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004480d0
mov ecx, eax
call fcn.0044d580
lea edx, [ebp - 0x48]
push edx
mov ecx, eax
call fcn.004480d0
mov ecx, eax
call fcn.0044d580
mov esi, eax
cmp dword [ebp - 0x50], ebx
jb 0x44f731
mov eax, dword [ebp - 0x64]
push eax
call fcn.00506f70
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], ebx
jb 0x44f754
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00506f70
add esp, 4
push str.install_dir
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00436a10
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004480d0
mov ecx, eax
call fcn.00442800
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], ebx
jb 0x44f79c
mov eax, dword [ebp - 0x28]
push eax
call fcn.00506f70
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x18], ebx
jb 0x44f7b4
mov esi, dword [esi + 4]
jmp 0x44f7b7
add esi, 4
mov ebx, dword [ebp - 0x4c]
push 0
lea edi, [ebx + 0x3c]
push edi
push esi
call fcn.0045c7f0
add esp, 0xc
cmp dword [ebx + 0x50], 1
jbe 0x44f7db
push 0x5f18ac
mov ecx, edi
call fcn.0043b300
mov dword [ebp - 4], 3
mov bl, 0xa
push str._game_wow_zhtw
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00436a10
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.004480d0
mov ecx, eax
call fcn.0044d580
cmp dword [ebp - 0x30], 0x10
mov esi, eax
mov byte [ebp - 4], bl
jb 0x44f825
mov edx, dword [ebp - 0x44]
push edx
call fcn.00506f70
add esp, 4
xor edi, edi
push str.game
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x44], 0
call fcn.00436a10
push str.resource
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00436a10
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.004480d0
mov ecx, eax
call fcn.0044d580
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.004480d0
mov ecx, eax
call fcn.0044d580
cmp dword [ebp - 0x50], 0x10
mov esi, eax
jb 0x44f88f
mov edx, dword [ebp - 0x64]
push edx
call fcn.00506f70
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], bl
jb 0x44f8b2
mov eax, dword [ebp - 0x28]
push eax
call fcn.00506f70
add esp, 4
push str.install_dir
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
call fcn.00436a10
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004480d0
mov ecx, eax
call fcn.00442800
mov byte [ebp - 4], bl
mov ebx, 0x10
mov esi, eax
cmp dword [ebp - 0x30], ebx
jb 0x44f8fe
mov edx, dword [ebp - 0x44]
push edx
call fcn.00506f70
add esp, 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x44], 0
cmp dword [esi + 0x18], ebx
jb 0x44f923
mov esi, dword [esi + 4]
jmp 0x44f926
add esi, 4
mov ebx, dword [ebp - 0x4c]
push 0
lea edi, [ebx + 0x58]
push edi
push esi
call fcn.0045c7f0
add esp, 0xc
cmp dword [ebx + 0x6c], 1
jbe 0x44f94a
push 0x5f18ac
mov ecx, edi
call fcn.0043b300
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.0042fa80
lea eax, [ebp - 0x144]
mov esi, vtable.std::ios_base.0
push eax
mov dword [ebp - 0x144], esi
call fcn.004cf7f1
add esp, 4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004434f0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0
call fcn.00441060
lea ecx, [ebp - 0xb8]
push ecx
mov dword [ebp - 0xb8], esi
call fcn.004cf7f1
add esp, 4
lea ecx, [ebp]
call fcn.00495410
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.005792fc
add ebp, 0x228
mov esp, ebp
pop ebp
ret