Function at 0x443536
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
push 0x30
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push 0x10
pop esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], eax
xor eax, eax
mov word [ebp - 0x20], ax
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push 0x20019
push ebx
push str.Policy
push dword [ebp + 0xc]
mov dword [ebp - 0x24], ebx
push dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00408107
add esp, 0x18
test eax, eax
je 0x443872
push 0x45d6e4
call fcn.00407017
mov dword [esp], str.Local
push 0x474b68
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0044344b
push str.Domain
push 0x474b70
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0044344b
mov eax, dword [ebp + 8]
push ebx
push ebx
push str.PolDnDDN
push dword [ebp - 0x10]
lea edi, [ebp - 0x14]
call fcn.00408995
add esp, 0x30
test eax, eax
je 0x443617
mov edi, dword [ebp - 0x14]
mov ax, word [edi]
mov word [ebp - 0x20], ax
mov ax, word [edi + 2]
mov word [ebp - 0x1e], ax
mov eax, dword [edi + 4]
add eax, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push str.Domain_FQDN_:__wZ_n
call fcn.00407017
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
push 0
push 0
push str.PolRevision
push dword [ebp - 0x10]
lea edi, [ebp - 0x18]
call fcn.00408995
add esp, 0x10
test eax, eax
je 0x44384c
mov edi, dword [ebp - 0x18]
movzx eax, word [edi]
push eax
movzx eax, word [edi + 2]
push eax
push str._nPolicy_subsystem_is_:__hu._hu_n
call fcn.00407017
add esp, 0xc
cmp word [edi], 9
mov eax, str.PolEKList
ja 0x443662
mov eax, str.PolSecretEncryptionKey
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x14]
call fcn.00408995
add esp, 0x10
test eax, eax
je 0x443805
mov eax, dword [ebp - 0x18]
cmp word [eax], 9
jbe 0x44375a
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
push 0
push dword [ebp - 8]
push esi
call fcn.0044429d
add esp, 0xc
test eax, eax
je 0x4437fc
push dword [esi + 0x3c]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4437fc
push dword [esi + 0x3c]
add esi, 0x4c
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebx + 0x18]
push str.LSA_Key_s__:__u__default
call fcn.00407017
lea eax, [ebx + 4]
push eax
call fcn.0040a6d9
add esp, 0xc
push 0x45d6e4
call fcn.00407017
and dword [ebp - 8], 0
xor esi, esi
pop ecx
cmp dword [ebx + 0x18], esi
jbe 0x4437fc
push dword [ebp - 8]
lea edi, [ebx + esi + 0x1c]
push str.____02u_
call fcn.00407017
push edi
call fcn.0040a6d9
add esp, 0xc
push 0x474c9c
call fcn.00407017
pop ecx
push dword [edi + 0x14]
lea eax, [edi + 0x18]
push eax
xor eax, eax
call fcn.0040a596
push 0x45d6e4
call fcn.00407017
mov eax, dword [edi + 0x14]
add esp, 0xc
inc dword [ebp - 8]
lea esi, [esi + eax + 0x18]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x18]
jb 0x443703
jmp 0x4437fc
lea eax, [ebp - 0xa4]
push eax
call sub.cryptdll.dll_MD5Init
push esi
push dword [ebp + 0x18]
lea eax, [ebp - 0xa4]
push eax
call sub.cryptdll.dll_MD5Update
mov edi, dword [ebp - 0x14]
add edi, 0x3c
mov dword [ebp - 8], 0x3e8
push esi
push edi
lea eax, [ebp - 0xa4]
push eax
call sub.cryptdll.dll_MD5Update
dec dword [ebp - 8]
jne 0x443783
lea eax, [ebp - 0xa4]
push eax
call sub.cryptdll.dll_MD5Final
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.ADVAPI32.dll_SystemFunction032
test eax, eax
jl 0x4437fc
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4437fc
mov esi, dword [ebp - 0x14]
add esi, 0x1c
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x474ca0
movsd dword es:[edi], dword [esi]
call fcn.00407017
pop ecx
push 0x10
push dword [ebp - 0xc]
xor eax, eax
call fcn.0040a596
push 0x45d6e4
call fcn.00407017
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
jne 0x443817
cmp dword [ebp - 0xc], ebx
je 0x44384c
cmp dword [ebp + 0x1c], 0
je 0x443834
push dword [ebp - 0xc]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00443879
jmp 0x443849
push dword [ebp + 0x20]
push dword [ebp - 0xc]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00443a86
add esp, 0x18
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.00408964
pop ecx
test ebx, ebx
je 0x443863
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], 0
je 0x443872
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret