Function at 0x412b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44de1c
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x466014]
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], 7
cmp byte [0x46a46d], 1
jne 0x412bec
sub esp, 0x18
mov dword [ebp - 0x130], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x467628
call fcn.0041b210
mov ecx, esi
call fcn.00405ca0
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x466dec
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x20]
mov dword [ebp - 0x134], esp
mov ecx, esp
push eax
call fcn.0041b210
mov byte [ebp - 4], 0xb
jmp 0x413126
call fcn.0043ae83
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x130]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.0043c3b9
add esp, 0xc
cmp esi, dword [ebp - 0x130]
je 0x4133a3
cmp dword [edi], 0x22
je 0x413399
cmp eax, 3
ja case.default.0x412c34
jmp dword [eax*4 + 0x4133b4]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x13c], esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x38]
mov dword [ebp - 0x134], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
call fcn.00409480
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.0040ffe0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x412d2b
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x412ce8
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 - 0x144]
cmp edx, 0x10
jb case.default.0x412c34
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412fcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
jmp 0x412fcf
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x13c], esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x38]
mov dword [ebp - 0x134], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov esi, esp
lea eax, [ebp - 0x114]
mov dword [ebp - 0x138], 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 word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412df0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.0041ba30
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.0040ffe0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x412d2b
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x412ce8
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
jmp 0x412cde
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x13c], esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x38]
mov dword [ebp - 0x134], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
call fcn.00409780
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.0040ffe0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x412d2b
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x412ce8
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
jmp 0x412cde
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x13c], esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0x38]
mov dword [ebp - 0x134], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
call fcn.00409600
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 7
call fcn.0040ffe0
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x412d2b
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x412ce8
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
jmp 0x412cde
push edx
push ecx
call fcn.00420fd3
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x13c], esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.0041b210
mov byte [ebp - 4], 7
call fcn.0040d880
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0x45ce8c
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.0043a099
add esp, 0x38
test eax, eax
je 0x4130bb
push eax
call fcn.0043a127
sub esp, 0x14
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.0041b210
call fcn.004082d0
mov dword [ebp - 0x13c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466e64
call fcn.0041b210
mov ecx, esi
call fcn.00405ca0
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x466dec
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041b210
mov byte [ebp - 4], 0x1c
jmp 0x413126
sub esp, 0x18
mov dword [ebp - 0x13c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x467434
call fcn.0041b210
mov ecx, esi
call fcn.00405ca0
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x134], esp
push 0x466dec
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x50]
mov dword [ebp - 0x140], esp
mov ecx, esp
push eax
call fcn.0041b210
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp + 0x20]
mov dword [ebp - 0x138], esp
mov ecx, esp
push eax
call fcn.0041b210
mov byte [ebp - 4], 0x20
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041b210
mov byte [ebp - 4], 7
call fcn.0040fa40
mov edx, dword [ebp - 0x118]
add esp, 0x78
cmp edx, 0x10
jb 0x41317a
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413170
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x4131c9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4131bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x41320f
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413205
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x413255
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41324b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x41329b
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x4132e1
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4132d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x41332d
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413323
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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 0x41337e
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413374
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ad
push edx
push ecx
call fcn.00420fd3
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.00420961
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041fb49
push str.invalid_stoi_argument
call fcn.0041fb09
call fcn.0043a5da
nop
cmp ebp, dword [ecx + eax*2]
add byte [eax + 45], ch
inc ecx
add byte [edi + 0x2e], ah
inc ecx
add byte [ebx], bl
das
inc ecx
add ah, cl
int3