Function at 0x410e30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x46600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
cmp dword [ebx + 0x10], 0
jne 0x410e6d
xor al, al
jmp 0x411293
call fcn.0040f220
test al, al
je 0x410e7d
mov al, 1
jmp 0x411293
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x410e87
mov eax, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call esi
test eax, eax
jne 0x410f20
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.004197a0
test al, al
je 0x410ecf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410f10
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410f06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112af
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov ecx, ebx
call fcn.0040f220
test al, al
jne 0x410e76
mov eax, dword [ebx + 0x10]
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], edx
test eax, eax
je 0x4111e0
mov ecx, dword [ebx + 0x14]
mov eax, ebx
cmp ecx, 8
jb 0x410f4e
mov eax, dword [ebx]
mov edi, 0x2f
cmp di, word [eax + edx*2]
mov edi, 0x5c
je 0x410f71
mov eax, ebx
cmp ecx, 8
jb 0x410f67
mov eax, dword [ebx]
cmp di, word [eax + edx*2]
jne 0x4111d3
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebx + 0x10], edx
mov edi, edx
mov dword [ebp - 0x14], 0
cmovb edi, dword [ebx + 0x10]
mov word [ebp - 0x28], ax
mov eax, ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x48], ebx
cmp ecx, 8
jb 0x410fab
mov eax, dword [ebx]
mov dword [ebp - 0x48], eax
cmp edi, 7
ja 0x410fd0
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043c190
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
jmp 0x411073
cmp edi, 0x7ffffffe
ja 0x4112b9
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x410ff0
mov esi, 0x7ffffffe
jmp 0x410ffb
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x41100d
or ecx, 0xffffffff
jmp 0x411015
cmp ecx, 0x1000
jb 0x41103e
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0043b1a7
add esp, 4
test eax, eax
je 0x4112af
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x411051
test ecx, ecx
je 0x41104f
push ecx
call fcn.0043b1a7
add esp, 4
mov ebx, eax
jmp 0x411051
xor ebx, ebx
mov dword [ebp - 0x14], esi
lea esi, [edi + edi]
push esi
push dword [ebp - 0x48]
mov dword [ebp - 0x18], edi
push ebx
call fcn.0043c710
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x4110cc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4110c1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4110b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112af
push edx
push ecx
call fcn.0043b1d7
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4111c0
lea ecx, [ebp - 0x28]
call fcn.0040efc0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test al, al
jne 0x41117f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x41117f
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004197a0
test al, al
je 0x411131
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call esi
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41116f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411165
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112af
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4111c0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4111b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112af
push edx
push ecx
call fcn.0043b1d7
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
inc edx
mov dword [ebp - 0x44], edx
cmp edx, dword [ebp - 0x50]
jb 0x410f42
mov ecx, ebx
call fcn.0040efc0
test al, al
jne 0x41128c
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4111f9
mov eax, dword [ebx]
push 0
push eax
call esi
test eax, eax
jne 0x41128c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x40]
mov ecx, ebx
call fcn.004197a0
test al, al
je 0x41123f
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x41127c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112b4
push edx
push ecx
call fcn.0043b1d7
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov ecx, ebx
call fcn.0040f220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043af96
mov esp, ebp
pop ebp
ret
call fcn.0043f174
call fcn.0043f174
call fcn.00402330
int3