Function at 0x1009989
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 0x1002bc8
push 6
pop esi
push esi
mov ebx, 0x800000
push ebx
call fcn.0100e994
test byte [0x101f5b4], 2
mov edi, 0x8000000
je 0x1009a45
push 0x1002b9c
push esi
push ebx
call fcn.0100e994
mov eax, dword [0x101fee8]
test eax, eax
je 0x1009a35
push eax
call fcn.0100b401
test eax, eax
je 0x1009a08
push 0x1002b7c
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009a45
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x1002b20
push esi
push edi
jmp 0x1009a40
cmp dword [0x101f598], 0
je 0x1009a28
push 0x1002b00
push esi
push 0x80000
call fcn.0100e994
push 0x1002b20
jmp 0x1009a2d
push 0x1002acc
push esi
push 0x80000
jmp 0x1009a40
push 0x1002aa0
push esi
push 0x200000
call fcn.0100e994
test byte [0x101f5b4], 0x10
je 0x1009ad5
push 0x1002a78
push esi
push ebx
call fcn.0100e994
mov eax, dword [0x101fef0]
test eax, eax
je 0x1009ac5
push eax
call fcn.0100b401
test eax, eax
je 0x1009a9f
push 0x1002a58
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009ad5
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x1002a10
push esi
push edi
jmp 0x1009ad0
push 0x10029ec
push esi
push 0x80000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009ad5
push 0x1002a10
push esi
push 0x80000
jmp 0x1009ad0
push 0x10029c4
push esi
push 0x200000
call fcn.0100e994
test byte [0x101f5b4], 4
je 0x1009b6b
push 0x1002998
push esi
push ebx
call fcn.0100e994
cmp dword [0x101feec], 0
jne 0x1009b5b
call fcn.0100dd7a
test eax, eax
jne 0x1009b2e
push 0x1002978
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009b6b
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x1002920
push esi
push edi
jmp 0x1009b66
cmp dword [0x101f598], 0
je 0x1009b4e
push 0x10028fc
push esi
push 0x80000
call fcn.0100e994
push 0x1002920
jmp 0x1009b53
push 0x10028c8
push esi
push 0x80000
jmp 0x1009b66
push 0x100289c
push esi
push 0x200000
call fcn.0100e994
test byte [0x101f5b5], 2
je 0x1009ca0
push 0x100286c
push esi
push ebx
call fcn.0100e994
push 0x1001afc
call fcn.0100cf33
push 0x1002808
push esi
push ebx
call fcn.0100e994
push 1
push 0x1001afc
push 0x1001b10
call fcn.0100ce6e
test eax, eax
jne 0x1009be2
push 0x10027e0
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009c12
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x1002760
push esi
push edi
call fcn.0100e994
jmp 0x1009c12
push 0x1002730
push esi
push 0x40000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009c0b
push 0x1002760
push esi
push 0x40000
call fcn.0100e994
push 1
call fcn.0100c48c
push 0x10026c8
push esi
push ebx
call fcn.0100e994
push 2
push 0x1001afc
push 0x1001b10
call fcn.0100ce6e
test eax, eax
jne 0x1009c66
push 0x1002678
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009c96
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x1002760
push esi
push edi
call fcn.0100e994
jmp 0x1009c96
push 0x1002630
push esi
push 0x40000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009c8f
push 0x1002760
push esi
push 0x40000
call fcn.0100e994
push 2
call fcn.0100c48c
push 0x12000000
call fcn.0100c48c
test byte [0x101f5b4], 0x80
je 0x1009d25
push 0x1002604
push esi
push ebx
call fcn.0100e994
cmp dword [0x101eca0], 0
je 0x1009d15
cmp dword [0x101ec78], 0
jne 0x1009d15
call fcn.01009209
test eax, eax
je 0x1009cf7
push 0x10025d8
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009d25
push 0x1001504
push esi
push edi
call fcn.0100e994
jmp 0x1009d0c
push 0x10025a8
push esi
push ebx
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009d25
push 0x10017b0
push esi
push edi
jmp 0x1009d20
push 0x1002588
push esi
push 0x200000
call fcn.0100e994
test byte [0x101f5b4], 0x40
je 0x1009e1e
push 0x100255c
push esi
push ebx
call fcn.0100e994
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x1009df5
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push 0x1002534
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
push edi
call fcn.0100e994
lea eax, [ebp - 0x210]
push eax
call fcn.01012022
test eax, eax
jne 0x1009dc0
push 0x1002510
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009e1e
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x10024b8
push esi
push edi
jmp 0x1009e19
cmp dword [0x101f598], 0
je 0x1009dd9
push 0x10024b8
push esi
push 0x40000
call fcn.0100e994
push 0x80000
push 0x1002480
push 0x3ef
push dword [0x102035c]
call fcn.01008a20
jmp 0x1009e1e
push 0x1002450
push esi
push 0x40000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009e1e
push 0x10024b8
push esi
push 0x40000
call fcn.0100e994
test byte [0x101f5b4], 0x20
je 0x1009e99
push 0x1002428
push esi
push ebx
call fcn.0100e994
push dword [0x101ef30]
call fcn.0100cf8f
test eax, eax
jne 0x1009e70
push 0x10023f4
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009e99
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x10023a0
push esi
push edi
jmp 0x1009e94
push 0x1002358
push esi
push 0x40000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x1009e99
push 0x10023a0
push esi
push 0x40000
call fcn.0100e994
test byte [0x101f5b4], 8
je 0x100a035
push 0x1002328
push esi
push ebx
call fcn.0100e994
cmp dword [0x101fec4], 0
je 0x100a029
push 0x1002310
push esi
push edi
call fcn.0100e994
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x100230c
mov dword [ebp - 8], eax
call fcn.010118ab
push dword [ebp - 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 4], 0
je 0x1009ffb
mov eax, dword [ebp - 4]
sub eax, 0x13
je 0x1009fb0
dec eax
dec eax
je 0x1009f7a
sub eax, 0x448
je 0x1009f46
call fcn.0100dece
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x10c]
push 0x10022d4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [0x101f598], 0
je 0x1009f73
push 0x1002278
push esi
push 0x80000
call fcn.0100e994
jmp 0x1009f73
cmp dword [0x101f598], 0
je 0x1009f5f
push 0x1002278
push esi
push 0x80000
call fcn.0100e994
lea eax, [ebp - 0x10c]
push 0x1002234
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push 0x80000
jmp 0x1009fe2
cmp dword [0x101f598], 0
je 0x1009f93
push 0x1002278
push esi
push 0x80000
call fcn.0100e994
lea eax, [ebp - 0x10c]
push 0x10021f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
jmp 0x100a02e
cmp dword [0x101f598], 0
je 0x1009fc9
push 0x1002278
push esi
push 0x80000
call fcn.0100e994
lea eax, [ebp - 0x10c]
push 0x10021b0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
push 0x200000
lea eax, [ebp - 0x10c]
push eax
push 0x3ef
push dword [0x102035c]
call fcn.01008a20
jmp 0x100a035
push 0x1002190
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x100a035
push 0x1001504
push esi
push edi
call fcn.0100e994
push 0x1002278
push esi
push edi
jmp 0x100a030
push 0x1002170
push esi
push ebx
call fcn.0100e994
test byte [0x101f5b5], 1
je 0x100a15b
push 0x1002148
push esi
push ebx
call fcn.0100e994
cmp dword [0x101fef4], 0
je 0x100a0aa
call fcn.010101d2
test eax, eax
jne 0x100a087
push 0x1002128
push esi
push 0x400000
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x100a0ba
push 0x1001504
push esi
push edi
call fcn.0100e994
jmp 0x100a0a1
push 0x1002104
push esi
mov edi, 0x80000
push edi
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x100a0ba
push 0x1002090
push esi
push edi
jmp 0x100a0b5
push 0x1002064
push esi
push 0x200000
call fcn.0100e994
push 0x100203c
push esi
push ebx
call fcn.0100e994
mov edi, 0x101f488
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x100a143
push edi
lea eax, [ebp - 0x10c]
push 0x100202c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
push ebx
call fcn.0100e994
push edi
call fcn.010123c1
test eax, eax
je 0x100a136
push eax
lea eax, [ebp - 0x10c]
push 0x100200c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x80000
push 0x1001fd4
push 0x3ef
push dword [0x102035c]
call fcn.01008a20
jmp 0x100a14f
push 0x1001fb8
push esi
push 0x400000
jmp 0x100a14a
push 0x1001f90
push esi
push ebx
call fcn.0100e994
push 0x1001f58
push esi
push ebx
call fcn.0100e994
pop edi
pop esi
pop ebx
leave
ret