Function at 0x426b3c
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], esp
push 0xf0000000
push 1
push 0x4ee2e4
push 0x4ee2e4
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x426bbe
push 0x37
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x426c23
mov dword [ebp - 0x24], esp
push 0
push 1
push 0x4ee2e4
push 0x4ee2e4
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x426c0c
push 0x90
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x426c23
mov eax, 0x532144
jmp 0x426f72
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x426c3f
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x426c50
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
push 0
push 2
push 8
call fcn.00426fbc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x426c82
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push getsockname
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x426c9b
mov eax, 0x532144
push eax
push 1
mov ebx, 0x194
call fcn.004c95c0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.004cbae0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x28]
push dword [ebp - 0xc]
mov ecx, 3
call fcn.00412624
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x426cf6
push ebx
call fcn.004c4d90
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x426d0a
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x426d21
mov eax, 0x532144
push eax
push 1
mov ebx, 0x194
call fcn.004c95c0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x426d55
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x426d7f
push 0x23e
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x426dc7
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x426dbd
push 0x2a5
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov eax, 0x532144
jmp 0x426f72
push dword [ebp - 8]
push dword [ebp - 8]
mov ecx, 2
call fcn.00412624
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x426df1
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push getsockname
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x426e08
mov eax, 0x532144
push eax
push 1
mov ebx, 0x194
call fcn.004c95c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push getsockname
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x426e31
mov eax, 0x532144
push eax
push 1
mov ebx, 0x194
call fcn.004c95c0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x426e5b
add eax, 8
push eax
push 0
push 1
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x426e94
push 0x3cc
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x426eab
mov eax, 0x532144
jmp 0x426f72
push 0x80000301
push 0
push dword [ebp - 0x20]
push getsockname
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x426ec8
mov eax, 0x532144
push eax
push 2
mov ebx, 0x1a0
call fcn.004cc6c0
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x426ef2
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x426f22
push 0x467
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x426f53
push 0x481
push 0x40fdb1d
push 6
call fcn.004c4d9c
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x426f6d
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004c4d96
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x426f72
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x426f83
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x426f93
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x426fa3
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x426fb3
push ebx
call fcn.004c4d90
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc