Function at 0x403830
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1434
call fcn.0045e3b0
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x1430], eax
push esi
xor esi, esi
cmp dword [0x4a4808], 1
jg 0x403922
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.0045db90
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x242]
push eax
mov word [esp + 0x244], dx
call fcn.0045db90
add esp, 0x18
push 0x104
lea ecx, [esp + 0x230]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.4399GameLogin
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00459b8e
lea ecx, [esp + 0x30]
push 0x104
push ecx
call fcn.0045a5de
lea edx, [esp + 0x240]
push 0x104
push edx
call fcn.0045a5de
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24c]
push ecx
call fcn.00459abe
add esp, 0x24
test eax, eax
je 0x40390a
mov esi, 3
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov eax, dword [0x4a4810]
mov ecx, dword [eax + 4]
push ecx
push str._web4399D
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x403959
mov esi, 1
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov edx, dword [0x4a4810]
mov eax, dword [edx + 4]
push eax
call fcn.00413250
push eax
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x403992
mov esi, 2
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov ecx, dword [0x4a4810]
mov edx, dword [ecx + 4]
push edx
push str._uninst
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x4039ca
mov esi, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov eax, dword [0x4a4810]
mov ecx, dword [eax + 4]
push ecx
push str._update
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x403a01
mov esi, 5
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov edx, dword [0x4a4810]
mov eax, dword [edx + 4]
push eax
push str._newgm
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x403ad6
xor edx, edx
push 0xffe
lea esi, [eax + 6]
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
push edx
lea eax, [esp + 0x43e]
xor ecx, ecx
push eax
mov word [esp + 0x10], cx
mov word [esp + 0x440], dx
call fcn.0045db90
mov ecx, dword [0x4a4810]
mov edx, dword [ecx + 8]
push edx
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.00459b1f
lea ecx, [esp + 0x1e]
push ecx
call fcn.0045a3ee
mov edx, dword [0x4a4810]
mov dword [0x4a5698], eax
mov eax, dword [edx + 0xc]
push eax
lea ecx, [esp + 0x454]
push 0x800
push ecx
call fcn.00459b1f
add esp, 0x28
lea edx, [esp + 0x436]
push edx
mov ecx, 0x4a68d8
call fcn.0040a5f0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov eax, dword [0x4a4810]
mov ecx, dword [eax + 4]
push ecx
push str._gmhall
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x403b5a
lea esi, [eax + 7]
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov eax, dword [0x4a4810]
mov ecx, dword [eax + 8]
xor edx, edx
push ecx
mov word [esp + 8], dx
lea edx, [esp + 8]
push 0x10
push edx
call fcn.00459b1f
lea eax, [esp + 0x12]
push eax
call fcn.0045a3ee
add esp, 0x10
mov dword [0x4a5698], eax
mov eax, esi
pop esi
mov ecx, dword [esp + 0x1430]
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret
mov ecx, dword [0x4a4810]
mov edx, dword [ecx + 4]
push edx
push str._Logo
call fcn.0045a345
add esp, 8
test eax, eax
jne 0x403858
mov ecx, dword [esp + 0x1434]
mov esi, 8
mov eax, esi
pop esi
xor ecx, esp
call fcn.004597c7
add esp, 0x1434
ret