Function at 0x442ae0
Capabilities:
Create directory
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0xf4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442af6
sub eax, esi
sar eax, 1
lea ecx, [edx + eax*2]
mov dword [ebp - 4], ecx
cmp eax, 6
jb 0x442da1
push 6
lea esi, [ecx - 0xc]
push str.XXXXXX
push esi
call fcn.006af9d2
add esp, 0xc
test eax, eax
jne 0x442da1
push 0xf0000000
push 1
push eax
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x442b63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [edi + 0xf0], eax
call fcn.0044c110
mov dword [edi + 0x48], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, bind
lea eax, [ebp - 0x10]
push eax
push 8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x442d59
mov esi, dword [ebp - 0x10]
push 0
push 0x3e
push dword [ebp - 0xc]
push esi
call fcn.00683830
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
push 0
push 0x3e
movzx eax, word [esi*2 + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov word [ecx - 0xc], ax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00683830
push 0
push 0x3e
mov esi, eax
mov dword [ebp - 0xc], edx
push edx
push esi
mov dword [ebp - 0x10], esi
call fcn.00683830
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
push 0
push 0x3e
movzx eax, word [esi*2 + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov word [ecx - 0xa], ax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00683830
push 0
push 0x3e
mov esi, eax
mov dword [ebp - 0xc], edx
push edx
push esi
mov dword [ebp - 0x10], esi
call fcn.00683830
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
push 0
push 0x3e
movzx eax, word [esi*2 + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov word [ecx - 8], ax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00683830
push 0
push 0x3e
mov esi, eax
mov dword [ebp - 0xc], edx
push edx
push esi
mov dword [ebp - 0x10], esi
call fcn.00683830
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
push 0
push 0x3e
movzx eax, word [esi*2 + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov word [ecx - 6], ax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00683830
push 0
push 0x3e
mov esi, eax
mov dword [ebp - 0xc], edx
push edx
push esi
mov dword [ebp - 0x10], esi
call fcn.00683830
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, ecx
sub esi, ecx
mov ecx, dword [ebp - 4]
push 0
push 0x3e
movzx eax, word [esi*2 + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov word [ecx - 4], ax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00683830
push 0
push 0x3e
mov esi, eax
mov dword [ebp - 0xc], edx
push edx
push esi
mov dword [ebp - 0x10], esi
call fcn.00683830
mov ecx, eax
shl ecx, 5
sub ecx, eax
add ecx, ecx
sub esi, ecx
push 0
push 0x3e
movzx eax, word [esi*2 + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov esi, dword [ebp - 4]
add esi, 0xfffffff4
mov word [esi + 0xa], ax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00683830
push dword [edi + 0xf4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call fcn.006c0d31
add esp, 4
test eax, eax
je 0x442d2a
call fcn.006a3919
cmp dword [eax], 0x11
jne 0x442d14
sub ebx, 1
jne 0x442b68
jmp 0x442d6f
mov dword [edi + 0x48], 0xffffffff
call fcn.006a3906
mov ecx, dword [eax]
mov dword [edi + 0xf0], ecx
jmp 0x442d67
mov edx, dword [edi + 0x50]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442d35
sub ecx, dword [ebp - 4]
lea eax, [edx - 6]
push 6
add eax, ecx
push esi
push eax
call fcn.006c3abf
add esp, 0xc
mov dword [edi + 0x48], 0
jmp 0x442d6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xf0], eax
mov ecx, eax
call fcn.0044c110
mov dword [edi + 0x48], eax
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
jne 0x442db2
mov dword [edi + 0x48], 0xffffffff
call fcn.006a3906
mov ecx, dword [eax]
mov dword [edi + 0xf0], ecx
call fcn.0044c110
mov dword [edi + 0x48], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x48], 0xfffff019
mov dword [edi + 0xf0], 0x57
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret