Function at 0x4c9680
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589824
mov eax, dword fs:[0]
push eax
sub esp, 0x6a8
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 2
push 0
push 0x104
lea ecx, [ebp + 8]
call fcn.0041e2d0
push eax
call fcn.00406870
add esp, 0xc
mov dword [ebp - 0x228], eax
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.0041e330
cmp dword [ebp - 0x228], 0
jne 0x4c9709
mov dword [ebp - 0x684], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x684]
jmp 0x4c9ab2
mov eax, dword [0x59afe8]
mov dword [ebp - 0x66c], eax
push 0x204
push 0
lea ecx, [ebp - 0x668]
push ecx
call fcn.005533a0
add esp, 0xc
lea edx, [ebp - 0x66c]
push edx
call fcn.004011a0
add esp, 4
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x670]
call fcn.0041d9b0
mov byte [ebp - 4], 1
push str.data_
lea ecx, [ebp - 0x670]
call fcn.0041db50
push str._skins_
lea ecx, [ebp - 0x670]
push ecx
lea edx, [ebp - 0x678]
push edx
call fcn.0041dfe0
add esp, 0xc
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x670]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea ecx, [ebp - 0x678]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x224]
call fcn.0041d970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
call fcn.0041d970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x460]
call fcn.0041d970
mov byte [ebp - 4], 5
lea eax, [ebp - 0x45c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00406930
add esp, 0xc
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x67c], 0
jmp 0x4c9812
mov eax, dword [ebp - 0x67c]
add eax, 1
mov dword [ebp - 0x67c], eax
mov ecx, dword [ebp - 0x67c]
cmp ecx, dword [ebp - 0x220]
jge 0x4c9a06
lea edx, [ebp - 0x45c]
push edx
mov eax, dword [ebp - 0x67c]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00406930
add esp, 0xc
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00554842
add esp, 8
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x674]
call fcn.0041daf0
lea edx, [ebp - 0x674]
push edx
lea ecx, [ebp - 0x460]
call fcn.0041dad0
push 0
push 0x2f
lea ecx, [ebp - 0x674]
call fcn.0045faa0
mov dword [ebp - 0x680], eax
cmp dword [ebp - 0x680], 0xffffffff
je 0x4c98f5
mov ecx, dword [ebp + 0xc]
call fcn.0041e310
movzx eax, al
test eax, eax
je 0x4c98f5
mov ecx, dword [ebp - 0x680]
push ecx
lea edx, [ebp - 0x688]
push edx
lea ecx, [ebp - 0x460]
call fcn.0041de70
mov dword [ebp - 0x69c], eax
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x6a0], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x6a0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041dad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x688]
call fcn.0041dab0
lea edx, [ebp - 0x674]
push edx
lea eax, [ebp - 0x678]
push eax
lea ecx, [ebp - 0x68c]
push ecx
call fcn.0041df30
add esp, 0xc
mov dword [ebp - 0x6a4], eax
mov edx, dword [ebp - 0x6a4]
mov dword [ebp - 0x6a8], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041dad0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68c]
call fcn.0041dab0
push 0x59b004
push 1
lea ecx, [ebp - 0x694]
push ecx
lea ecx, [ebp - 0x224]
call fcn.0041dde0
mov dword [ebp - 0x6ac], eax
mov edx, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6b0]
call fcn.0041dbd0
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x68d], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x694]
call fcn.0041dab0
movzx eax, byte [ebp - 0x68d]
test eax, eax
je 0x4c99c3
push 0
lea ecx, [ebp - 0x224]
call fcn.0041e1e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4c9803
push 2
push 0x104
push 0x104
lea ecx, [ebp - 0x224]
call fcn.0041e2d0
push eax
mov ecx, dword [ebp - 0x67c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call fcn.00406bd0
add esp, 0x14
push 0x104
lea ecx, [ebp - 0x224]
call fcn.0041e330
jmp 0x4c9803
mov eax, dword [ebp - 0x228]
push eax
call fcn.0040b730
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4c9a33
mov edx, dword [ebp - 0x228]
push edx
call fcn.0040b6d0
add esp, 4
mov dword [ebp - 0x6b4], eax
jmp 0x4c9a48
mov eax, dword [ebp - 0x228]
push eax
call fcn.00406c20
add esp, 4
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 0x698], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x460]
call fcn.0041dab0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
call fcn.0041dab0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.0041dab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x678]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x670]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov eax, dword [ebp - 0x698]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret