Function at 0x424cd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44db52
mov eax, dword fs:[0]
push eax
sub esp, 0x998
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x994], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x9ac]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0x9bc]
push 1
push 2
lea ecx, [esp + 0x54]
call fcn.00404370
lea eax, [esp + 0x4c]
push 0x453a18
xor esi, esi
push eax
mov dword [esp + 0x9bc], esi
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
call fcn.004044d0
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 1
jb 0x424d61
mov eax, dword [eax + 4]
jmp 0x424d64
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xdb1
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x48], ebx
jb 0x424d98
mov edx, dword [esp + 0x34]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov dword [esp + 0x9b4], 0xffffffff
call fcn.00404450
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.004339e9
push 0x103
lea ecx, [esp + 0x5a1]
push esi
push ecx
mov dword [edi], esi
mov byte [esp + 0x5a8], 0
call fcn.00435580
push 0x103
lea edx, [esp + 0x3a5]
push esi
push edx
mov byte [esp + 0x3ac], 0
call fcn.00435580
push 0x103
lea eax, [esp + 0x7c1]
push esi
push eax
mov byte [esp + 0x7c8], 0
call fcn.00435580
push 0x103
lea ecx, [esp + 0x2b9]
push esi
push ecx
mov byte [esp + 0x2c0], 0
call fcn.00435580
push 0x103
lea edx, [esp + 0x1c1]
push esi
push edx
mov byte [esp + 0x1c8], 0
call fcn.00435580
add esp, 0x40
push 0x103
lea eax, [esp + 0x8a9]
push esi
push eax
mov byte [esp + 0x8b0], 0
call fcn.00435580
push 0x103
lea ecx, [esp + 0x4a5]
push esi
push ecx
mov byte [esp + 0x4ac], 0
call fcn.00435580
add esp, 0x18
push 0x104
lea edx, [esp + 0x8a8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x30]
push 1
push eax
call fcn.0041bb60
add esp, 8
cmp dword [eax + 0x18], ebx
jb 0x424eb8
mov eax, dword [eax + 4]
jmp 0x424ebb
add eax, 4
push eax
lea ecx, [esp + 0x394]
push 0x104
push ecx
call fcn.0043859f
add esp, 0xc
cmp dword [esp + 0x48], ebx
jb 0x424ee4
mov edx, dword [esp + 0x34]
push edx
call fcn.00433d63
add esp, 4
lea eax, [esp + 0x390]
push str.win32
push eax
call fcn.0041ad40
add esp, 8
test eax, eax
je 0x424f14
lea ecx, [esp + 0x390]
push ecx
push 0x4579c0
lea edx, [esp + 0x7a8]
push edx
jmp 0x424f29
lea eax, [esp + 0x390]
push eax
push str._swin32
lea ecx, [esp + 0x7a8]
push ecx
call fcn.004145d0
add esp, 0xc
lea edx, [esp + 0x7a0]
push edx
lea eax, [esp + 0x59c]
push str._sconfig.ini
push eax
call fcn.004145d0
lea ecx, [esp + 0x8b0]
push ecx
lea edx, [esp + 0x4a4]
push str._syw
push edx
call fcn.004145d0
lea eax, [esp + 0x48]
push eax
call fcn.00417160
add esp, 0x1c
cmp dword [eax + 0x18], ebx
mov dword [esp + 0x9b4], 2
jb 0x424f87
mov edx, dword [eax + 4]
jmp 0x424f8a
lea edx, [eax + 4]
mov eax, edx
mov dword [esp + 0x164], esi
mov dword [esp + 0x168], 0xf
mov byte [esp + 0x154], 0
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424fb0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x158]
call fcn.00405b30
cmp dword [esp + 0x48], ebx
mov byte [esp + 0x9b4], 4
jb 0x424fe4
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00433d63
add esp, 4
mov edx, dword [esp + 0x164]
add edx, 0xffffffff
push edx
push 0
lea eax, [esp + 0x1c]
mov esi, 0xf
push eax
lea ecx, [esp + 0x15c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.00403e30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x15c]
mov byte [esp + 0x9c0], 5
call fcn.00404b70
cmp dword [esp + 0x2c], ebx
mov byte [esp + 0x9b4], 4
jb 0x42504c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
cmp dword [esp + 0x168], ebx
mov eax, dword [esp + 0x154]
jae 0x425063
lea eax, [esp + 0x154]
push eax
lea edx, [esp + 0x498]
push 0x4579c0
push edx
call fcn.004145d0
lea eax, [esp + 0x4a0]
push eax
lea ecx, [esp + 0x198]
push str._sconfig.ini
push ecx
call fcn.004145d0
lea edx, [esp + 0x184]
push 0
push edx
call fcn.00432480
add esp, 0x20
cmp dword [esp + 0x180], 0
mov byte [esp + 0x9b4], 6
je 0x4251dc
lea eax, [esp + 0x16c]
push eax
call fcn.004175e0
add esp, 4
push 1
push 2
lea ecx, [esp + 0x54]
mov dword [edi], eax
call fcn.00404370
mov ecx, dword [edi]
push 0x4585d0
push ecx
lea edx, [esp + 0x54]
push 0x4539dc
push edx
mov byte [esp + 0x9c4], 7
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
push eax
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 8
jb 0x425129
mov eax, dword [eax + 4]
jmp 0x42512c
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xddc
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x425160
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
cmp dword [esp + 0x184], ebx
jb 0x4251a8
mov eax, dword [esp + 0x170]
push eax
call fcn.00433d63
add esp, 4
cmp dword [esp + 0x168], ebx
mov dword [esp + 0x184], esi
mov dword [esp + 0x180], 0
mov byte [esp + 0x170], 0
jb 0x4258bb
mov ecx, dword [esp + 0x154]
push ecx
jmp 0x4258b3
lea edx, [esp + 0x598]
push edx
call fcn.00419390
add esp, 4
test eax, eax
jne 0x425548
push 1
push 2
lea ecx, [esp + 0x54]
call fcn.00404370
push 0x4585d0
push 0x4539ac
lea eax, [esp + 0x5a0]
push eax
lea ecx, [esp + 0x58]
push 0x457f50
push ecx
mov byte [esp + 0x9c8], 9
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 0xa
jb 0x425268
mov eax, dword [eax + 4]
jmp 0x42526b
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xde4
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x42529f
mov eax, dword [esp + 0x18]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea ecx, [esp + 0x98]
mov ebp, vtable.std::ios_base.0
push ecx
mov dword [esp + 0x9c], ebp
call fcn.004339e9
lea edx, [esp + 0x18c]
push edx
call fcn.00419390
add esp, 8
test eax, eax
push 1
lea ecx, [esp + 0x50]
push 2
jne 0x425383
call fcn.00404370
mov eax, dword [edi]
push 0x4585d0
push eax
push 0x453990
lea ecx, [esp + 0x194]
push ecx
lea edx, [esp + 0x5c]
push 0x457f50
push edx
mov byte [esp + 0x9cc], 0xb
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
push eax
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 0xc
jb 0x425370
mov eax, dword [eax + 4]
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xde8
jmp 0x4254ef
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xde8
jmp 0x4254ef
call fcn.00404370
push 0x4585d0
push 0x453974
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x58]
push 0x457f50
push ecx
mov byte [esp + 0x9c8], 0xd
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 0xe
jb 0x4253ef
mov eax, dword [eax + 4]
jmp 0x4253f2
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xdec
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x425426
mov eax, dword [esp + 0x18]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea ecx, [esp + 0x98]
push ecx
mov dword [esp + 0x9c], ebp
call fcn.004339e9
lea edx, [esp + 0x18c]
push edx
push 0x104
lea eax, [esp + 0x298]
push eax
push 0x45734d
push str.myonlyid
push str.CONFIG
call fcn.00425960
push edi
lea ecx, [esp + 0x2ac]
push 0x45243c
push ecx
call fcn.004357a5
add esp, 0x28
push 1
push 2
lea ecx, [esp + 0x54]
call fcn.00404370
push 0x4585d0
lea edx, [esp + 0x50]
push 0x45395c
push edx
mov byte [esp + 0x9c0], 0xf
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], bl
jb 0x4254e1
mov eax, dword [eax + 4]
jmp 0x4254e4
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xdef
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x425518
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x9c], ebp
call fcn.004339e9
add esp, 4
jmp 0x425723
lea eax, [esp + 0x188]
push eax
push 0x104
lea ecx, [esp + 0x294]
push ecx
push 0x45734d
push str.myonlyid
push str.CONFIG
call fcn.00425960
lea edx, [esp + 0x2a4]
push 0x45734d
push edx
call fcn.00434220
add esp, 0x20
test eax, eax
push 1
lea ecx, [esp + 0x50]
push 2
je 0x425661
call fcn.00404370
push 0x4585d0
lea eax, [esp + 0x50]
push 0x45392c
push eax
mov byte [esp + 0x9c0], 0x11
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 0x12
jb 0x4255e3
mov eax, dword [eax + 4]
jmp 0x4255e6
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xdf9
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x42561a
mov edx, dword [esp + 0x18]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.004339e9
push edi
lea ecx, [esp + 0x294]
push 0x45243c
push ecx
call fcn.004357a5
add esp, 0x10
jmp 0x42571e
call fcn.00404370
push 0x4585d0
lea edx, [esp + 0x50]
push 0x4538f0
push edx
mov byte [esp + 0x9c0], 0x13
call fcn.004073a0
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 0x14
jb 0x4256ae
mov eax, dword [eax + 4]
jmp 0x4256b1
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xdff
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x4256e5
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x98]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea edx, [esp + 0x98]
push edx
mov dword [esp + 0x9c], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
push 0
push edi
mov ecx, ebp
call fcn.004243e0
mov ebp, vtable.std::ios_base.0
mov esi, dword [edi]
test esi, esi
je 0x4257a1
push 0x103
lea eax, [esp + 0x6a1]
push 0
push eax
mov byte [esp + 0x6a8], 0
call fcn.00435580
push esi
lea ecx, [esp + 0x6ac]
push 0x4524d8
push ecx
call fcn.0043455d
push ecx
mov ecx, esp
lea eax, [esp + 0x6b8]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov dword [esp + 0xe8], esp
mov byte [ecx + 4], 0
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x425780
sub eax, esi
push eax
lea edx, [esp + 0x6bc]
push edx
call fcn.00405b30
call fcn.004329e0
add esp, 0x1c
push 1
push 2
lea ecx, [esp + 0xd8]
call fcn.00404370
mov eax, dword [edi]
push 0x4585d0
push eax
lea ecx, [esp + 0xd8]
push 0x4538cc
push ecx
mov byte [esp + 0x9c4], 0x15
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
push eax
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0xd4]
call fcn.004044d0
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x9b4], 0x16
jb 0x425809
mov eax, dword [eax + 4]
jmp 0x42580c
add eax, 4
push eax
push str.BaseLib::CBaseInfo::GetMyOnlyID
push 0xe1b
push str..ywSMPpubBaseInfo.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x425840
mov eax, dword [esp + 0x18]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x11c]
mov byte [esp + 0x9b4], 6
call fcn.00404450
lea ecx, [esp + 0x11c]
push ecx
mov dword [esp + 0x120], ebp
call fcn.004339e9
add esp, 4
cmp dword [esp + 0x184], ebx
jb 0x425884
mov edx, dword [esp + 0x170]
push edx
call fcn.00433d63
add esp, 4
cmp dword [esp + 0x168], ebx
mov dword [esp + 0x184], 0xf
mov dword [esp + 0x180], 0
mov byte [esp + 0x170], 0
jb 0x4258bb
mov eax, dword [esp + 0x154]
push eax
call fcn.00433d63
add esp, 4
mov ecx, dword [esp + 0x9ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x994]
xor ecx, esp
call fcn.00433d68
add esp, 0x9a4
ret 4