Function at 0x475050
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x586fe4
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x13c]
sub esp, 0x130
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, 1
je 0x4750af
lea edi, [eax + 0x5168]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
jmp 0x47510e
push 0x104
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5fe7d8
call fcn.0056877a
lea eax, [esp + 0x24]
push eax
call fcn.00441aa0
add esp, 8
mov ecx, eax
mov dword [esp + 0x14c], 0
call fcn.0040d0c0
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0043a0b0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x148], 0xffffffff
call fcn.0056870c
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x44]
push edx
call fcn.0056877a
call fcn.004416c0
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x3b], 0x5c
jne 0x475147
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x3b], al
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
call fcn.0056877a
push 0x5e7ad0
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x154], ebp
call fcn.005689a1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 3
call fcn.0056870c
lea ecx, [esp + 0x20]
call fcn.00548510
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 4
call fcn.005485d3
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4751c2
lea ecx, [esp + 0x20]
call fcn.005487f3
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x38]
test eax, eax
jne 0x4751cd
mov ecx, dword [esp + 0x10]
push 0
push ecx
call esi
mov ebp, eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x18]
push edx
call fcn.0056877a
push 0x5ecc54
push eax
lea eax, [esp + 0x1c]
mov bl, 5
push eax
mov byte [esp + 0x154], bl
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 6
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], bl
call fcn.0056870c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 4
call fcn.0056870c
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x28]
call fcn.005485d3
test eax, eax
je 0x475255
lea ecx, [esp + 0x20]
call fcn.005487f3
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x38]
test eax, eax
jne 0x475260
mov eax, dword [esp + 0x10]
push 0
push eax
call esi
and ebp, eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056877a
push 0x5ecc44
lea edx, [esp + 0x1c]
mov bl, 7
push eax
push edx
mov byte [esp + 0x154], bl
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 8
call fcn.00568845
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 4
call fcn.0056870c
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.005485d3
test eax, eax
je 0x4752e8
lea ecx, [esp + 0x20]
call fcn.005487f3
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x38]
test eax, eax
jne 0x4752f3
mov eax, dword [esp + 0x10]
push 0
push eax
call esi
and ebp, eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056877a
push 0x5ecc34
lea edx, [esp + 0x1c]
mov bl, 9
push eax
push edx
mov byte [esp + 0x154], bl
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0xa
call fcn.00568845
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 4
call fcn.0056870c
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.005485d3
test eax, eax
je 0x47537b
lea ecx, [esp + 0x20]
call fcn.005487f3
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x38]
test eax, eax
jne 0x475386
mov eax, dword [esp + 0x10]
push 0
push eax
call esi
and ebp, eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056877a
push 0x5ecc20
lea edx, [esp + 0x1c]
mov bl, 0xb
push eax
push edx
mov byte [esp + 0x154], bl
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 0xc
call fcn.00568845
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], bl
call fcn.0056870c
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 4
call fcn.0056870c
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.005485d3
test eax, eax
je 0x47540e
lea ecx, [esp + 0x20]
call fcn.005487f3
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x38]
test eax, eax
jne 0x475419
mov eax, dword [esp + 0x10]
push 0
push eax
call esi
and ebp, eax
lea ecx, [esp + 0x20]
call fcn.00548589
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 3
call fcn.0054854d
lea ecx, [esp + 0x10]
mov dword [esp + 0x148], 0xffffffff
call fcn.0056870c
mov ecx, dword [esp + 0x140]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret