Function at 0x41fa80
Capabilities:
Check for peb beingdebugged flag
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4a0178
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4c8a00]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebp, ebp
xor eax, eax
mov word [esp + 0x30], ax
mov edi, 7
mov eax, edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41fad0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00414ff0
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x40]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41fafe
call fcn.0046d781
mov eax, dword [esp + 0x30]
mov ebx, 8
cmp dword [esp + 0x44], ebx
jae 0x41fb11
lea eax, [esp + 0x30]
cmp word [eax + esi*2], 0x5c
je 0x41fb25
push 0x5c
push 1
lea ecx, [esp + 0x34]
call fcn.0041fd70
lea ecx, [esp + 0x14]
push ecx
call fcn.0041fe70
xor edx, edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], dx
mov byte [esp + 0x70], 2
mov ecx, dword [esp + 0x40]
xor esi, esi
cmp ecx, ebp
jbe 0x41fbc1
cmp esi, ecx
jbe 0x41fb5a
call fcn.0046d781
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x41fb68
lea eax, [esp + 0x30]
cmp word [eax + esi*2], 0x5c
je 0x41fb98
cmp esi, ecx
jbe 0x41fb78
call fcn.0046d781
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x41fb86
lea eax, [esp + 0x30]
movzx eax, word [eax + esi*2]
push eax
push 1
lea ecx, [esp + 0x50]
call fcn.0041fd70
jmp 0x41fbb8
lea ecx, [esp + 0x48]
push ecx
lea ebx, [esp + 0x18]
call fcn.0041ff20
push 0x5c
push 1
lea ecx, [esp + 0x50]
call fcn.0041fd70
mov ebx, 8
mov ecx, dword [esp + 0x40]
inc esi
cmp esi, ecx
jb 0x41fb5a
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x41fbd0
call fcn.0046d781
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x20], ebx
jbe 0x41fbe3
call fcn.0046d781
test edi, edi
je 0x41fbed
cmp edi, dword [esp + 0x14]
je 0x41fbf2
call fcn.0046d781
cmp esi, ebx
je 0x41fc4c
test edi, edi
jne 0x41fc16
call fcn.0046d781
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41fc0b
call fcn.0046d781
cmp dword [esi + 0x18], 8
jb 0x41fc1a
mov eax, dword [esi + 4]
jmp 0x41fc1d
mov eax, dword [edi]
jmp 0x41fc01
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
test edi, edi
jne 0x41fc48
call fcn.0046d781
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41fc43
call fcn.0046d781
add esi, 0x1c
jmp 0x41fbd4
mov eax, dword [edi]
jmp 0x41fc39
mov ebx, 8
cmp dword [esp + 0x60], ebx
jb 0x41fc64
mov edx, dword [esp + 0x4c]
push edx
call fcn.0044d212
add esp, 4
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
test esi, esi
je 0x41fcca
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x41fcbd
add esi, 0x18
mov edi, edi
cmp dword [esi], ebx
jb 0x41fca0
mov ecx, dword [esi - 0x14]
push ecx
call fcn.0044d212
add esp, 4
xor edx, edx
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], dx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x41fc90
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044d212
add esp, 4
mov edx, dword [esp + 0x14]
xor eax, eax
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.0044d212
add esp, 4
cmp dword [esp + 0x44], ebx
jb 0x41fcf8
mov eax, dword [esp + 0x30]
push eax
call fcn.0044d212
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0046c016
add esp, 0x60
ret