Function at 0x42e0d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [0x5599f4]
lea ecx, [ebp - 0x28]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004103c0
xor ebx, ebx
nop dword [eax]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
cmp eax, dword [ebp + 0xc]
je 0x42e15b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], 7
jbe 0x42e11d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp esi, 7
jbe 0x42e140
sub esp, 0xc
movzx ecx, byte [ebp - 0x58]
mov byte [esp + 4], cl
lea ecx, [ebp - 0x40]
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.00401822
jmp 0x42e15b
lea ecx, [esi + esi]
mov dword [ebp - 0x30], esi
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004d75c0
add esp, 0xc
mov word [ebp + esi*2 - 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
lea eax, [ebp - 0x58]
mov esi, eax
push esi
call fcn.0041c7c0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 7
mov ecx, esi
jbe 0x42e17d
mov ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, edi
sub esi, edx
cmp esi, eax
jae 0x42e1b0
sub esp, 0x10
movzx edx, byte [ebp - 0x5c]
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x40]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.00403110
jmp 0x42e1d7
lea esi, [edx + eax]
cmp edi, 7
lea edi, [ebp - 0x40]
mov dword [ebp - 0x30], esi
jbe 0x42e1c1
mov edi, dword [ebp - 0x40]
add eax, eax
lea edx, [edi + edx*2]
push eax
push ecx
push edx
call fcn.004d75c0
add esp, 0xc
mov word [edi + esi*2], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x42e21f
inc ecx
js 0x42e40a
mov eax, dword [ebp - 0x58]
add ecx, ecx
cmp ecx, 0x1000
jb 0x42e216
test al, 0x1f
jne 0x42e40a
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x42e40a
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x42e40a
push eax
call fcn.004d4c09
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jae 0x42e250
lea edx, [eax + 1]
cmp ecx, 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], edx
jbe 0x42e23a
mov ecx, dword [ebp - 0x40]
mov word [ecx + eax*2], 0x5f
mov word [ecx + eax*2 + 2], 0
jmp 0x42e272
sub esp, 0xc
movzx eax, byte [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], 0x5f
mov dword [esp], 1
call fcn.0040ef80
push 0x7fff
push 0
call fcn.00450580
add esp, 8
push eax
lea eax, [ebp - 0x58]
mov esi, eax
push esi
call fcn.0041c7c0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 7
mov ecx, esi
jbe 0x42e29e
mov ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, edi
sub esi, edx
cmp esi, eax
jae 0x42e2d0
sub esp, 0x10
movzx edx, byte [ebp - 0x5c]
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x40]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.00403110
jmp 0x42e2f7
lea esi, [edx + eax]
cmp edi, 7
lea edi, [ebp - 0x40]
mov dword [ebp - 0x30], esi
jbe 0x42e2e1
mov edi, dword [ebp - 0x40]
add eax, eax
lea edx, [edi + edx*2]
push eax
push ecx
push edx
call fcn.004d75c0
add esp, 0xc
mov word [edi + esi*2], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x42e33f
inc ecx
js 0x42e40a
mov eax, dword [ebp - 0x58]
add ecx, ecx
cmp ecx, 0x1000
jb 0x42e336
test al, 0x1f
jne 0x42e40a
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x42e40a
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x42e40a
push eax
call fcn.004d4c09
add esp, 4
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
jbe 0x42e34e
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
push eax
push edx
lea edi, [ebp - 0x58]
push edi
call fcn.00411430
lea esi, [ebp - 0x28]
mov ecx, esi
push edi
call fcn.00410590
mov ecx, edi
call fcn.00401930
cmp dword [ebp - 0x14], 7
jbe 0x42e377
mov esi, dword [ebp - 0x28]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42e3a0
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.00410510
mov esi, 1
jmp 0x42e3a2
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x42e3da
inc ecx
js 0x42e40a
mov eax, dword [ebp - 0x40]
add ecx, ecx
cmp ecx, 0x1000
jb 0x42e3d1
test al, 0x1f
jne 0x42e40a
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x42e40a
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x42e40a
push eax
call fcn.004d4c09
add esp, 4
test esi, esi
jne 0x42e3ec
inc ebx
cmp ebx, 0x31
jbe 0x42e0f0
xor ebx, ebx
jmp 0x42e3ee
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.00401930
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004dc775
int3