Function at 0x40ee90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x44b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
sub esp, 0x18
mov dword [ebp - 0x118], 0
mov ecx, esp
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x130], 0
push 0x44bb54
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
call fcn.004157d0
lea ecx, [ebp - 0x15c]
call fcn.00403500
add esp, 0x18
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40ef03
mov edx, dword [eax]
push dword [eax + 0x10]
mov edi, dword [ebp + 0x4c]
lea ecx, [ebp + 0x38]
mov ebx, dword [ebp + 0x38]
cmp edi, 0x10
mov esi, dword [ebp + 0x48]
push edx
cmovae ecx, ebx
mov edx, esi
push ecx
call fcn.00416e90
add esp, 0xc
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
lea edx, [eax + 3]
cmp esi, edx
jb 0x40fa16
sub esi, edx
lea eax, [ebp + 0x38]
mov ecx, 0x12
cmp esi, ecx
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x174]
add eax, edx
push eax
call fcn.00416360
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x140]
call fcn.00415710
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x40efba
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40efb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa1b
push edx
push ecx
call fcn.00418e03
add esp, 8
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x40eff4
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40efea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa1b
push edx
push ecx
call fcn.00418e03
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x44bb54
call fcn.004157d0
lea ecx, [ebp - 0x15c]
call fcn.00403500
add esp, 0x18
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40f01b
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
mov esi, dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
push edx
push ecx
mov edx, esi
call fcn.00416e90
add esp, 0xc
mov dword [ebp - 0x164], 0
cmp esi, eax
mov dword [ebp - 0x160], 0xf
lea ecx, [ebp + 0x38]
mov byte [ebp - 0x174], 0
cmovb eax, esi
cmp dword [ebp + 0x4c], 0x10
push eax
cmovae ecx, dword [ebp + 0x38]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00416360
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp + 0x38]
call fcn.00415710
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x40f0b9
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa20
push edx
push ecx
call fcn.00418e03
add esp, 8
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x40f0f3
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f0e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa20
push edx
push ecx
call fcn.00418e03
add esp, 8
call fcn.0041ed12
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x144]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00420808
add esp, 0xc
cmp esi, dword [ebp - 0x144]
je 0x40fa25
cmp dword [edi], 0x22
je 0x40fa52
cmp eax, 3
ja case.default.0x40f13b
jmp dword [eax*4 + 0x40fa64]
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
mov ecx, esp
call fcn.00405b90
lea ecx, [ebp - 0x15c]
call fcn.0040cb80
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.00415710
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb case.default.0x40f13b
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa2f
jmp 0x40f3ae
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004157d0
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f230
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.00416360
lea ecx, [ebp - 0x15c]
call fcn.0040cb80
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.00415710
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb case.default.0x40f13b
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa34
jmp 0x40f3ae
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
mov ecx, esp
call fcn.00405e10
lea ecx, [ebp - 0x15c]
call fcn.0040cb80
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.00415710
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb case.default.0x40f13b
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa39
jmp 0x40f3ae
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
mov ecx, esp
call fcn.00405cd0
lea ecx, [ebp - 0x15c]
call fcn.0040cb80
add esp, 0x60
lea ecx, [ebp - 0x128]
push eax
call fcn.00415710
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb case.default.0x40f13b
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa3e
push edx
push ecx
call fcn.00418e03
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.004157d0
call fcn.004088a0
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x448220
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.0041d6d4
add esp, 0x38
test eax, eax
je 0x40f6df
push eax
call fcn.0041daaa
add esp, 4
call fcn.0041ed12
cmp dword [ebp + 0xac], 0x10
lea esi, [ebp + 0x98]
mov edi, eax
lea eax, [ebp - 0x144]
cmovae esi, dword [ebp + 0x98]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00420808
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp - 0x144]
je 0x40fa43
cmp dword [edi], 0x22
je 0x40fa52
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.004157d0
call fcn.00405420
add esp, 0x18
cmp eax, ebx
jle 0x40f6df
sub esp, 0x18
lea eax, [ebp - 0x140]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.004157d0
call fcn.00404590
add esp, 0x30
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
test al, al
je 0x40f6d8
push 0x44bdf4
call fcn.004157d0
mov ecx, esi
call fcn.00403500
mov ecx, esp
push 0x44bd7c
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004157d0
call fcn.0040c640
add esp, 0x78
lea eax, [ebp + 0xb0]
cmp dword [ebp + 0xc4], 0x10
cmovae eax, dword [ebp + 0xb0]
cmp dword [ebp + 0xc0], 1
jne 0x40f738
cmp byte [eax], 0x31
jne 0x40f738
lea eax, [ebp - 0x128]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x44b974
call fcn.004157d0
lea ecx, [ebp - 0x18c]
call fcn.00403500
add esp, 0x1c
lea ecx, [ebp - 0x15c]
mov edx, eax
call fcn.00416a60
add esp, 4
mov ecx, eax
push 0x44821c
call fcn.004156a0
sub esp, 0x18
lea edx, [ebp - 0x174]
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x174], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x164], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x140]
push eax
call fcn.00416a60
sub esp, 0x14
lea eax, [ebp - 0x128]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004157d0
mov ecx, esi
call fcn.00405660
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x44b98c
call fcn.004157d0
mov ecx, esi
call fcn.00403500
add esp, 0x18
call fcn.00403770
mov edx, dword [ebp - 0x160]
add esp, 0x48
cmp edx, 0x10
jb 0x40f628
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f61e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa4d
push edx
push ecx
call fcn.00418e03
add esp, 8
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
cmp edx, 0x10
jb 0x40f67d
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f673
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa4d
push edx
push ecx
call fcn.00418e03
add esp, 8
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 0x10
jb 0x40f738
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa4d
push edx
push ecx
call fcn.00418e03
add esp, 8
jmp 0x40f738
push 0x44c604
jmp 0x40f6ee
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x44c424
call fcn.004157d0
mov ecx, esi
call fcn.00403500
mov ecx, esp
push 0x44bd7c
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.004157d0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004157d0
call fcn.0040c640
add esp, 0x78
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x40f772
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f768
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
add esp, 8
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x40f7ac
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f7fb
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f841
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f887
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f87d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f8cd
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f913
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f909
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f95f
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f955
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40f9b4
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
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 0x40fa05
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa5c
push edx
push ecx
call fcn.00418e03
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041878c
mov esp, ebp
pop ebp
ret
call fcn.004167e0
call fcn.0042140f
call fcn.0042140f
push str.invalid_stoi_argument
call fcn.004177f2
call fcn.0042140f
call fcn.0042140f
call fcn.0042140f
call fcn.0042140f
push str.invalid_stoi_argument
call fcn.004177f2
call fcn.0042140f
push str.stoi_argument_out_of_range
call fcn.00417832
call fcn.0042140f
nop dword [eax]
inc edx
int1
inc eax
add al, dl
int1
inc eax
add byte [edi + 0x2d0040f2], bl
inc eax
add ah, cl
int3