Function at 0x412210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d510
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 7
call fcn.00439d83
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x130]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.0043b2b9
add esp, 0xc
cmp esi, dword [ebp - 0x130]
je 0x412889
cmp dword [edi], 0x22
je 0x41287f
cmp eax, 3
ja case.default.0x4122ab
jmp dword [eax*4 + 0x412898]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x130], esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp + 0x38]
mov dword [ebp - 0x13c], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp + 0x50]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
call fcn.004090d0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.0040f7c0
add esp, 0x60
lea ecx, [ebp - 0x12c]
push eax
call fcn.0041a050
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb case.default.0x4122ab
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4124b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
jmp 0x4124b5
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x38]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x50]
mov dword [ebp - 0x13c], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov esi, esp
lea eax, [ebp - 0x114]
mov dword [ebp - 0x130], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4123e4
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.0041a930
jmp 0x412307
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x38]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x50]
mov dword [ebp - 0x13c], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
call fcn.004093d0
jmp 0x412307
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x38]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x50]
mov dword [ebp - 0x13c], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
call fcn.00409250
jmp 0x412307
push edx
push ecx
call fcn.0041fed9
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 7
call fcn.0040d250
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0x45bdd0
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00438f99
add esp, 0x38
test eax, eax
je 0x4125a1
push eax
call fcn.00439027
sub esp, 0x14
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.0041a110
call fcn.00407f30
mov dword [ebp - 0x134], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466e18
call fcn.0041a110
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x466da0
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x50]
mov dword [ebp - 0x13c], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp + 0x20]
mov dword [ebp - 0x130], esp
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 0x18
jmp 0x41260c
sub esp, 0x18
mov dword [ebp - 0x140], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4673b8
call fcn.0041a110
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x466da0
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x50]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041a110
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x13c], esp
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 0x1c
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041a110
mov byte [ebp - 4], 7
call fcn.0040f220
mov edx, dword [ebp - 0x118]
add esp, 0x78
cmp edx, 0x10
jb 0x412660
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412656
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x4126af
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4126a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4126f5
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4126eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x41273b
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x412781
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
cmp edx, 0x10
jb 0x4127c7
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4127bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0x94]
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0xf
mov byte [ebp + 0x68], 0
cmp edx, 0x10
jb 0x412813
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov edx, dword [ebp + 0xac]
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x94], 0xf
mov byte [ebp + 0x80], 0
cmp edx, 0x10
jb 0x412864
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41285a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412893
push edx
push ecx
call fcn.0041fed9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f862
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041ea49
push str.invalid_stoi_argument
call fcn.0041ea09
call fcn.004394da
mov dl, 0x22
inc ecx
add byte [edx + 0x23], ah
inc ecx
add byte [ecx], al
and al, 0x41
add byte [ebx + 0x24], bl
inc ecx
add ah, cl
int3