Function at 0x4102e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a2ce
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x462014]
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], 8
lea ecx, [ebp - 0x144]
push 1
push str.0123456789
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.00417990
mov byte [ebp - 4], 9
lea eax, [ebp + 0x38]
mov ecx, 1
mov dword [ebp - 0x190], 0
cmp dword [ebp + 0x48], ecx
mov dword [ebp - 0x18c], 0xf
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x1a0]
push eax
mov byte [ebp - 0x1a0], 0
call fcn.00417990
mov edi, dword [ebp - 0x18c]
lea ecx, [ebp - 0x1a0]
mov esi, dword [ebp - 0x1a0]
cmp edi, 0x10
mov edx, dword [ebp - 0x190]
push 1
cmovae ecx, esi
push 0x458d4c
call fcn.00418d40
add esp, 8
mov byte [ebp - 0x185], al
cmp edi, 0x10
jb 0x41040c
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4103fc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push ecx
push esi
call fcn.0041cf39
mov al, byte [ebp - 0x185]
add esp, 8
test al, al
je 0x4104bd
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
cmp eax, 1
jb 0x410f73
dec eax
mov ecx, 0x100
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push ecx
inc eax
lea ecx, [ebp - 0x1a0]
push eax
call fcn.00417990
mov edx, dword [ebp + 0x4c]
cmp edx, 0x10
jb 0x410493
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410489
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
add esp, 8
movups xmm0, xmmword [ebp - 0x1a0]
push 1
push 0x458cb4
movups xmmword [ebp + 0x38], xmm0
lea ecx, [ebp - 0x144]
movq xmm0, qword [ebp - 0x190]
movq qword [ebp + 0x48], xmm0
call fcn.00417990
call fcn.00436de3
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x178]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00438319
add esp, 0xc
cmp esi, dword [ebp - 0x178]
je 0x410f78
cmp dword [edi], 0x22
je 0x410f91
cmp eax, 3
ja case.default.0x410505
jmp dword [eax*4 + 0x410f9c]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x17c], esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x38]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x50]
mov dword [ebp - 0x178], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
call fcn.00408800
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 9
call fcn.0040e3c0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x4105fc
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4105b9
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb case.default.0x410505
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41089f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
jmp 0x41089f
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov esi, esp
lea eax, [ebp - 0x114]
mov dword [ebp - 0x178], 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
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4106c0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.00417990
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 9
call fcn.0040e3c0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x4105fc
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4105b9
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
jmp 0x4105af
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
call fcn.00408b00
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 9
call fcn.0040e3c0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x4105fc
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4105b9
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
jmp 0x4105af
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
call fcn.00408980
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 9
call fcn.0040e3c0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x4105fc
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4105b9
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4105af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
jmp 0x4105af
push edx
push ecx
call fcn.0041cf39
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004172d0
mov byte [ebp - 4], 9
call fcn.0040bb80
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0x458d10
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00435ff9
mov edi, dword [ebp - 0x144]
add esp, 0x38
test eax, eax
je 0x410c0a
push eax
call fcn.00436087
add esp, 4
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1a0]
push eax
call fcn.004172d0
cmp dword [ebp - 0x18c], 0x10
lea ecx, [ebp - 0x174]
lea eax, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x1a0]
push ecx
push eax
call fcn.00436d5f
mov edx, dword [ebp - 0x18c]
or ecx, 0xffffffff
add esp, 8
test eax, eax
cmove ecx, dword [ebp - 0x160]
mov dword [ebp - 0x17c], ecx
cmp edx, 0x10
jb 0x410996
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41098c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
call fcn.00436de3
cmp dword [ebp + 0xc4], 0x10
lea esi, [ebp + 0xb0]
mov dword [ebp - 0x184], eax
cmovae esi, dword [ebp + 0xb0]
mov dword [eax], 0
lea eax, [ebp - 0x178]
push 0xa
push eax
push esi
call fcn.00438319
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x178]
je 0x410f87
mov eax, dword [ebp - 0x184]
cmp dword [eax], 0x22
je 0x410f91
cmp dword [ebp - 0x17c], ecx
jle 0x410c0a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0
push 0x45813b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00417990
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.004172d0
mov byte [ebp - 4], 9
call fcn.00407110
add esp, 0x48
sub esp, 0x18
cmp dword [0x466494], 0x2a
mov esi, esp
jne 0x410ba2
mov dword [ebp - 0x180], esp
sub esp, 0x18
mov ecx, esp
push 0x462e18
call fcn.004172d0
mov ecx, esi
call fcn.00405d40
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x462da0
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x178], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004172d0
mov byte [ebp - 4], 9
call fcn.0040de20
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x134]
push 1
cmovae ecx, edi
push 0x458cb4
call fcn.00418d40
add esp, 0x80
test al, al
je 0x410c8f
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x180], esp
lea eax, [ebp - 0x12c]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004172d0
mov ecx, esi
call fcn.00408450
mov esi, esp
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
push 0x4629b0
call fcn.004172d0
mov ecx, esi
call fcn.00405d40
add esp, 0x18
mov byte [ebp - 4], 9
call fcn.00406020
add esp, 0x48
jmp 0x410c8f
mov dword [ebp - 0x1a4], esp
sub esp, 0x18
mov ecx, esp
push 0x463550
call fcn.004172d0
mov ecx, esi
call fcn.00405d40
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x462da0
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp + 0x50]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x21
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
mov byte [ebp - 4], 0x22
jmp 0x410c75
sub esp, 0x18
mov dword [ebp - 0x1a4], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4633b8
call fcn.004172d0
mov ecx, esi
call fcn.00405d40
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x462da0
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x50]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.004172d0
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.004172d0
mov byte [ebp - 4], 0x26
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004172d0
mov byte [ebp - 4], 9
call fcn.0040de20
add esp, 0x78
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x410cc5
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x410cbb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push ecx
push edi
call fcn.0041cf39
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410cff
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410cf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410d4e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410d44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410d94
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410d8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410dda
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410dd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410e20
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410e66
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410eb2
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410ea8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410f07
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410efd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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 0x410f58
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410f4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f82
push edx
push ecx
call fcn.0041cf39
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.0041c8c2
mov esp, ebp
pop ebp
ret
call fcn.00417ad0
push str.invalid_stoi_argument
call fcn.0041ba6a
call fcn.0043653a
push str.invalid_stoi_argument
call fcn.0041ba6a
push str.stoi_argument_out_of_range
call fcn.0041baaa
nop
or al, 5
inc ecx
add byte [ecx], bh
push es
inc ecx
add byte [edi], dh
pop es
inc ecx
add bl, ch
pop es
inc ecx
add ah, cl
int3