Function at 0x414af0
Capabilities:
Create directory

Disassembly:
sub esp, 0x210
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x188]
push edi
test eax, eax
mov dword [esp + 0x14], ebx
je 0x414b94
mov edi, dword [ebx + 0x1f8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x414b58
cmp byte [esp + ecx + 0x17], 0x5c
je 0x414b58
mov byte [esp + ecx + 0x18], 0x5c
mov byte [esp + ecx + 0x19], 0
mov edi, dword [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x224]
mov ebx, dword [ebx + 0x54]
push ecx
mov ecx, ebx
call fcn.0042d660
mov ebp, eax
test ebp, ebp
je 0x414c58
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x414c58
mov edx, dword [ebp + 4]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x414c48
mov eax, dword [esp + 0x14]
push esi
mov edx, dword [eax + 0x194]
lea ecx, [eax + 0x18c]
push edx
call fcn.0042dda8
mov eax, dword [esi + 0x24]
test eax, eax
je 0x414bf2
push eax
call fcn.0043235b
add esp, 4
mov eax, dword [esp + 0x228]
cmp byte [eax], 0
je 0x414c41
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00432332
mov edi, dword [esp + 0x22c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esi + 0x24], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov edi, dword [esp + 0x10]
jmp 0x414c48
mov dword [esi + 0x24], 0
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x414bc1
mov ecx, dword [esp + 0x224]
mov edx, dword [ebx + 0x1c]
push ecx
push 4
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
je 0x414d49
mov edi, dword [esp + 0x228]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
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]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0042d5c0
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004325f1
mov edi, 0x46c8c0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x11c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00414af0
mov ecx, dword [ebx + 0x1c]
push ebp
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
jne 0x414c7b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 8