Function at 0x401fb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44fc96
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
lea eax, [esp + 0x54]
push 0x4573f4
xor ebp, ebp
push eax
mov dword [esp + 0x310], ebp
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov ebx, 0x10
mov byte [esp + 0x308], 1
cmp dword [eax + 0x18], ebx
jb 0x402038
mov eax, dword [eax + 4]
jmp 0x40203b
add eax, 4
push eax
push str.CClientUpAgent::DoClearTempDir
push 0x28
push str..ClientUpAgent.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x40206c
mov edx, dword [esp + 0x18]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov dword [esp + 0x308], 0xffffffff
call fcn.00404450
lea eax, [esp + 0xa0]
mov edi, vtable.std::ios_base.0
push eax
mov dword [esp + 0xa4], edi
call fcn.004339e9
add esp, 4
push 1
push 2
lea ecx, [esp + 0xdc]
call fcn.00404370
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x30c], 2
call fcn.00417160
add esp, 4
push str.SensChk.dll
push ecx
push eax
lea edx, [esp + 0xe0]
push edx
mov byte [esp + 0x318], 3
call fcn.00407680
add esp, 0xc
push eax
call fcn.004073a0
add esp, 8
mov byte [esp + 0x308], 2
cmp dword [esp + 0x2c], ebx
jb 0x40210a
mov eax, dword [esp + 0x18]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x30]
call fcn.0042e510
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x30c], 4
call fcn.004044d0
mov byte [esp + 0x308], 5
cmp dword [eax + 0x18], ebx
jb 0x40213e
mov eax, dword [eax + 4]
jmp 0x402141
add eax, 4
push eax
lea ecx, [esp + 0x34]
call fcn.0041f750
mov byte [esp + 0x308], 4
cmp dword [esp + 0x2c], ebx
mov esi, eax
jb 0x402168
mov edx, dword [esp + 0x18]
push edx
call fcn.00433d63
add esp, 4
cmp esi, ebp
je 0x402622
lea esi, [esp + 0x1d8]
lea ecx, [esp + 0x30]
call fcn.00401b60
mov byte [esp + 0x308], 6
push 1
mov esi, 0xf
push 0x457438
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
call fcn.00405b30
mov byte [esp + 0x308], 7
push 1
push 0x45743c
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00405b30
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1e0]
push edx
mov byte [esp + 0x314], 8
call fcn.00417ed0
add esp, 0xc
cmp dword [esp + 0x50], ebx
jb 0x402204
mov eax, dword [esp + 0x3c]
push eax
call fcn.00433d63
add esp, 4
mov byte [esp + 0x308], 6
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
jb 0x40222c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
cmp dword [esp + 0x1f0], ebx
mov eax, dword [esp + 0x1dc]
jae 0x402243
lea eax, [esp + 0x1dc]
push str.1.1.0.0
push eax
call fcn.0041e2f0
add esp, 8
cmp eax, 0xffffffff
jne 0x4024cf
push 0x103
lea edx, [esp + 0x1f9]
push ebp
push edx
mov byte [esp + 0x200], 0
call fcn.00435580
add esp, 0xc
lea eax, [esp + 0x1f4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
lea ecx, [esp + 0x1f4]
push ecx
push ecx
lea edx, [esp + 0x5c]
push 0x457448
push edx
mov byte [esp + 0x318], 9
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x308], 0xa
cmp dword [eax + 0x18], ebx
jb 0x4022e4
mov eax, dword [eax + 4]
jmp 0x4022e7
add eax, 4
push eax
push str.CClientUpAgent::DoClearTempDir
push 0x37
push str..ClientUpAgent.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x402318
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x308], 6
call fcn.00404450
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0xa4], edi
call fcn.004339e9
lea eax, [esp + 0x1f8]
add esp, 4
push eax
call fcn.00419390
add esp, 4
test eax, eax
je 0x40241a
lea ecx, [esp + 0x1f4]
push ecx
call fcn.0041c9b0
add esp, 4
test eax, eax
jne 0x4025ea
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
mov byte [esp + 0x308], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [esp + 0x5c]
push 0x457464
push edx
call fcn.004073a0
add esp, 0xc
mov ecx, eax
call fcn.00403e80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x308], 0xc
cmp dword [eax + 0x18], ebx
jb 0x4023c9
mov eax, dword [eax + 4]
jmp 0x4023cc
add eax, 4
push eax
push str.CClientUpAgent::DoClearTempDir
push 0x3d
push str..ClientUpAgent.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x14]
call fcn.00403ce0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x308], 6
call fcn.00404450
mov dword [esp + 0xa0], edi
lea ecx, [esp + 0xa0]
jmp 0x4025e1
push 1
push 2
lea ecx, [esp + 0x5c]
call fcn.00404370
lea edx, [esp + 0x1f4]
push edx
push ecx
lea eax, [esp + 0x5c]
push 0x457488
push eax
mov byte [esp + 0x318], 0xd
call fcn.004073a0
add esp, 0xc
push eax
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
call fcn.004044d0
mov byte [esp + 0x308], 0xe
cmp dword [eax + 0x18], ebx
jb 0x402473
mov eax, dword [eax + 4]
jmp 0x402476
add eax, 4
push eax
push str.CClientUpAgent::DoClearTempDir
push 0x42
push str..ClientUpAgent.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x4024a7
mov edx, dword [esp + 0x18]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x308], 6
call fcn.00404450
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], edi
push eax
jmp 0x4025e2
push 1
push 2
lea ecx, [esp + 0x15c]
call fcn.00404370
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x30c], 0xf
call fcn.004044d0
lea edx, [esp + 0x1d8]
push edx
push ecx
push 0x4574ac
push ecx
push eax
push ecx
lea eax, [esp + 0x16c]
push 0x4574c8
push eax
mov byte [esp + 0x328], bl
call fcn.004073a0
add esp, 0xc
push eax
call fcn.00407680
add esp, 0xc
push eax
call fcn.004073a0
add esp, 0xc
push eax
call fcn.00407680
add esp, 8
mov byte [esp + 0x308], 0xf
cmp dword [esp + 0x2c], ebx
jb 0x40255b
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433d63
add esp, 4
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x158]
call fcn.004044d0
mov byte [esp + 0x308], 0x11
cmp dword [eax + 0x18], ebx
jb 0x40257e
mov eax, dword [eax + 4]
jmp 0x402581
add eax, 4
push eax
push str.CClientUpAgent::DoClearTempDir
push 0x47
push str..ClientUpAgent.cpp
push 0x2002
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x2c], ebx
jb 0x4025b2
mov eax, dword [esp + 0x18]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov byte [esp + 0x18], 0
mov byte [esp + 0x308], 6
call fcn.00404450
mov dword [esp + 0x1a0], edi
lea ecx, [esp + 0x1a0]
push ecx
call fcn.004339e9
add esp, 4
lea ecx, [esp + 0x30]
call fcn.0041f720
cmp dword [esp + 0x1f0], ebx
jb 0x40260c
mov edx, dword [esp + 0x1dc]
push edx
call fcn.00433d63
add esp, 4
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x1ec], ebp
mov byte [esp + 0x1dc], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x308], 2
call fcn.0041f720
lea ecx, [esp + 0x120]
mov dword [esp + 0x308], 0xffffffff
call fcn.00404450
lea eax, [esp + 0x120]
push eax
mov dword [esp + 0x124], edi
call fcn.004339e9
add esp, 4
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00433d68
add esp, 0x2f8
ret