Function at 0x414ba5
Capabilities:
Create directory

Disassembly:
push 0x18
mov eax, 0x4397f9
call fcn.0041eedc
mov edi, ecx
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x24], edi
lea eax, [eax + edx*2]
mov dword [ebp - 0x20], eax
xor eax, eax
mov word [ebp - 0x1c], ax
and dword [ebp - 4], eax
mov eax, dword [edi]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ebx, 0x80010103
call fcn.00414b25
mov esi, eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x414cd4
cmp esi, 0x80010102
je 0x414c02
cmp esi, ebx
je 0x414c02
test esi, esi
js 0x414db7
jmp 0x414c08
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov ebx, dword [eax]
mov ecx, ebx
call fcn.0041013a
mov edx, eax
mov ecx, edx
sub ecx, ebx
sar ecx, 1
cmp ecx, 1
jbe 0x414c42
lea eax, [edx - 2]
mov cx, word [eax]
mov dword [ebp - 0x10], eax
call fcn.004148f8
test al, al
je 0x414c42
push 0x3a
pop eax
cmp ax, word [edx - 4]
je 0x414c42
mov edx, dword [ebp - 0x10]
cmp ebx, edx
je 0x414c68
mov eax, ebx
mov dword [ebp - 0x10], eax
cmp ebx, dword [ebp - 0x20]
je 0x414c6d
mov ax, word [eax]
mov ecx, ebx
add dword [ebp - 0x10], 2
add ebx, 2
cmp ax, word [ecx]
jne 0x414c6d
mov eax, dword [ebp - 0x10]
cmp eax, edx
jne 0x414c4b
cmp ebx, dword [ebp - 0x20]
je 0x414cca
push edx
lea ecx, [ebp - 0x24]
call fcn.004148c1
cmp esi, 1
jne 0x414c89
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp dword [ecx], eax
jne 0x414bca
lea ecx, [ebp - 0x24]
call fcn.00414b77
mov edx, dword [edi + 4]
mov ebx, eax
mov eax, dword [edi]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x10], ecx
cmp ebx, ecx
je 0x414d31
mov esi, dword [edi]
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov cx, word [ebx]
call fcn.004148f8
test al, al
je 0x414d2b
mov edx, dword [edi + 4]
add ebx, 2
mov ecx, esi
mov eax, esi
cmp ebx, dword [ebp - 0x10]
jne 0x414caa
jmp 0x414d2e
mov ebx, 0x80010103
jmp 0x414db9
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call fcn.00414b4e
test eax, eax
je 0x414c89
mov eax, dword [edi]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00414b25
test eax, eax
jne 0x414d21
mov eax, dword [ebp - 0x10]
shr eax, 0xa
test al, 1
je 0x414d12
test byte [ebp - 0x10], 0x10
je 0x414d12
xor eax, eax
jmp 0x414d15
xor eax, eax
inc eax
test eax, eax
jne 0x414d21
mov dword [ebp - 0x14], esi
jmp 0x414c89
mov esi, 0x80010109
jmp 0x414db7
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
lea edx, [eax + edx*2]
mov ecx, ebx
call fcn.0041490e
push eax
lea ecx, [ebp - 0x24]
call fcn.004148c1
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.00414b4e
test eax, eax
je 0x414d97
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x414d67
xor esi, esi
jmp 0x414d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0041492a
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0x80010105
jne 0x414d97
mov ecx, dword [edi]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
call fcn.00414b4e
neg eax
sbb eax, eax
and esi, eax
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x24]
call fcn.00414b77
mov edx, dword [edi + 4]
mov ebx, eax
mov ecx, dword [edi]
lea eax, [ecx + edx*2]
cmp ebx, eax
je 0x414db7
mov eax, ecx
test esi, esi
jns 0x414c98
mov ebx, esi
lea ecx, [ebp - 0x24]
call fcn.00414b77
mov eax, ebx
call fcn.0041eeaa
ret