Function at 0x445b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x592830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test byte [esi + 0x100], 0x20
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0xc0]
lea edi, [eax + 0x10c]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x98], ebx
je 0x445baa
cmp dword [eax + 0xe8], 0
mov dword [ebp - 0x88], 0x4000
jne 0x445bb4
push 0x14e
push str.ssl_s3_pkt.c
push 0x44
jmp 0x44607b
mov dword [ebp - 0x88], 0
cmp dword [esi + 0x38], 0xf1
jne 0x445bc7
cmp dword [esi + 0x50], 5
jae 0x445c7c
mov eax, dword [esi + 0x58]
push 0
push dword [eax + 0xf0]
mov edx, 5
mov ecx, esi
call fcn.004458f0
add esp, 8
test eax, eax
jle 0x44608e
mov eax, dword [esi + 0x64]
mov ebx, dword [esi + 0x4c]
mov dword [esi + 0x38], 0xf1
test eax, eax
je 0x445c0f
push dword [esi + 0x68]
push esi
push 5
push ebx
push pe_nt_image_headers32
push 0
push 0
call eax
add esp, 0x1c
movzx eax, byte [ebx]
mov dword [edi], eax
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
movzx edx, byte [ebx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
shl edx, 8
or edx, eax
movzx ecx, cx
mov dword [edi + 4], edx
cmp dword [esi + 0x10c], 0
mov dword [ebp - 0x94], ecx
jne 0x445c4e
movsx eax, cx
cmp eax, dword [esi]
jne 0x445f11
and ecx, 0xffffff00
mov eax, 0x300
cmp cx, ax
jne 0x44606c
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0xf0]
sub eax, 5
cmp edx, eax
ja 0x446022
mov ebx, dword [ebp - 0x98]
mov eax, dword [esi + 0x50]
mov ecx, dword [edi + 4]
sub eax, 5
cmp ecx, eax
jbe 0x445caa
test ecx, ecx
jle 0x445f6b
push 1
push ecx
mov edx, ecx
mov ecx, esi
call fcn.004458f0
mov ecx, eax
add esp, 8
test ecx, ecx
jle 0x445f6b
mov ecx, dword [esi + 0x4c]
mov eax, dword [ebp - 0x88]
mov dword [esi + 0x38], 0xf0
add ecx, 5
add eax, 0x4540
mov dword [edi + 0x10], ecx
cmp dword [edi + 4], eax
ja 0x446011
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 8]
push 0
mov eax, dword [eax + 0x64]
push esi
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 8
mov dword [ebp - 0x90], ecx
test ecx, ecx
je 0x445ffb
test ebx, ebx
je 0x445e37
mov eax, dword [esi + 0x80]
test eax, eax
je 0x445e37
mov eax, dword [esi + 0x84]
test eax, eax
je 0x445e37
cmp dword [eax], 0
je 0x445e37
test eax, eax
je 0x44609f
mov ebx, dword [eax]
test ebx, ebx
je 0x44609f
mov ebx, dword [ebx + 8]
cmp ebx, 0x40
ja 0x4460c0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
shr ecx, 8
add ecx, edx
cmp ecx, ebx
jb 0x445f7e
mov eax, dword [esi + 0x80]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
and eax, 0xf0007
mov dword [ebp - 0x8c], eax
cmp eax, 2
jne 0x445d9e
lea eax, [ebx + 1]
cmp ecx, eax
jb 0x445f7e
mov eax, dword [ebp - 0x8c]
cmp eax, 2
jne 0x445d9e
lea eax, [ebp - 0x84]
push ecx
push ebx
mov edx, edi
mov ecx, eax
mov dword [ebp - 0x8c], eax
call fcn.004882e0
add esp, 8
sub dword [edi + 4], ebx
jmp 0x445dae
mov eax, dword [edi + 0xc]
sub edx, ebx
add eax, edx
mov dword [edi + 4], edx
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 8]
push 0
mov eax, dword [eax + 0x64]
lea ecx, [ebp - 0x44]
mov eax, dword [eax + 4]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
js 0x445dfe
cmp dword [ebp - 0x8c], 0
je 0x445dfe
xor ch, ch
xor edx, edx
test ebx, ebx
je 0x445e03
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
sub edi, eax
lea eax, [ebp - 0x44]
add eax, edx
inc edx
mov cl, byte [edi + eax]
xor cl, byte [eax]
or ch, cl
cmp edx, ebx
jb 0x445de3
mov edi, dword [ebp - 0xa0]
test ch, ch
je 0x445e03
or ecx, 0xffffffff
jmp 0x445e09
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x88]
lea eax, [edx + 0x4400]
add eax, ebx
cmp dword [edi + 4], eax
jbe 0x445e3d
push 0x217
mov edi, 0x14
push str.ssl_s3_pkt.c
push 0x119
mov ecx, edi
jmp 0x44603b
mov edx, dword [ebp - 0x88]
test ecx, ecx
js 0x445e1c
mov ebx, dword [esi + 0x88]
test ebx, ebx
je 0x445ec4
lea eax, [edx + 0x4400]
cmp dword [edi + 4], eax
ja 0x445fad
mov eax, dword [esi + 0x58]
add eax, 0x10c
mov dword [ebp - 0x94], eax
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx]
mov dword [ebp - 0x8c], ecx
mov eax, dword [eax + 0x14]
test eax, eax
je 0x445f97
push ecx
push edx
push 0x4000
push dword [ebp - 0x90]
push ebx
call eax
add esp, 0x14
test eax, eax
jle 0x445eaf
mov ecx, dword [ebp - 0x8c]
add dword [ebx + 0xc], ecx
add dword [ebx + 0x10], eax
test eax, eax
js 0x445f97
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x88]
add eax, 0x4000
cmp dword [edi + 4], eax
ja 0x445fea
mov dword [edi + 8], 0
mov dword [esi + 0x50], 0
cmp dword [edi + 4], 0
jne 0x445fd4
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, 0x20
ja 0x445fbe
mov ebx, dword [ebp - 0x98]
jmp 0x445bb4
push 0x16d
mov edx, 0x8f
push str.ssl_s3_pkt.c
push 0x10b
lea ecx, [edx - 0x7b]
call fcn.004144f0
mov eax, dword [ebp - 0x94]
movzx ecx, ax
mov eax, dword [esi]
xor eax, ecx
add esp, 0xc
test eax, 0xff00
jne 0x445f61
cmp dword [esi + 0x8c], 0
jne 0x445f61
cmp dword [esi + 0x90], 0
jne 0x445f61
cmp dword [edi], 0x15
je 0x44608b
mov dword [esi], ecx
mov edi, 0x46
jmp 0x446048
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push 0x1ed
push str.ssl_s3_pkt.c
mov edi, 0x32
push 0xa0
jmp 0x446036
push 0x224
push str.ssl_s3_pkt.c
mov edi, 0x1e
push 0x6b
jmp 0x446036
push 0x21f
push str.ssl_s3_pkt.c
push 0x8c
jmp 0x446031
push 0x241
push str.ssl_s3_pkt.c
mov edi, 0xa
push 0x12a
jmp 0x446036
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push 0x22b
push str.ssl_s3_pkt.c
push 0x92
jmp 0x446031
push 0x1c7
push str.ssl_s3_pkt.c
mov edi, 0x15
push 0x81
jmp 0x446036
push 0x1b7
push str.ssl_s3_pkt.c
push 0x96
jmp 0x446031
push 0x18b
push str.ssl_s3_pkt.c
push 0xc6
mov edi, 0x16
mov ecx, 0x14
mov edx, 0x8f
call fcn.004144f0
add esp, 0xc
push edi
mov edx, 2
mov ecx, esi
call fcn.00447630
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push 0x185
push str.ssl_s3_pkt.c
push 0x10b
mov edx, 0x8f
lea ecx, [edx - 0x7b]
call fcn.004144f0
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ebb9e
mov esp, ebp
pop ebp
ret
push 0x139
push str.cryptoevpevp_lib.c
push 0x9f
mov edx, 0xa2
mov ecx, 6
call fcn.004144f0
add esp, 0xc
push str.mac_size___EVP_MAX_MD_SIZE
mov edx, 0x1db
mov ecx, str.ssl_s3_pkt.c
call fcn.0043c3c0
int3