Function at 0x41e280
Capabilities:
Contain obfuscated stackstrings
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ee22
mov eax, dword fs:[0]
push eax
sub esp, 0x578
mov eax, dword [0x57a438]
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
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004fecc0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x44c]
call fcn.00426ed0
mov dword [ebp - 4], 0
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x43c], 0x6f0057
mov dword [ebp - 0x438], 0x6b0072
mov dword [ebp - 0x434], 0x610050
mov dword [ebp - 0x430], 0x680074
mov dword [ebp - 0x42c], 0x20003a
mov word [ebp - 0x428], ax
call fcn.00407b40
push eax
push 0xa
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x424]
call fcn.004070e0
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4ec]
call fcn.004093f0
mov byte [ebp - 4], 2
mov eax, 0x55fc20
mov esi, dword [ebp - 0x424]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.00407550
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.00407550
mov eax, dword [edi]
lea ecx, [ebp - 0x4ec]
add esp, 0x10
push ecx
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [ebp - 0x4ec]
call fcn.0040a3e0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e3bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x448]
test esi, esi
je 0x41e3ef
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41e3ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41e3ef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.004fecc0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0051188a
add esp, 8
test eax, eax
je 0x41e572
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x454]
call fcn.00426ed0
mov dword [ebp - 4], 4
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x444], 0x650073
mov dword [ebp - 0x440], 0x200074
mov dword [ebp - 0x43c], 0x6f0057
mov dword [ebp - 0x438], 0x6b0072
mov dword [ebp - 0x434], 0x610050
mov dword [ebp - 0x430], 0x680074
mov dword [ebp - 0x42c], 0x20003a
mov word [ebp - 0x428], ax
call fcn.00407b40
push eax
push 0xe
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x424]
call fcn.004070e0
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x584]
call fcn.004093f0
mov byte [ebp - 4], 6
mov eax, 0x55fc20
mov esi, dword [ebp - 0x424]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00407550
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00407550
mov eax, dword [edi]
lea ecx, [ebp - 0x584]
add esp, 0x10
push ecx
mov ecx, edi
call dword [eax + 0xc]
lea ecx, [ebp - 0x584]
call fcn.0040a3e0
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e543
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 7
mov esi, dword [ebp - 0x450]
test esi, esi
je 0x41e572
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41e572
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41e572
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.004ac694
mov esp, ebp
pop ebp
ret