Function at 0x40e3f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a5ee
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x43900c]
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 dword [ebp - 4], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 9
call fcn.0041b8bb
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x45c]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.0041bb83
add esp, 0xc
cmp esi, dword [ebp - 0x45c]
je 0x40ed75
cmp dword [edi], 0x22
je 0x40ed8e
cmp eax, 3
ja case.default.0x40e48c
jmp dword [eax*4 + 0x40ed98]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x45c], esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x38]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x50]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
call fcn.00405630
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 9
call fcn.0040ce50
add esp, 0x60
lea ecx, [ebp - 0x428]
push eax
call fcn.004157e0
mov edx, dword [ebp - 0x470]
cmp edx, 0x10
jb case.default.0x40e48c
mov ecx, dword [ebp - 0x484]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e696
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
jmp 0x40e696
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x38]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x50]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov esi, esp
lea eax, [ebp - 0x410]
mov dword [ebp - 0x45c], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x410]
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 0x40e5c5
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00415c00
jmp 0x40e4e8
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x50]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
call fcn.00405930
jmp 0x40e4e8
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x38]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x50]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
call fcn.004057b0
jmp 0x40e4e8
push edx
push ecx
call fcn.00417475
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004158a0
mov byte [ebp - 4], 9
call fcn.004088a0
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push 0x434ef0
cmovae eax, dword [ebp - 0x428]
push eax
call fcn.0041a9b4
add esp, 0x38
test eax, eax
je 0x40e9ec
push eax
call fcn.0041aa42
add esp, 4
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x484]
push eax
call fcn.004158a0
cmp dword [ebp - 0x470], 0x10
lea ecx, [ebp - 0x458]
lea eax, [ebp - 0x484]
cmovae eax, dword [ebp - 0x484]
push ecx
push eax
call fcn.0041b5b5
mov edx, dword [ebp - 0x470]
or ebx, 0xffffffff
add esp, 8
test eax, eax
cmove ebx, dword [ebp - 0x444]
cmp edx, 0x10
jb 0x40e781
mov ecx, dword [ebp - 0x484]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
add esp, 8
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0xf
mov byte [ebp - 0x484], 0
call fcn.0041b8bb
cmp dword [ebp + 0xc4], 0x10
lea esi, [ebp + 0xb0]
mov edi, eax
lea eax, [ebp - 0x45c]
cmovae esi, dword [ebp + 0xb0]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.0041bb83
add esp, 0xc
cmp esi, dword [ebp - 0x45c]
je 0x40ed84
cmp dword [edi], 0x22
je 0x40ed8e
cmp ebx, eax
jle 0x40e9ec
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x464], esp
push 0
push 0x43436b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00415c00
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x428]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.004158a0
mov byte [ebp - 4], 9
call fcn.00403a70
add esp, 0x48
sub esp, 0x18
mov esi, esp
test al, al
je 0x40e984
mov dword [ebp - 0x464], esp
sub esp, 0x18
mov ecx, esp
push 0x439db4
call fcn.004158a0
mov ecx, esi
call fcn.004029c0
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x460], esp
push 0x439d3c
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x50]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x45c], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004158a0
mov byte [ebp - 4], 9
call fcn.0040c7c0
add esp, 0x78
lea eax, [ebp + 0xc8]
cmp dword [ebp + 0xdc], 0x10
cmovae eax, dword [ebp + 0xc8]
cmp dword [ebp + 0xd8], 1
jne 0x40ea71
movzx eax, byte [eax]
cmp al, 0x31
jne 0x40e909
xor eax, eax
jmp 0x40e90e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40ea71
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
mov dword [ebp - 0x46c], esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x464], esp
lea eax, [ebp - 0x428]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004158a0
mov ecx, esi
call fcn.00404fe0
mov esi, esp
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
push 0x43997c
call fcn.004158a0
mov ecx, esi
call fcn.004029c0
add esp, 0x18
mov byte [ebp - 4], 9
call fcn.00402c90
add esp, 0x48
jmp 0x40ea71
mov dword [ebp - 0x46c], esp
sub esp, 0x18
mov ecx, esp
push 0x43a54c
call fcn.004158a0
mov ecx, esi
call fcn.004029c0
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x464], esp
push 0x439d3c
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp + 0x50]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x21
lea eax, [ebp + 0x20]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
mov byte [ebp - 4], 0x22
jmp 0x40ea57
sub esp, 0x18
mov dword [ebp - 0x46c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x43a384
call fcn.004158a0
mov ecx, esi
call fcn.004029c0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x464], esp
push 0x439d3c
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x50]
mov dword [ebp - 0x460], esp
mov ecx, esp
push eax
call fcn.004158a0
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x468], esp
mov ecx, esp
push eax
call fcn.004158a0
mov byte [ebp - 4], 0x26
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004158a0
mov byte [ebp - 4], 9
call fcn.0040c7c0
add esp, 0x78
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x40eaab
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eaa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x40eafa
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eaf0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40eb40
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40eb86
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40ebcc
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40ec12
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40ec5e
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40ecb3
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eca9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40ed08
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ecfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
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 0x40ed59
mov ecx, dword [ebp + 0xc8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed7f
push edx
push ecx
call fcn.00417475
add esp, 8
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.00416e02
mov esp, ebp
pop ebp
ret
push str.invalid_stoi_argument
call fcn.00416da2
call fcn.0041c0c8
push str.invalid_stoi_argument
call fcn.00416da2
push str.stoi_argument_out_of_range
call fcn.00416de2
xchg ebx, eax
in al, 64
add byte [ebx - 0x1b], al
inc eax
add dl, ah
in eax, 0x40
add byte [esi], bh
inc eax
add ah, cl
int3