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

Disassembly:
push 0xffffffffffffffff
push 0x490278
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4b5a50]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5a50]
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 0x420150
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00411830
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x40]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x42017e
call fcn.0045e341
mov eax, dword [esp + 0x30]
mov ebx, 8
cmp dword [esp + 0x44], ebx
jae 0x420191
lea eax, [esp + 0x30]
cmp word [eax + esi*2], 0x5c
je 0x4201a5
push 0x5c
push 1
lea ecx, [esp + 0x34]
call fcn.004203f0
lea ecx, [esp + 0x14]
push ecx
call fcn.004204e0
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 0x420241
cmp esi, ecx
jbe 0x4201da
call fcn.0045e341
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x4201e8
lea eax, [esp + 0x30]
cmp word [eax + esi*2], 0x5c
je 0x420218
cmp esi, ecx
jbe 0x4201f8
call fcn.0045e341
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x420206
lea eax, [esp + 0x30]
movzx eax, word [eax + esi*2]
push eax
push 1
lea ecx, [esp + 0x50]
call fcn.004203f0
jmp 0x420238
lea ecx, [esp + 0x48]
push ecx
lea ebx, [esp + 0x18]
call fcn.00420590
push 0x5c
push 1
lea ecx, [esp + 0x50]
call fcn.004203f0
mov ebx, 8
mov ecx, dword [esp + 0x40]
inc esi
cmp esi, ecx
jb 0x4201da
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x420250
call fcn.0045e341
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x20], ebx
jbe 0x420263
call fcn.0045e341
test edi, edi
je 0x42026d
cmp edi, dword [esp + 0x14]
je 0x420272
call fcn.0045e341
cmp esi, ebx
je 0x4202cc
test edi, edi
jne 0x420296
call fcn.0045e341
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x42028b
call fcn.0045e341
cmp dword [esi + 0x18], 8
jb 0x42029a
mov eax, dword [esi + 4]
jmp 0x42029d
mov eax, dword [edi]
jmp 0x420281
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 0x4202c8
call fcn.0045e341
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4202c3
call fcn.0045e341
add esi, 0x1c
jmp 0x420254
mov eax, dword [edi]
jmp 0x4202b9
mov ebx, 8
cmp dword [esp + 0x60], ebx
jb 0x4202e4
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043e229
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 0x42034a
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x42033d
add esi, 0x18
mov edi, edi
cmp dword [esi], ebx
jb 0x420320
mov ecx, dword [esi - 0x14]
push ecx
call fcn.0043e229
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 0x420310
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043e229
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.0043e229
add esp, 4
cmp dword [esp + 0x44], ebx
jb 0x420378
mov eax, dword [esp + 0x30]
push eax
call fcn.0043e229
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.0045ceb0
add esp, 0x60
ret