Function at 0x47f250
Capabilities:
Create directory
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3838
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4c74e8]
mov ecx, eax
shr ecx, 1
shr eax, 2
and cl, 1
and al, 1
xor ebx, ebx
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], al
cmp cl, bl
jne 0x47f2a8
cmp al, bl
je 0x47f543
mov byte [esp + 0x20], bl
mov edx, dword [esp + 0x20]
push edx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.0041c7c0
mov dword [esp + 0x90], ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x4cfcc4]
mov dword [esp + 0x20], ebx
push str.Files
lea ebx, [esp + 0x24]
mov edx, str.File_Setup_PlusNetwork
call fcn.0041df40
test al, al
je 0x47f504
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x47f504
lea ecx, [esp + 0x18]
push ecx
call fcn.0041bb70
mov byte [esp + 0x90], 1
mov edx, dword [0x4d0184]
push edx
push str._sSettings
lea edi, [esp + 0x20]
call fcn.00417b50
mov eax, dword [esp + 0x20]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041bb70
mov byte [esp + 0x90], 2
mov edx, dword [esp + 0x18]
push edx
push str._sPlusFiles.dat
lea edi, [esp + 0x24]
call fcn.00417b50
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push ebx
push eax
call fcn.00417c70
add esp, 0x10
test al, al
je 0x47f4a9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, 0x4a999c
call fcn.0041c940
add esp, 4
test al, al
je 0x47f4a9
lea edx, [esp + 0x14]
push edx
call fcn.0041bb70
mov byte [esp + 0x90], 3
mov eax, dword [esp + 0x18]
push eax
push str.__sSettings.exe_
lea edi, [esp + 0x1c]
call fcn.00417b50
add esp, 8
cmp byte [esp + 0x12], 0
je 0x47f3ca
mov edx, str._HP
mov eax, edi
call fcn.00418fa0
cmp byte [esp + 0x13], 0
je 0x47f3df
mov edx, str._SP
lea eax, [esp + 0x14]
call fcn.00418fa0
push 0x44
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.0048a470
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x3c], 0x44
cmp dword [eax - 4], 1
jle 0x47f426
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00416ed0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47f46d
mov eax, dword [esp + 0x2c]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x2c]
push edx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x47f69b
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x47f69b
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [esp + 0x14]
call fcn.0043ec30
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x90], 1
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 0x47f4dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x28]
test edi, edi
je 0x47f541
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x47f541
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47f541
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
xor ebx, ebx
cmp dword [0x4c74f4], 1
jne 0x47f726
lea ecx, [esp + 0x18]
push ecx
call fcn.0041bb70
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x94], 4
call fcn.0041bb70
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x94], 5
call fcn.0041bb70
mov byte [esp + 0x90], 6
mov ecx, dword [0x4d0198]
push ecx
push str._sBrowserCompanion.exe
lea edi, [esp + 0x24]
call fcn.00417b50
mov ecx, dword [esp + 0x24]
mov edx, dword [esi]
mov edx, dword [edx + 0x58]
add esp, 8
push ebx
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call edx
cmp al, bl
je 0x47f6a5
mov eax, dword [esp + 0x1c]
inc dword [0x4cfcfc]
push eax
push 0x4ae144
lea edi, [esp + 0x1c]
call fcn.00417b50
mov edi, dword [esi + 0x3c8]
add esp, 8
cmp edi, ebx
je 0x47f5e8
call fcn.004849c0
push 0x44
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.0048a470
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x3c], 0x44
cmp dword [eax - 4], 1
jle 0x47f62e
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00416ed0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x47f66e
mov eax, dword [esp + 0x2c]
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004883c5
add esp, 8
cmp eax, ebx
jl 0x47f69b
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x47f69b
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
jmp 0x47f6ab
push 0x80070057
call fcn.004170a0
mov dword [0x4c74f4], ebx
mov byte [esp + 0x90], 5
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 0x47f6d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f6fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret