Function at 0x410740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449fea
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.00417f20
mov byte [ebp - 4], 9
cmp byte [0x46646d], 1
jne 0x41083d
sub esp, 0x18
mov dword [ebp - 0x184], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x463628
call fcn.00417860
mov ecx, esi
call fcn.00405b20
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x178], esp
push 0x462dec
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x20]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 0xd
jmp 0x411132
mov ecx, 1
mov dword [ebp - 0x194], 0
cmp dword [ebp + 0x48], ecx
lea eax, [ebp + 0x38]
mov dword [ebp - 0x190], 0xf
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x1a4]
push eax
mov byte [ebp - 0x1a4], 0
call fcn.00417f20
mov edi, dword [ebp - 0x190]
lea ecx, [ebp - 0x1a4]
mov esi, dword [ebp - 0x1a4]
cmp edi, 0x10
mov edx, dword [ebp - 0x194]
push 1
cmovae ecx, esi
push 0x458e04
call fcn.004192d0
add esp, 8
mov byte [ebp - 0x189], al
cmp edi, 0x10
jb 0x4108e5
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4108d5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push ecx
push esi
call fcn.0041d4c4
mov al, byte [ebp - 0x189]
add esp, 8
test al, al
je 0x410996
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
cmp eax, 1
jb 0x411434
dec eax
mov ecx, pe_nt_image_headers32
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 - 0x1a4]
push eax
call fcn.00417f20
mov edx, dword [ebp + 0x4c]
cmp edx, 0x10
jb 0x41096c
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
add esp, 8
movups xmm0, xmmword [ebp - 0x1a4]
push 1
push 0x458d70
movups xmmword [ebp + 0x38], xmm0
lea ecx, [ebp - 0x144]
movq xmm0, qword [ebp - 0x194]
movq qword [ebp + 0x48], xmm0
call fcn.00417f20
call fcn.00437373
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.004388a9
add esp, 0xc
cmp esi, dword [ebp - 0x178]
je 0x411439
cmp dword [edi], 0x22
je 0x411452
cmp eax, 3
ja case.default.0x4109de
jmp dword [eax*4 + 0x41145c]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
call fcn.00408ba0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.0040e930
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x410ad5
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410a92
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 - 0x190]
cmp edx, 0x10
jb case.default.0x4109de
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410d73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
jmp 0x410d73
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov esi, esp
lea eax, [ebp - 0x114]
mov dword [ebp - 0x184], 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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410b94
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.00417f20
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.0040e930
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x410ad5
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410a92
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
jmp 0x410a88
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
call fcn.00408ea0
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.0040e930
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x410ad5
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410a92
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
jmp 0x410a88
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov ecx, esp
call fcn.00408d20
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 9
call fcn.0040e930
mov esi, eax
add esp, 0x60
lea eax, [ebp - 0x12c]
cmp eax, esi
je 0x410ad5
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x410a92
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
jmp 0x410a88
push edx
push ecx
call fcn.0041d4c4
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 9
call fcn.0040c1c0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0x458dcc
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00436589
add esp, 0x38
test eax, eax
je 0x4110c7
push eax
call fcn.00436617
add esp, 4
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1a4]
push eax
call fcn.00417860
cmp dword [ebp - 0x190], 0x10
lea ecx, [ebp - 0x174]
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push ecx
push eax
call fcn.004372ef
mov edx, dword [ebp - 0x190]
or edi, 0xffffffff
add esp, 8
test eax, eax
cmove edi, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x410e5e
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
call fcn.00437373
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.004388a9
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x178]
je 0x411448
mov eax, dword [ebp - 0x184]
cmp dword [eax], 0x22
je 0x411452
cmp edi, ecx
jle 0x4110c7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x188], esp
push 0
push 0x45816b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00417f20
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 9
call fcn.004074a0
add esp, 0x48
sub esp, 0x18
mov dword [ebp - 0x188], esp
mov esi, esp
sub esp, 0x18
cmp dword [0x46852c], 0x2a
mov ecx, esp
jne 0x41106a
push 0x462e64
call fcn.00417860
mov ecx, esi
call fcn.00405b20
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x462dec
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x1e
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 9
call fcn.0040e390
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x134]
cmovae ecx, dword [ebp - 0x144]
push 1
push 0x458d70
call fcn.004192d0
add esp, 0x80
test al, al
je 0x41114c
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x188], esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x17c], esp
lea eax, [ebp - 0x12c]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00417860
mov ecx, esi
call fcn.004087f0
mov esi, esp
mov byte [ebp - 4], 0x22
sub esp, 0x18
mov ecx, esp
push 0x4629b4
call fcn.00417860
mov ecx, esi
call fcn.00405b20
add esp, 0x18
mov byte [ebp - 4], 9
call fcn.00405df0
add esp, 0x48
jmp 0x41114c
push 0x463628
call fcn.00417860
mov ecx, esi
call fcn.00405b20
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x462dec
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 0x26
jmp 0x411132
sub esp, 0x18
mov dword [ebp - 0x188], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x463434
call fcn.00417860
mov ecx, esi
call fcn.00405b20
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x462dec
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x50]
mov dword [ebp - 0x180], esp
mov ecx, esp
push eax
call fcn.00417860
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 0x2a
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00417860
mov byte [ebp - 4], 9
call fcn.0040e390
add esp, 0x78
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x411186
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41117c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4111c0
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4111b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x41120f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411205
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x411255
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41124b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x41129b
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x4112e1
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4112d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x411327
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41131d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x411373
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411369
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x4113c8
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4113be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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 0x411419
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41140f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411443
push edx
push ecx
call fcn.0041d4c4
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.0041ce51
mov esp, ebp
pop ebp
ret
call fcn.00418060
push str.invalid_stoi_argument
call fcn.0041bff9
call fcn.00436aca
push str.invalid_stoi_argument
call fcn.0041bff9
push str.stoi_argument_out_of_range
call fcn.0041c039
in eax, 9
inc ecx
add byte [edx], dl
or eax, dword [ecx]
or ecx, dword [ecx + eax*2]
add byte [edi - 872398580], bh
int3