Function at 0x40d4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00418310
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x12c]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.004197d0
add esp, 0xc
cmp esi, dword [ebp - 0x12c]
je 0x40dcf2
cmp dword [edi], 0x22
je 0x40dd1a
cmp eax, 3
ja case.default.0x40d529
jmp dword [eax*4 + 0x40dd2c]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
mov ecx, esp
call fcn.00405250
lea ecx, [ebp - 0x144]
call fcn.0040bfb0
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.004139e0
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb case.default.0x40d529
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d79e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dcfc
jmp 0x40d79e
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp - 0x110]
mov esi, esp
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d620
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.00413e00
lea ecx, [ebp - 0x144]
call fcn.0040bfb0
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.004139e0
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb case.default.0x40d529
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d79e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd01
jmp 0x40d79e
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
mov ecx, esp
call fcn.004054d0
lea ecx, [ebp - 0x144]
call fcn.0040bfb0
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.004139e0
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb case.default.0x40d529
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d79e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd06
jmp 0x40d79e
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
mov ecx, esp
call fcn.00405390
lea ecx, [ebp - 0x144]
call fcn.0040bfb0
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.004139e0
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb case.default.0x40d529
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d79e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd0b
push edx
push ecx
call fcn.004153be
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00407f90
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x4339e8
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.0041768c
add esp, 0x38
test eax, eax
je 0x40d9a0
push eax
call fcn.0041771a
add esp, 4
call fcn.00418310
cmp dword [ebp + 0xc4], 0x10
lea esi, [ebp + 0xb0]
mov edi, eax
lea eax, [ebp - 0x12c]
cmovae esi, dword [ebp + 0xb0]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.004197d0
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp - 0x12c]
je 0x40dd10
cmp dword [edi], 0x22
je 0x40dd1a
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00404ae0
add esp, 0x18
cmp eax, ebx
jle 0x40d9a0
sub esp, 0x18
mov ecx, esp
push 0
push 0x432e4b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00413e00
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.00403a70
add esp, 0x48
sub esp, 0x18
mov esi, esp
sub esp, 0x18
cmp dword [0x43834c], 0x2a
mov ecx, esp
jne 0x40d999
push 0x436db4
call fcn.00413aa0
mov ecx, esi
call fcn.00402bc0
mov ecx, esp
push 0x436d3c
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.0040ba00
add esp, 0x78
lea eax, [ebp + 0xc8]
cmp dword [ebp + 0xdc], 0x10
cmovae eax, dword [ebp + 0xc8]
cmp dword [ebp + 0xd8], 1
jne 0x40d9f9
cmp byte [eax], 0x31
jne 0x40d9f9
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp - 0x128]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00413aa0
mov ecx, esi
call fcn.00404d20
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x43694c
call fcn.00413aa0
mov ecx, esi
call fcn.00402bc0
add esp, 0x18
call fcn.00402e30
add esp, 0x48
jmp 0x40d9f9
push 0x4375ac
jmp 0x40d9af
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4373cc
call fcn.00413aa0
mov ecx, esi
call fcn.00402bc0
mov ecx, esp
push 0x436d3c
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.00413aa0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00413aa0
call fcn.0040ba00
add esp, 0x78
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40da33
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x40da82
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
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 0x40dac8
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dabe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
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 0x40db0e
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
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 0x40db54
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
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 0x40db9a
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
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 0x40dbe6
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
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 0x40dc3b
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp + 0xc4]
mov dword [ebp + 0xa8], 0
mov dword [ebp + 0xac], 0xf
mov byte [ebp + 0x98], 0
cmp edx, 0x10
jb 0x40dc90
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
add esp, 8
mov edx, dword [ebp + 0xdc]
mov dword [ebp + 0xc0], 0
mov dword [ebp + 0xc4], 0xf
mov byte [ebp + 0xb0], 0
cmp edx, 0x10
jb 0x40dce1
mov ecx, dword [ebp + 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40dd24
push edx
push ecx
call fcn.004153be
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414d4c
mov esp, ebp
pop ebp
ret
push str.invalid_stoi_argument
call fcn.00414cec
call fcn.004199f4
call fcn.004199f4
call fcn.004199f4
call fcn.004199f4
push str.invalid_stoi_argument
call fcn.00414cec
push str.stoi_argument_out_of_range
call fcn.00414d2c
call fcn.004199f4
nop dword [eax]
xor ch, dl
inc eax
add byte [esi - 0x70ffbf2b], bh
salc
inc eax
add byte [0xcc0040d7], bl
int3