Function at 0x10019590
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xac
call fcn.100338e0
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
xor ebp, ebp
push eax
push ecx
push ebp
xor esi, esi
xor edi, edi
call fcn.10029bb0
add esp, 0xc
test eax, eax
je 0x100195ea
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc0]
shl edx, 0xa
test edx, eax
je 0x100195ce
inc esi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
inc edi
push eax
push ecx
push edi
call fcn.10029bb0
add esp, 0xc
test eax, eax
jne 0x100195bb
cmp esi, ebp
jne 0x10019612
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xac
ret
mov eax, dword [esp + 0xf0]
cdq
idiv esi
cmp esi, 1
mov dword [esp + 0x3c], eax
jne 0x1001962c
mov dword [esp + 0xf0], ebp
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xfc]
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x20], edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x44], ebp
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
call fcn.10029bb0
add esp, 0xc
test eax, eax
je 0x10019ab4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc0]
shl edx, 0xa
test eax, edx
je 0x10019a90
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x10019ac4
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xfc]
push eax
mov dword [esp + 0x1c], ecx
mov esi, eax
mov dword [esp + 0x44], ebp
call sub.LIBEAY32.dll_Ordinal_3844
mov edi, eax
add esp, 4
cmp edi, ebp
jge 0x100196d4
push str.chunk___0
push 0xaa
push str.._ssl_t1_enc.c
call sub.LIBEAY32.dll_Ordinal_3244
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call sub.LIBEAY32.dll_Ordinal_2630
lea eax, [esp + 0x68]
push eax
call sub.LIBEAY32.dll_Ordinal_2630
lea ecx, [esp + 0x54]
push ecx
call sub.LIBEAY32.dll_Ordinal_2630
lea edx, [esp + 0x58]
push 8
push edx
call sub.LIBEAY32.dll_Ordinal_3883
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
and eax, 1
add eax, edx
push eax
push ecx
push ebp
push 0x357
call sub.LIBEAY32.dll_Ordinal_4174
mov ebp, eax
add esp, 0x24
test ebp, ebp
je 0x10019a0f
push ebp
push 0
push esi
lea edx, [esp + 0x58]
push 0
push edx
call sub.LIBEAY32.dll_Ordinal_4144
add esp, 0x14
test eax, eax
je 0x10019a0f
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_2589
add esp, 8
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1001978a
mov edx, dword [esp + 0xc8]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x100197b3
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x100197dc
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x10019805
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov esi, dword [esp + 0xe4]
test esi, esi
je 0x1001982e
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x24]
push eax
push esi
push ecx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
lea edx, [esp + 0x1c]
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_4372
add esp, 0xc
test eax, eax
je 0x10019a0f
lea edx, [esp + 0x4c]
lea eax, [esp + 0x24]
push edx
push eax
call sub.LIBEAY32.dll_Ordinal_2589
add esp, 8
test eax, eax
je 0x10019a0f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
cmp ebx, edi
jle 0x100198a4
lea ecx, [esp + 0x24]
lea edx, [esp + 0x64]
push ecx
push edx
call sub.LIBEAY32.dll_Ordinal_2589
add esp, 8
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x100198cd
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x100198f6
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x1001991f
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x10019948
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
test esi, esi
je 0x1001996a
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0x24]
push eax
push esi
push ecx
call sub.LIBEAY32.dll_Ordinal_269
add esp, 0xc
test eax, eax
je 0x10019a0f
cmp ebx, edi
jle 0x100199d4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_4372
add esp, 0xc
test eax, eax
je 0x10019a0f
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
add edx, eax
sub ebx, eax
mov dword [esp + 0x18], edx
lea edx, [esp + 0x1c]
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0x68]
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_4372
add esp, 0xc
test eax, eax
je 0x10019a0f
lea edx, [esp + 0x4c]
lea eax, [esp + 0x24]
push edx
push eax
call sub.LIBEAY32.dll_Ordinal_2589
add esp, 8
test eax, eax
jne 0x10019867
jmp 0x10019a0f
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call sub.LIBEAY32.dll_Ordinal_4372
add esp, 0xc
test eax, eax
je 0x10019a0f
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x40], 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call sub.LIBEAY32.dll_Ordinal_281
lea eax, [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
lea ecx, [esp + 0x6c]
push ecx
call sub.LIBEAY32.dll_Ordinal_2821
lea edx, [esp + 0x58]
push edx
call sub.LIBEAY32.dll_Ordinal_2821
lea eax, [esp + 0x8c]
push 0x40
push eax
call sub.LIBEAY32.dll_Ordinal_3245
mov eax, dword [esp + 0x58]
add esp, 0x18
test eax, eax
je 0x10019605
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xfc]
add edx, ecx
test eax, eax
mov dword [esp + 0x20], edx
jle 0x10019a8e
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x10019a81
xor ebp, ebp
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
inc eax
push ecx
push edx
push eax
mov dword [esp + 0x50], eax
call fcn.10029bb0
add esp, 0xc
test eax, eax
jne 0x10019674
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xac
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
jmp 0x100195f6