Function at 0x40d7b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push esi
push edi
sub esp, 0x18
mov dword [ebp - 0x40], 0
mov ecx, esp
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
push 0x435b04
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00412e40
lea ecx, [ebp - 0x38]
call fcn.00402b70
add esp, 0x18
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40d804
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.004136e0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
lea edx, [eax + 3]
cmp esi, edx
jb 0x40e2c6
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 - 0x20]
add eax, edx
push eax
call fcn.004131b0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x68]
call fcn.00412ca0
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x40d8a3
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2cb
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x40d8d7
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d8cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2cb
push edx
push ecx
call fcn.004142b0
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x435b04
call fcn.00412e40
lea ecx, [ebp - 0x38]
call fcn.00402b70
add esp, 0x18
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40d8fb
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.004136e0
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp esi, eax
mov dword [ebp - 0xc], 0xf
lea ecx, [ebp + 0x38]
mov byte [ebp - 0x20], 0
cmovb eax, esi
cmp dword [ebp + 0x4c], 0x10
push eax
cmovae ecx, dword [ebp + 0x38]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004131b0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x38]
call fcn.00412ca0
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x40d984
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d97a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2d0
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x40d9b8
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d9ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2d0
push edx
push ecx
call fcn.004142b0
add esp, 8
call fcn.00417340
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 4]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00418800
add esp, 0xc
cmp esi, dword [ebp - 4]
je 0x40e2d5
cmp dword [edi], 0x22
je 0x40e307
cmp eax, 3
ja case.default.0x40d9fa
jmp dword [eax*4 + 0x40e318]
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
mov ecx, esp
call fcn.00404f50
lea ecx, [ebp - 0x38]
call fcn.0040b4c0
add esp, 0x60
lea ecx, [ebp - 0x50]
push eax
call fcn.00412ca0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb case.default.0x40d9fa
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2df
jmp 0x40dc38
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp - 0x1a0]
mov esi, esp
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x1a0]
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 0x40dae1
sub ecx, edx
lea eax, [ebp - 0x1a0]
push ecx
push eax
mov ecx, esi
call fcn.004131b0
lea ecx, [ebp - 0x38]
call fcn.0040b4c0
add esp, 0x60
lea ecx, [ebp - 0x50]
push eax
call fcn.00412ca0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb case.default.0x40d9fa
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2e4
jmp 0x40dc38
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
mov ecx, esp
call fcn.00405150
lea ecx, [ebp - 0x38]
call fcn.0040b4c0
add esp, 0x60
lea ecx, [ebp - 0x50]
push eax
call fcn.00412ca0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb case.default.0x40d9fa
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2e9
jmp 0x40dc38
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
mov ecx, esp
call fcn.00405050
lea ecx, [ebp - 0x38]
call fcn.0040b4c0
add esp, 0x60
lea ecx, [ebp - 0x50]
push eax
call fcn.00412ca0
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb case.default.0x40d9fa
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2ee
push edx
push ecx
call fcn.004142b0
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00412e40
call fcn.00407950
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push 0x432a00
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.004166bc
add esp, 0x38
test eax, eax
je 0x40dfae
push eax
call fcn.0041674a
add esp, 4
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x20]
push eax
call fcn.00412e40
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push ecx
push eax
call fcn.004172bc
mov edx, dword [ebp - 0xc]
or edi, 0xffffffff
add esp, 8
test eax, eax
cmove edi, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x40dcf4
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2f3
push edx
push ecx
call fcn.004142b0
add esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
call fcn.00417340
cmp dword [ebp + 0xac], 0x10
lea esi, [ebp + 0x98]
mov ebx, eax
lea eax, [ebp - 4]
cmovae esi, dword [ebp + 0x98]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.00418800
add esp, 0xc
cmp esi, dword [ebp - 4]
je 0x40e2f8
cmp dword [ebx], 0x22
je 0x40e307
cmp edi, eax
jle 0x40dfae
sub esp, 0x18
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.00412e40
call fcn.00403ad0
add esp, 0x30
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
test al, al
je 0x40dfa7
push 0x435da4
call fcn.00412e40
mov ecx, esi
call fcn.00402b70
mov ecx, esp
push 0x435d2c
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412e40
call fcn.0040af30
add esp, 0x78
lea eax, [ebp + 0xb0]
cmp dword [ebp + 0xc4], 0x10
cmovae eax, dword [ebp + 0xb0]
cmp dword [ebp + 0xc0], 1
jne 0x40e007
cmp byte [eax], 0x31
jne 0x40e007
lea eax, [ebp - 0x50]
push eax
sub esp, 0x1c
mov ecx, esp
push 0x435924
call fcn.00412e40
lea ecx, [ebp - 0x80]
call fcn.00402b70
add esp, 0x1c
lea ecx, [ebp - 0x38]
mov edx, eax
call fcn.004133e0
mov ecx, eax
add esp, 4
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 2
jb 0x40de5a
lea eax, [edx + 2]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x40de4a
mov eax, dword [ecx]
mov esi, 0x202c
mov word [eax + edx], si
mov byte [eax + edx + 2], 0
jmp 0x40de71
push 2
push 0x4329fc
mov byte [ebp - 4], 0
push dword [ebp - 4]
push 2
call fcn.004137c0
mov ecx, eax
movups xmm0, xmmword [ecx]
sub esp, 0x18
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x10], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, esp
push eax
call fcn.004133e0
sub esp, 0x14
lea eax, [ebp - 0x50]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00412e40
mov ecx, esi
call fcn.00404a70
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x43593c
call fcn.00412e40
mov ecx, esi
call fcn.00402b70
add esp, 0x18
call fcn.00402db0
mov edx, dword [ebp - 0xc]
add esp, 0x48
cmp edx, 0x10
jb 0x40df15
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40df0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e302
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
cmp edx, 0x10
jb 0x40df5b
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40df51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e302
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edx, 0x10
jb 0x40e007
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40df9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e302
push edx
push ecx
call fcn.004142b0
add esp, 8
jmp 0x40e007
push 0x4365b4
jmp 0x40dfbd
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4363d4
call fcn.00412e40
mov ecx, esi
call fcn.00402b70
mov ecx, esp
push 0x435d2c
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.00412e40
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412e40
call fcn.0040af30
add esp, 0x78
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x40e03b
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e031
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x40e06f
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e065
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp edx, 0x10
jb 0x40e0b5
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e0ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e0fb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e0f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e141
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e137
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e187
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e17d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e1cd
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e1c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e219
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e20f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e26e
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
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 0x40e2bf
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e2b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e311
push edx
push ecx
call fcn.004142b0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004132e0
call fcn.00418a24
call fcn.00418a24
push str.invalid_stoi_argument
call fcn.00413dea
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
call fcn.00418a24
push str.invalid_stoi_argument
call fcn.00413dea
call fcn.00418a24
push str.stoi_argument_out_of_range
call fcn.00413e2a
call fcn.00418a24
nop
add edx, ebx
inc eax
add byte [ebx + 0x440040da], al
fild dword [eax]
ret