Function at 0x428500
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a406d
mov eax, dword fs:[0]
push eax
mov eax, 0x5048
call fcn.004a1c40
mov eax, dword [0x4c3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x5024], ebx
mov eax, dword [ebp + 8]
push 0x400
mov dword [ebp - 0x5048], eax
lea eax, [ebp - 0x2820]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x820]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0xc20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x1020]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x1c20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x2020]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
lea eax, [ebp - 0x2420]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x1420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x1820]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x3420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x4420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x3020]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x2820]
add esp, 0x48
push 0
push 0x10
push eax
push 0
call edi
push esi
push 0x4c5a50
lea eax, [ebp - 0x820]
push str._s_s.ini
push eax
call fcn.004203f0
add esp, 0x10
cmp dword [0x4c52c4], 0
jne 0x428684
lea eax, [ebp - 0x2820]
push eax
lea eax, [ebp - 0x3020]
push str._sSosoAppdata.ini
push eax
call fcn.0043ae10
add esp, 0xc
jmp 0x42869e
push esi
push 0x4c5a50
lea eax, [ebp - 0x3020]
push str._s_s.ini
push eax
call fcn.0043ae10
add esp, 0x10
push 0
push 5
lea eax, [ebp - 0x3420]
push eax
push 0
call edi
lea eax, [ebp - 0x2820]
push eax
lea eax, [ebp - 0x4420]
push str._sx64.ini
push eax
call fcn.0043ae10
mov edi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
lea eax, [ebp - 0x820]
push 0
push eax
mov byte [ebp - 0x5041], 0
call edi
add esp, 0x14
test eax, eax
jne 0x4286ed
mov byte [ebp - 0x504c], 1
jmp 0x428712
lea eax, [ebp - 0x4420]
push 0
push eax
call edi
movzx ecx, byte [ebp - 0x5041]
add esp, 8
test eax, eax
mov edx, 2
cmove ecx, edx
mov dword [ebp - 0x504c], ecx
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoll]
lea edx, [ebx + 0xc]
mov dword [ebx + 4], eax
add esp, 4
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x428726
push 0xc00
lea eax, [ebp - 0x5020]
mov dword [ebp - 0x20], 0x11111111
push 0
push eax
mov dword [ebp - 0x1c], 0x11111111
mov dword [ebp - 0x18], 0x78563412
mov dword [ebp - 0x14], 0xefcdab90
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
cmp dword [0x4c5820], 0
je 0x428876
mov ecx, 0x4c580c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428780
sub ecx, edx
cmp ecx, 5
jbe 0x428876
mov dword [ebp - 0x502c], 0xf
mov dword [ebp - 0x5030], 0
mov byte [ebp - 0x5040], al
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x5028], esp
push 0x4b6b5c
call fcn.0041fa80
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x5054], esp
push esi
call fcn.0041fa80
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push 0x4c580c
call fcn.0041fa80
lea ecx, [ebp - 0x5040]
mov byte [ebp - 4], 0
call fcn.0043bf30
add esp, 0x48
cmp dword [ebp - 0x5030], 0x3e8
jae 0x428822
lea ecx, [ebp - 0x5040]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f9c0
jmp 0x428890
push esi
push 0x4c5a50
lea eax, [ebp - 0x3020]
push str._s_s.ini
push eax
call fcn.0043ae10
add esp, 0x10
lea ecx, [ebp - 0x3020]
cmp dword [ebp - 0x502c], 0x10
lea eax, [ebp - 0x5040]
cmovae eax, dword [ebp - 0x5040]
push ecx
push eax
push str.Soso
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x5040]
mov dword [ebp - 4], 0xffffffff
call fcn.0041f9c0
lea eax, [ebp - 0x3020]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
add esp, 8
test eax, eax
jne 0x428a2e
lea eax, [ebp - 0x3020]
push eax
push 0x800
lea eax, [ebp - 0x5020]
push eax
push 0x4b6b5c
push str.Soso
push esi
call edi
mov dword [ebp - 0x5028], eax
test eax, eax
je 0x428a2e
push 0x800
lea eax, [ebp - 0x3c20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x5028]
add esp, 0xc
xor edi, edi
xor ecx, ecx
test edx, edx
js 0x4288fa
mov al, byte [ebp + ecx - 0x5020]
cmp al, 0x20
je 0x4288f5
mov byte [ebp + edi - 0x3c20], al
inc edi
inc ecx
cmp ecx, edx
jle 0x4288e2
lea edx, [ebp - 0x3c20]
lea ecx, [ebp - 0x5020]
call fcn.004283e0
lea ecx, [ebp - 0x5028]
mov eax, edi
push ecx
cdq
lea ecx, [ebp - 0x234]
push ecx
sub eax, edx
lea ecx, [ebp - 0x20]
sar eax, 1
push ecx
push eax
mov dword [ebp - 0x5028], eax
lea eax, [ebp - 0x3c20]
push eax
call fcn.004283d0
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub eax, dword [ebp - 0x234]
xor edx, edx
movzx ecx, byte [ebp - 0x229]
add esp, 0x18
cmp eax, 0x34bc0
cmova ecx, edx
mov byte [ebp - 0x229], cl
cmp dword [0x4c52c4], edx
jne 0x428981
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x5020]
push eax
push str.Soso
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x5048], 0
lea esi, [ebp - 0x234]
mov ecx, 0x85
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
je 0x428a0d
lea ecx, [ebp - 0x5024]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [ebp - 4], 3
xor esi, esi
mov edi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop dword [eax + eax]
movzx eax, byte [esi + ebx + 0x194]
push eax
lea eax, [ebp - 0x5024]
push str._02X
push eax
call edi
inc esi
add esp, 0xc
cmp esi, 0x70
jb 0x4289c0
mov esi, dword [ebp - 0x5048]
lea eax, [ebp - 0x5024]
push ecx
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [esi + 0x4e]
call fcn.0042c700
add esp, 4
lea ecx, [ebp - 0x5024]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
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 - 0x10]
xor ecx, ebp
call fcn.0044627d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x504c]
cmp al, 1
jne 0x428eed
lea eax, [ebp - 0x820]
push eax
push 0
push str.time
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx], eax
test eax, eax
lea eax, [ebp - 0x820]
push eax
push 0x400
je 0x428b3d
lea eax, [ebp - 0xc20]
push eax
push 0x4b6b5c
push str.bufTGT_GTKey
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x1020]
push eax
push 0x4b6b5c
push str.bufTGT
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x1c20]
push eax
push 0x4b6b5c
push str.buf16bytesGTKey_ST
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x2020]
push eax
push 0x4b6b5c
push str.bufServiceTicket
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x2420]
push eax
push 0x4b6b5c
push str.bufST_PTLOGIN
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x1420]
push eax
push 0x4b6b5c
push str.bufSessionKey
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x1820]
push eax
push 0x4b6b5c
push str.bufSigSession
jmp 0x428bae
lea eax, [ebp - 0x1020]
push eax
push 0x4b6b5c
push str.0107_0088
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0xc20]
push eax
push 0x4b6b5c
push str.0107_0001
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x1420]
push eax
push 0x4b6b5c
push str.0109_0001
push esi
call edi
lea eax, [ebp - 0x820]
push eax
push 0x400
lea eax, [ebp - 0x1820]
push eax
push 0x4b6b5c
push str.0109_0038
push esi
call edi
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0xc20]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428bd0
xor eax, eax
sub ecx, edx
js 0x428bfd
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0xc20]
cmp bl, 0x20
je 0x428bf2
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428be3
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0xc20]
call fcn.004283e0
movups xmm0, xmmword [ebp - 0x420]
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
movups xmmword [ebx + 0xb4], xmm0
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x1020]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428c40
xor eax, eax
sub ecx, edx
js 0x428c6d
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0x1020]
cmp bl, 0x20
je 0x428c62
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428c53
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x1020]
call fcn.004283e0
push 0x400
lea eax, [ebp - 0x420]
mov ecx, 0x22
lea edi, [ebx + 0x2c]
lea esi, [ebp - 0x420]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x1c20]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428cb0
xor eax, eax
sub ecx, edx
js 0x428cdd
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0x1c20]
cmp bl, 0x20
je 0x428cd2
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428cc3
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x1c20]
call fcn.004283e0
movups xmm0, xmmword [ebp - 0x420]
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
movups xmmword [ebx + 0x10c], xmm0
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x2020]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428d20
xor eax, eax
sub ecx, edx
js 0x428d4d
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0x2020]
cmp bl, 0x20
je 0x428d42
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428d33
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x2020]
call fcn.004283e0
push 0x400
lea eax, [ebp - 0x420]
mov ecx, 0x1e
lea edi, [ebx + 0x11c]
lea esi, [ebp - 0x420]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x2420]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428d90
xor eax, eax
sub ecx, edx
js 0x428dbd
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0x2420]
cmp bl, 0x20
je 0x428db2
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428da3
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x2420]
call fcn.004283e0
push 0x400
lea eax, [ebp - 0x420]
mov ecx, 0x1c
lea edi, [ebx + 0x194]
lea esi, [ebp - 0x420]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x1420]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428e00
xor eax, eax
sub ecx, edx
js 0x428e2d
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0x1420]
cmp bl, 0x20
je 0x428e22
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428e13
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x1420]
call fcn.004283e0
movups xmm0, xmmword [ebp - 0x420]
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
movups xmmword [ebx + 0xc4], xmm0
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x1820]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428e70
xor eax, eax
sub ecx, edx
js 0x428e9d
lea edx, [ebp - 0x420]
mov bl, byte [ebp + eax - 0x1820]
cmp bl, 0x20
je 0x428e92
mov byte [edx], bl
inc edx
inc eax
cmp eax, ecx
jle 0x428e83
mov ebx, dword [ebp - 0x5024]
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x1820]
call fcn.004283e0
movups xmm0, xmmword [ebp - 0x420]
movups xmmword [ebx + 0xd4], xmm0
movups xmm0, xmmword [ebp - 0x410]
movups xmmword [ebx + 0xe4], xmm0
movups xmm0, xmmword [ebp - 0x400]
movups xmmword [ebx + 0xf4], xmm0
movq xmm0, qword [ebp - 0x3f0]
movq qword [ebx + 0x104], xmm0
jmp 0x428a0d
test al, al
jne 0x428a0d
xor eax, eax
jmp 0x428a12