Function at 0x10053200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4745
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x100f7084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x398], ecx
mov ecx, dword [ebp - 0x398]
call fcn.10050380
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100536a8
call fcn.1003ff40
add eax, 0xc4
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x39c], eax
mov edx, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3a0]
push eax
push 0x100d1c44
call fcn.1003ff40
add eax, 0x94
push eax
lea ecx, [ebp - 0x324]
push ecx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x3a4], eax
mov edx, dword [ebp - 0x3a4]
mov dword [ebp - 0x3dc], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x33c]
push ecx
call fcn.1005e140
mov ecx, eax
call fcn.1005e030
mov dword [ebp - 0x3d8], eax
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3d4]
push eax
push 0x100d1c50
lea ecx, [ebp - 0x354]
push ecx
call fcn.10036200
add esp, 0xc
mov dword [ebp - 0x3d0], eax
mov edx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3cc], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3cc]
push eax
lea ecx, [ebp - 0x36c]
push ecx
call fcn.10035f90
add esp, 0xc
mov dword [ebp - 0x3c8], eax
mov edx, dword [ebp - 0x3c8]
mov dword [ebp - 0x3c4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x3c4]
push eax
lea ecx, [ebp - 0x384]
push ecx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x3bc], eax
mov edx, dword [ebp - 0x3bc]
mov dword [ebp - 0x3f8], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.10035f90
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x384]
call fcn.1000c290
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x36c]
call fcn.1000c290
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x354]
call fcn.1000c290
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x33c]
call fcn.1000c290
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x324]
call fcn.1000c290
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x27c]
call fcn.1000c290
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3fc], esp
push 0x100d1c54
call fcn.10007e50
mov dword [ebp - 0x400], eax
push 0
push 0
lea edx, [ebp - 0x24c]
push edx
push 0
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x385], al
movzx eax, byte [ebp - 0x385]
test eax, eax
je 0x10053425
jmp 0x10053449
mov byte [ebp - 0x386], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1000c290
mov al, byte [ebp - 0x386]
jmp 0x10053895
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10051d10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x1005367f
call fcn.1003ff40
add eax, 0xdc
push eax
lea edx, [ebp - 0x294]
push edx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f0], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3f0]
push ecx
push str.___q
call fcn.1003ff40
add eax, 0xac
push eax
lea edx, [ebp - 0x2ac]
push edx
call fcn.1002f210
add esp, 8
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3ec]
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x3e8]
push ecx
lea edx, [ebp - 0x2c4]
push edx
call fcn.1005e140
mov ecx, eax
call fcn.1005e030
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x3e0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x3e0]
push ecx
push 0x100d1c64
lea edx, [ebp - 0x2dc]
push edx
call fcn.10036200
add esp, 0xc
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3a8]
push ecx
lea edx, [ebp - 0x2f4]
push edx
call fcn.10035f90
add esp, 0xc
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3b0], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3b0]
push ecx
lea edx, [ebp - 0x30c]
push edx
call fcn.1002c190
add esp, 0xc
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x3b4]
mov dword [ebp - 0x3b8], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x3b8]
push ecx
lea edx, [ebp - 0x264]
push edx
call fcn.10035f90
add esp, 0xc
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30c]
call fcn.1000c290
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2f4]
call fcn.1000c290
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2dc]
call fcn.1000c290
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c4]
call fcn.1000c290
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2ac]
call fcn.1000c290
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x294]
call fcn.1000c290
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x404], esp
push 0x100d1c68
call fcn.10007e50
mov dword [ebp - 0x408], eax
push 0
push 0
lea eax, [ebp - 0x264]
push eax
push 0
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x387], al
movzx ecx, byte [ebp - 0x387]
test ecx, ecx
je 0x1005363d
jmp 0x10053670
mov byte [ebp - 0x388], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x264]
call fcn.1000c290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1000c290
mov al, byte [ebp - 0x388]
jmp 0x10053895
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x264]
call fcn.1000c290
mov byte [ebp - 0x389], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.1000c290
mov al, byte [ebp - 0x389]
jmp 0x10053895
lea ecx, [ebp - 0x234]
call fcn.1002d970
mov dword [ebp - 4], 0x1a
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.1009ee30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1005371a
push 0x100d1c6c
lea ecx, [ebp - 0x234]
call fcn.1002e340
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1002e890
push 0x100d1c70
lea ecx, [ebp - 0x234]
call fcn.1002e890
jmp 0x1005373e
mov byte [ebp - 0x38a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000c290
mov al, byte [ebp - 0x38a]
jmp 0x10053895
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40c], esp
push 0x100d1ca4
call fcn.10007e50
mov dword [ebp - 0x410], eax
push 0
push 0
lea edx, [ebp - 0x234]
push edx
push 0
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x38b], al
movzx eax, byte [ebp - 0x38b]
test eax, eax
je 0x10053783
jmp 0x100537a7
mov byte [ebp - 0x38f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000c290
mov al, byte [ebp - 0x38f]
jmp 0x10053895
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10051d10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10053872
mov dword [ebp - 0x394], 0
lea edx, [ebp - 0x394]
push edx
call fcn.100538b0
add esp, 4
test eax, eax
je 0x10053872
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x414], esp
push 0x100d1ccc
call fcn.10007e50
mov dword [ebp - 0x418], eax
push 0
push 0
lea eax, [ebp - 0x234]
push eax
push 0
call fcn.100505f0
add esp, 0x2c
mov byte [ebp - 0x38c], al
movzx ecx, byte [ebp - 0x38c]
test ecx, ecx
je 0x10053827
jmp 0x1005385d
mov edx, dword [ebp - 0x394]
push edx
call fcn.100538f0
add esp, 4
mov dword [ebp - 0x420], eax
mov byte [ebp - 0x38d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000c290
mov al, byte [ebp - 0x38d]
jmp 0x10053895
mov eax, dword [ebp - 0x394]
push eax
call fcn.100538f0
add esp, 4
mov dword [ebp - 0x41c], eax
mov byte [ebp - 0x38e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.1000c290
mov al, byte [ebp - 0x38e]
jmp 0x10053895
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086b0f
mov esp, ebp
pop ebp
ret 4