Function at 0x1003f940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10098806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x90], bl
mov ecx, 0x40
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [esp + 0x28], bl
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
stosw word es:[edi], ax
push ecx
push str.f02uj3wrvsrj_:f__:f_n_z__pry__
stosb byte es:[edi], al
call fcn.1003f570
add esp, 8
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x14]
push 0x1009cb94
push edx
mov dword [esp + 0x1b4], ebx
call fcn.10002d50
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10075088
mov eax, dword [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 1
call fcn.1007511b
test eax, eax
je 0x1003fa25
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1003f8d0
call fcn.1008f98b
lea ecx, [esp + 0x10]
call fcn.10074d99
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push str.f02uj3wrvs_3dclx_n_p_g__
call fcn.1003f570
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x1c]
push 0x1009cb94
push ecx
call fcn.10002d50
mov edx, dword [esp + 0x24]
add esp, 0x18
push ebx
push edx
lea ecx, [esp + 0x18]
call fcn.1007511b
test eax, eax
je 0x1003fa8b
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1003f8e0
call fcn.1008f98b
lea ecx, [esp + 0x10]
call fcn.10074d99
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push str.f02uj3wrvs__n2l:o_rix
call fcn.1003f570
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x1c]
push 0x1009cb94
push eax
call fcn.10002d50
mov ecx, dword [esp + 0x24]
add esp, 0x18
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.1007511b
test eax, eax
je 0x1003faf1
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1003f8f0
call fcn.1008f98b
lea ecx, [esp + 0x10]
call fcn.10074d99
lea edx, [esp + 0x28]
push edx
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x2c]
push str.f02uj3wrvscf_3yn_2z__pry__
rep stosd dword es:[edi], eax
call fcn.1003f570
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x1c]
push 0x1009cb94
push edx
call fcn.10002d50
mov eax, dword [esp + 0x24]
add esp, 0x18
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.1007511b
test eax, eax
je 0x1003fb57
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1003f900
call fcn.1008f98b
lea ecx, [esp + 0x10]
call fcn.10074d99
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push str.f02uj3wrvs_rt.r_xyu_p_g__
call fcn.1003f570
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x1c]
push 0x1009cb94
push ecx
call fcn.10002d50
mov esi, dword [esp + 0x24]
add esp, 0x18
push ebx
push esi
lea ecx, [esp + 0x18]
call fcn.1007511b
test eax, eax
je 0x1003fbbd
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x1003f910
call fcn.1008f98b
lea ecx, [esp + 0x10]
call fcn.10074d99
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], bl
call fcn.100750ac
lea eax, [esi - 0x10]
mov dword [esp + 0x1a4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003fbfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret