Function at 0x41f990
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537280
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x592174]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x41f9cb
xor al, al
jmp 0x41fcb4
push esi
call fcn.0041f010
add esp, 4
test al, al
je 0x41f9df
mov al, 1
jmp 0x41fcb4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f9e9
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call ebx
test eax, eax
jne 0x41fa82
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.0043d150
test al, al
je 0x41fa31
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41fa72
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fa68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fcd0
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
push esi
call fcn.0041f010
add esp, 4
test al, al
jne 0x41f9d8
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x48], eax
test eax, eax
je 0x41fbfd
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x41faaf
mov eax, dword [esi]
mov edx, 0x2f
cmp dx, word [eax + edi*2]
mov edx, 0x5c
je 0x41fad2
mov eax, esi
cmp ecx, 8
jb 0x41fac8
mov eax, dword [esi]
cmp dx, word [eax + edi*2]
jne 0x41fbf3
push edi
push 0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00418290
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x41fba2
lea eax, [ebp - 0x2c]
push eax
call fcn.0041edb0
add esp, 4
test al, al
jne 0x41fba2
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x41fba2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.0043d150
test al, al
je 0x41fb54
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push eax
call ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41fb92
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fb88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fcd0
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41fbe3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fbd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fcd0
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
inc edi
cmp edi, dword [ebp - 0x48]
jb 0x41faa3
push esi
call fcn.0041edb0
add esp, 4
test al, al
jne 0x41fcab
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fc18
mov eax, dword [esi]
push 0
push eax
call ebx
test eax, eax
jne 0x41fcab
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.0043d150
test al, al
je 0x41fc5e
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41fc9b
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fc91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fcd5
push edx
push ecx
call fcn.0050b342
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x34], eax
push esi
call fcn.0041f010
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050b067
mov esp, ebp
pop ebp
ret
call fcn.0050f749
call fcn.0050f749
int3