Function at 0x411c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
push 1
push str.0123456789
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.0041a7c0
mov byte [ebp - 4], 9
lea eax, [ebp + 0x38]
mov ecx, 1
mov dword [ebp - 0x24], 0
cmp dword [ebp + 0x48], ecx
mov dword [ebp - 0x20], 0xf
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 0x34], 0
call fcn.0041a7c0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
cmp edi, 0x10
mov edx, dword [ebp - 0x24]
push 1
cmovae ecx, esi
push 0x459f54
call fcn.0041b8a0
add esp, 8
mov bl, al
cmp edi, 0x10
jb 0x411d39
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x411d2f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push ecx
push esi
call fcn.0041f5bc
add esp, 8
test bl, bl
je 0x411dcf
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp eax, 1
jb 0x412619
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 - 0x34]
push eax
call fcn.0041a7c0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x38]
call fcn.00419e50
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x411dc0
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411db6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
add esp, 8
push 1
push 0x459ebc
lea ecx, [ebp - 0x68]
call fcn.0041a7c0
call fcn.00439570
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x14]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.0043aaa6
add esp, 0xc
cmp esi, dword [ebp - 0x14]
je 0x41261e
cmp dword [edi], 0x22
je 0x412637
cmp eax, 3
ja case.default.0x411e11
jmp dword [eax*4 + 0x412644]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x38]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x50]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
call fcn.004081e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00410340
add esp, 0x60
lea ecx, [ebp - 0x50]
push eax
call fcn.00419e50
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb case.default.0x411e11
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411fef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
jmp 0x411fef
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x38]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x50]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov esi, esp
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x14], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x19c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411f30
sub ecx, edx
lea eax, [ebp - 0x19c]
push ecx
push eax
mov ecx, esi
call fcn.0041a7c0
jmp 0x411e64
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x50]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
call fcn.00408440
jmp 0x411e64
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x38]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x50]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
call fcn.00408310
jmp 0x411e64
push edx
push ecx
call fcn.0041f5bc
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 9
call fcn.0040b880
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push 0x459f18
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00438786
mov edi, dword [ebp - 0x68]
add esp, 0x38
test eax, eax
je 0x4122dc
push eax
call fcn.00438814
add esp, 4
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x34]
push eax
call fcn.00419ff0
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
push eax
call fcn.004394ec
mov edx, dword [ebp - 0x20]
or ecx, 0xffffffff
add esp, 8
test eax, eax
cmove ecx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], ecx
cmp edx, 0x10
jb 0x4120bc
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4120b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00439570
cmp dword [ebp + 0xc4], 0x10
lea esi, [ebp + 0xb0]
mov ebx, eax
lea eax, [ebp - 0x14]
cmovae esi, dword [ebp + 0xb0]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.0043aaa6
add esp, 0xc
cmp esi, dword [ebp - 0x14]
je 0x41262d
cmp dword [ebx], 0x22
je 0x412637
cmp dword [ebp - 0x1c], eax
jle 0x4122dc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0
push 0x4591bb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.0041a7c0
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 9
call fcn.004069d0
add esp, 0x48
sub esp, 0x18
cmp dword [0x4675e4], 0x2a
mov esi, esp
jne 0x412280
mov dword [ebp - 0x18], esp
sub esp, 0x18
mov ecx, esp
push 0x463e48
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x463dd0
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x50]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 9
call fcn.0040fdb0
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x58]
push 1
cmovae ecx, edi
push 0x459ebc
call fcn.0041b8a0
add esp, 0x80
test al, al
je 0x412355
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x50]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00419ff0
mov ecx, esi
call fcn.00407c10
mov esi, esp
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
push 0x4639b0
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
add esp, 0x18
mov byte [ebp - 4], 9
call fcn.004054b0
add esp, 0x48
jmp 0x412355
mov dword [ebp - 0x38], esp
sub esp, 0x18
mov ecx, esp
push 0x464688
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x463dd0
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp + 0x50]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x21
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 0x22
jmp 0x41233b
sub esp, 0x18
mov dword [ebp - 0x38], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x464490
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x463dd0
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x50]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 0x26
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 9
call fcn.0040fdb0
add esp, 0x78
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x412388
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x41237e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push ecx
push edi
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x4123bc
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4123b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x412402
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4123f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x412448
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41243e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x41248e
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x4124d4
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4124ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x41251a
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412510
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x412566
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41255c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x4125b7
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4125ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
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 0x412608
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4125fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412628
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041a8f0
push str.invalid_stoi_argument
call fcn.0041e2f9
call fcn.00438cc7
push str.invalid_stoi_argument
call fcn.0041e2f9
push str.stoi_argument_out_of_range
call fcn.0041e339
nop dword [eax]
sbb byte [esi], bl
inc ecx
add byte [ebx + 0x4d00411e], dh
pop ds
inc ecx
add byte [esi - 0x33ffbee1], bl
int3