Function at 0x49c8f0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5a1038
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
lea edi, [esp + 0x28]
call fcn.00474ab0
lea ebx, [ebp + 0x20]
mov edi, ebx
mov dword [esp + 0x20], 0
call fcn.004035d0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49c95c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x49c989
lea ecx, [eax - 1]
test ecx, ecx
jl 0x49cb95
cmp ecx, eax
jg 0x49cb95
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x49c989
push 0x5c
call fcn.00404400
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
push esi
push str.__u_config.ini
lea edi, [ebp + 0x34]
call fcn.004126f0
push esi
push str.__u_cfgskinpack.dat
lea edi, [ebp + 0x38]
call fcn.004126f0
add esp, 0x10
lea esi, [ebp + 0x1c]
call fcn.00403f60
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x49ca39
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 4
lea eax, [esp + 0x2c]
push eax
call edx
mov edi, esi
mov dword [esp + 0x20], 1
call fcn.004035d0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49ca08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x49ca39
add eax, 0xffffffff
js 0x49cb95
cmp eax, dword [ecx - 0xc]
jg 0x49cb95
movzx eax, word [ecx + eax*2]
cmp ax, 0x5c
je 0x49ca39
mov edx, 0x5bd0e8
mov edi, esi
call fcn.00412930
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
jne 0x49ca4a
mov eax, ebx
mov edi, esi
call fcn.004035d0
lea eax, [esp + 0x28]
push esi
push eax
mov ebx, str.Cfg_SyncTmp_
call fcn.00412480
add esp, 8
mov edi, esi
mov dword [esp + 0x20], 2
call fcn.004035d0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49ca94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push esi
push ecx
mov ebx, str.ExtractCfgFileCfgFile.ini
call fcn.00412480
add esp, 8
lea edi, [ebp + 0x3c]
mov dword [esp + 0x20], 3
call fcn.004035d0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49cadf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push esi
push ecx
mov ebx, str.ExtractSkinPath_
call fcn.00412480
add esp, 8
lea edi, [ebp + 0x40]
mov dword [esp + 0x20], 4
call fcn.004035d0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49cb2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push esi
push ecx
mov ebx, str.ExtractCfgFile_
call fcn.00412480
mov edx, dword [eax]
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
add esp, 8
xor ebx, ebx
push ebx
push edx
push ebx
call esi
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 0x49cb6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
push ebx
push ecx
push ebx
call esi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x70], ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
push 0x80070057
call fcn.00404550
int3