Function at 0x2d17a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30b76e
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
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.002d8cf0
mov byte [ebp - 4], 9
lea eax, [ebp + 0x38]
mov ecx, 1
mov dword [ebp - 0x18c], 0
cmp dword [ebp + 0x48], ecx
mov dword [ebp - 0x188], 0xf
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x19c]
push eax
mov byte [ebp - 0x19c], 0
call fcn.002d8cf0
mov edi, dword [ebp - 0x188]
lea ecx, [ebp - 0x19c]
mov esi, dword [ebp - 0x19c]
cmp edi, 0x10
mov edx, dword [ebp - 0x18c]
push 1
cmovae ecx, esi
push 0x319e14
call fcn.002da0a0
add esp, 8
mov bl, al
cmp edi, 0x10
jb 0x2d18c3
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x2d18b9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push ecx
push esi
call fcn.002de298
add esp, 8
test bl, bl
je 0x2d1971
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
cmp eax, 1
jb 0x2d228c
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 - 0x19c]
push eax
call fcn.002d8cf0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp + 0x38]
call fcn.002d8410
mov edx, dword [ebp - 0x188]
cmp edx, 0x10
jb 0x2d195f
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d1955
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
add esp, 8
push 1
push 0x319d7c
lea ecx, [ebp - 0x144]
call fcn.002d8cf0
call fcn.002f8143
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.002f9679
add esp, 0xc
cmp esi, dword [ebp - 0x178]
je 0x2d2291
cmp dword [edi], 0x22
je 0x2d22aa
cmp eax, 3
ja case.default.0x2d19b9
jmp dword [eax*4 + 0x2d22b4]
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x184], esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x38]
mov dword [ebp - 0x178], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x50]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
call fcn.002c90d0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 9
call fcn.002cf880
add esp, 0x60
lea ecx, [ebp - 0x12c]
push eax
call fcn.002d8410
mov edx, dword [ebp - 0x188]
cmp edx, 0x10
jb case.default.0x2d19b9
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d1bc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
jmp 0x2d1bc3
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov esi, esp
lea eax, [ebp - 0x114]
mov dword [ebp - 0x178], esi
push eax
push 0x104
call dword [0x311090]
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 0x2d1af2
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.002d8cf0
jmp 0x2d1a15
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
call fcn.002c93d0
jmp 0x2d1a15
sub esp, 0x18
lea eax, [ebp + 0x98]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x38]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x14
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
call fcn.002c9250
jmp 0x2d1a15
push edx
push ecx
call fcn.002de298
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x180], esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.002d84d0
mov byte [ebp - 4], 9
call fcn.002cd250
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0x319dd8
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.002f7359
mov edi, dword [ebp - 0x144]
add esp, 0x38
test eax, eax
je 0x2d1f22
push eax
call fcn.002f73e7
add esp, 4
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x19c]
push eax
call fcn.002d84d0
cmp dword [ebp - 0x188], 0x10
lea ecx, [ebp - 0x174]
lea eax, [ebp - 0x19c]
cmovae eax, dword [ebp - 0x19c]
push ecx
push eax
call fcn.002f80bf
mov edx, dword [ebp - 0x188]
or ecx, 0xffffffff
add esp, 8
test eax, eax
cmove ecx, dword [ebp - 0x160]
mov dword [ebp - 0x184], ecx
cmp edx, 0x10
jb 0x2d1cba
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d1cb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
add esp, 8
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
call fcn.002f8143
cmp dword [ebp + 0xc4], 0x10
lea esi, [ebp + 0xb0]
mov ebx, eax
lea eax, [ebp - 0x178]
cmovae esi, dword [ebp + 0xb0]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.002f9679
add esp, 0xc
cmp esi, dword [ebp - 0x178]
je 0x2d22a0
cmp dword [ebx], 0x22
je 0x2d22aa
cmp dword [ebp - 0x184], eax
jle 0x2d1f22
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0
push 0x31919b
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.002d8cf0
sub esp, 0x18
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
push eax
call fcn.002d84d0
mov byte [ebp - 4], 9
call fcn.002c79e0
add esp, 0x48
sub esp, 0x18
cmp dword [0x328494], 0x2a
mov esi, esp
jne 0x2d1eba
mov dword [ebp - 0x180], esp
sub esp, 0x18
mov ecx, esp
push 0x324e18
call fcn.002d84d0
mov ecx, esi
call fcn.002c5ec0
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x17c], esp
push 0x324da0
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 0x50]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x178], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.002d84d0
mov byte [ebp - 4], 9
call fcn.002cf2e0
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x134]
push 1
cmovae ecx, edi
push 0x319d7c
call fcn.002da0a0
add esp, 0x80
test al, al
je 0x2d1fa7
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x1a0], esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x180], esp
lea eax, [ebp - 0x12c]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.002d84d0
mov ecx, esi
call fcn.002c8d20
mov esi, esp
mov byte [ebp - 4], 0x1e
sub esp, 0x18
mov ecx, esp
push 0x3249b0
call fcn.002d84d0
mov ecx, esi
call fcn.002c5ec0
add esp, 0x18
mov byte [ebp - 4], 9
call fcn.002c61a0
add esp, 0x48
jmp 0x2d1fa7
mov dword [ebp - 0x1a0], esp
sub esp, 0x18
mov ecx, esp
push 0x325550
call fcn.002d84d0
mov ecx, esi
call fcn.002c5ec0
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x324da0
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x20
lea eax, [ebp + 0x50]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x21
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.002d84d0
mov byte [ebp - 4], 0x22
jmp 0x2d1f8d
sub esp, 0x18
mov dword [ebp - 0x1a0], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x3253b8
call fcn.002d84d0
mov ecx, esi
call fcn.002c5ec0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x324da0
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x50]
mov dword [ebp - 0x17c], esp
mov ecx, esp
push eax
call fcn.002d84d0
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x184], esp
mov ecx, esp
push eax
call fcn.002d84d0
mov byte [ebp - 4], 0x26
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.002d84d0
mov byte [ebp - 4], 9
call fcn.002cf2e0
add esp, 0x78
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x2d1fdd
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x2d1fd3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push ecx
push edi
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x2d2017
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d200d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d2066
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d205c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d20ac
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d20a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d20f2
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d20e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d2138
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d212e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d217e
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d2174
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d21ca
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d21c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d221f
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d2215
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
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 0x2d2270
mov ecx, dword [ebp + 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2d2266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d229b
push edx
push ecx
call fcn.002de298
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002d8e30
push str.invalid_stoi_argument
call fcn.002dcdc9
call fcn.002f789a
push str.invalid_stoi_argument
call fcn.002dcdc9
push str.stoi_argument_out_of_range
call fcn.002dce09
rcr byte [ecx], 0x2d
add byte [eax + 26], dh
sub eax, 0x2d1b0f00
add byte [ecx + 0x1b], ch
sub eax, 0xcccccc00
int3