Function at 0x41eb70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57886c
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x3b4], eax
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x3c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3d8]
push 0x104
lea eax, [esp + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x24]
call fcn.005158f6
lea ecx, [esp + 0x1bc]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x3d4], 0
call fcn.00402a30
push 0xd
push str.iosubsys.
lea ecx, [esp + 0x18]
mov byte [esp + 0x3d8], 1
call fcn.004086f0
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x2c]
call fcn.00515982
test eax, eax
mov dword [ebp], 0
je 0x41eebb
lea ecx, [esp + 0x24]
call fcn.00515585
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.005158bd
test eax, eax
jne 0x41eeb0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x38]
push 0x10
lea ecx, [esp + 0x28]
call edx
test eax, eax
jne 0x41eeb0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.00515b21
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c0]
mov byte [esp + 0x3d0], 2
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41ec78
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041e830
mov edi, dword [esp + 0x14]
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x3d0], 3
jge 0x41ecc2
push esi
lea ecx, [esp + 0x18]
call fcn.00401b20
mov edi, dword [esp + 0x14]
lea edx, [esi + 1]
push edx
push edi
call fcn.00541ffb
push eax
call fcn.004015a0
add esp, 0xc
test esi, esi
jl 0x41ef27
cmp esi, dword [edi - 8]
jg 0x41ef27
push str..vxd
mov dword [edi - 0xc], esi
push edi
mov byte [esi + edi], 0
call fcn.0053fceb
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41ed4d
push str..mpd
push edi
call fcn.0053fceb
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41ed4d
push str..pdr
push edi
call fcn.0053fceb
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41ed4d
push str..dll
push edi
call fcn.0053fceb
add esp, 8
test eax, eax
sete al
test al, al
je 0x41ee64
cmp dword [ebp], 0x800
jge 0x41ee64
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x144]
push edx
lea eax, [esp + 0x2cc]
push eax
call fcn.0042a300
add esp, 0x10
test al, al
je 0x41ee34
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00515aad
mov edx, dword [ebp]
mov ecx, dword [eax]
shl edx, 9
lea edx, [edx + ebp + 4]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x41eda1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41edcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp]
shl edx, 9
lea ecx, [esp + 0xbc]
lea edx, [edx + ebp + 0x84]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x41ede3
mov eax, dword [ebp]
shl eax, 9
lea ecx, [esp + 0x13c]
lea edx, [eax + ebp + 0x104]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x41ee05
mov edx, dword [ebp]
shl edx, 9
lea ecx, [esp + 0x3c]
lea edx, [edx + ebp + 0x184]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x41ee24
jmp 0x41ee60
mov ecx, dword [ebp]
shl ecx, 9
mov eax, 0x612f6e
mov dword [ecx + ebp + 0x84], eax
mov edx, dword [ebp]
shl edx, 9
mov dword [edx + ebp + 0x104], eax
mov ecx, dword [ebp]
shl ecx, 9
mov dword [ecx + ebp + 0x184], eax
add dword [ebp], 1
lea eax, [edi - 0x10]
mov byte [esp + 0x3d0], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ee88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3d0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eeb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
jne 0x41ec20
lea ecx, [esp + 0x24]
call fcn.005154b5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3d0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eeec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x3d0], 0xffffffff
call fcn.0051591a
mov ecx, dword [esp + 0x3c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x3b4]
xor ecx, esp
call fcn.0053fab2
add esp, 0x3c4
ret
push 0x80070057
call fcn.00401010
int3