Function at 0x10144ec0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x354
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x350], eax
cmp dword [ebp + 0x20], 0x100000
mov eax, dword [ebp + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x5c], eax
mov ebx, 0x40
mov eax, dword [ebp + 0x14]
push esi
mov dword [esp + 0x44], eax
mov esi, 0x28
mov eax, dword [ebp + 0x18]
push edi
mov dword [esp + 0x40], eax
mov edi, 8
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x28], edi
mov byte [esp + 0x13], 1
jb 0x10144f4b
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c6
push str.._ssl_s3_cbc.c
call fcn.10083100
add esp, 0xc
push dword [esp + 0x68]
call fcn.10088fe0
push eax
call fcn.10089070
add esp, 8
cmp eax, 0x2a0
jg 0x10144ffb
je 0x10144fd4
cmp eax, 4
je 0x10144f9f
cmp eax, 0x40
jne 0x1014500c
lea eax, [esp + 0xb0]
push eax
call fcn.1008a6a0
mov dword [esp + 0x40], 0x10145b10
mov ecx, 0x14
mov dword [esp + 0x18], 0x1008a6e0
jmp 0x101450b3
lea eax, [esp + 0xb0]
push eax
call fcn.10065520
mov esi, 0x30
mov dword [esp + 0x40], 0x10145a90
mov dword [esp + 0x18], 0x10065560
mov ecx, 0x10
mov dword [esp + 0x60], esi
mov byte [esp + 0x17], 0
jmp 0x101450b3
lea eax, [esp + 0xb0]
push eax
call fcn.10065b60
mov dword [esp + 0x40], 0x10145bb0
mov ecx, 0x20
mov dword [esp + 0x18], 0x10065bc0
jmp 0x101450b3
sub eax, 0x2a1
je 0x1014507f
sub eax, 1
je 0x1014506e
sub eax, 1
je 0x1014504a
push 0x101b5934
push 0x202
push str.._ssl_s3_cbc.c
call fcn.10083100
mov eax, dword [esp + 0x70]
add esp, 0xc
test eax, eax
je 0x1014580f
mov dword [eax], 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.10155c5f
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xb0]
push eax
call fcn.10065740
mov dword [esp + 0x40], 0x10145bb0
mov ecx, 0x1c
mov dword [esp + 0x18], 0x10065bc0
jmp 0x101450b3
lea eax, [esp + 0xb0]
push eax
call fcn.1008afd0
mov ecx, ebx
jmp 0x10145091
lea eax, [esp + 0xb0]
push eax
call fcn.1008a910
mov ecx, 0x30
mov edi, 0x10
mov dword [esp + 0x18], 0x1008b080
mov ebx, 0x80
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x40], 0x10145ca0
add esp, 4
mov dword [esp + 0x24], ecx
cmp byte [ebp + 0x2c], 0
mov eax, 0xd
mov dword [esp + 0x4c], eax
je 0x101450d5
mov eax, dword [ebp + 0x28]
add eax, 0xb
add eax, esi
mov dword [esp + 0x4c], eax
xor edx, edx
mov esi, eax
cmp byte [ebp + 0x2c], dl
sete dl
sub esi, ecx
mov ecx, dword [ebp + 0x20]
dec ecx
lea edx, [edx*4 + 2]
mov dword [esp + 0x30], edx
lea eax, [esi + edi]
add eax, ebx
xor edx, edx
add eax, ecx
xor edi, edi
div ebx
mov ecx, dword [ebp + 0x1c]
xor edx, edx
add ecx, esi
mov dword [esp + 0x38], eax
mov eax, ecx
mov esi, dword [esp + 0x28]
div ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x6c], eax
lea eax, [ecx + esi]
div ebx
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp byte [ebp + 0x2c], cl
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
setne cl
add edx, ecx
mov dword [esp + 0x2c], edi
mov ecx, eax
sub ecx, dword [esp + 0x30]
cmp edx, eax
jae 0x10145152
mov edi, ecx
imul edi, ebx
cmp edx, eax
mov dword [esp + 0x2c], edi
sbb eax, eax
and eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
shl eax, 3
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x1c], eax
jne 0x10145245
lea eax, [eax + ebx*8]
push ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1dc]
push 0
push eax
call fcn.10157450
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp eax, 0x80
jbe 0x101451ad
push str.mac_secret_length___sizeof_hmac_pad_
push 0x26a
push str.._ssl_s3_cbc.c
call fcn.10083100
mov eax, dword [ebp + 0x28]
add esp, 0xc
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x1e0]
push eax
call fcn.101576e0
movaps xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
add esp, 0xc
xor eax, eax
nop dword [eax + eax]
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1d8], xmm0
movups xmm0, xmmword [esp + eax + 0x1e8]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1e8], xmm0
movups xmm0, xmmword [esp + eax + 0x1f8]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1f8], xmm1
movups xmm0, xmmword [esp + eax + 0x208]
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x208], xmm0
add eax, 0x40
cmp eax, ebx
jb 0x101451d0
lea eax, [esp + 0x1d8]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, eax
shr ecx, 0x18
mov dword [esp + 0x44], ecx
mov ecx, eax
shr ecx, 0x10
shr eax, 8
cmp byte [esp + 0x13], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
je 0x101452a6
lea eax, [esi - 4]
push eax
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.10157450
mov eax, dword [esp + 0x50]
mov byte [esp + esi + 0x190], al
mov eax, dword [esp + 0x40]
mov byte [esp + esi + 0x191], al
mov eax, dword [esp + 0x44]
mov byte [esp + esi + 0x192], al
mov eax, dword [esp + 0x28]
mov byte [esp + esi + 0x193], al
jmp 0x101452e2
push esi
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.10157450
mov eax, dword [esp + 0x50]
mov byte [esp + esi + 0x18f], al
mov eax, dword [esp + 0x40]
mov byte [esp + esi + 0x18e], al
mov eax, dword [esp + 0x44]
mov byte [esp + esi + 0x18d], al
mov eax, dword [esp + 0x28]
mov byte [esp + esi + 0x18c], al
add esp, 0xc
test edi, edi
je 0x10145423
cmp byte [ebp + 0x2c], 0
je 0x1014539c
mov eax, dword [esp + 0x4c]
push dword [esp + 0x48]
sub eax, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x1c]
push dword [esp + 0x24]
mov eax, dword [esp + 0x54]
add eax, ebx
push eax
lea eax, [esp + 0x268]
push eax
call fcn.101576e0
mov eax, ebx
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x274]
add eax, dword [esp + 0x38]
push eax
call fcn.101576e0
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0xd4]
push eax
call dword [esp + 0x3c]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x10145423
mov esi, dword [esp + 0x40]
lea edi, [eax - 1]
sub esi, dword [esp + 0x1c]
add esi, ebx
nop dword [eax]
lea eax, [esp + 0xb0]
push esi
push eax
call dword [esp + 0x1c]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x10145380
jmp 0x1014541b
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x260], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x264], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x26d]
movq qword [esp + 0x260], xmm0
push eax
call fcn.101576e0
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0xc0]
push eax
call dword [esp + 0x28]
xor edx, edx
mov eax, edi
div ebx
add esp, 0x14
cmp eax, 1
jbe 0x10145423
mov esi, dword [esp + 0x40]
lea edi, [eax - 1]
add esi, 0xfffffff3
add esi, ebx
lea eax, [esp + 0xb0]
push esi
push eax
call dword [esp + 0x1c]
add esp, 8
add esi, ebx
sub edi, 1
jne 0x10145404
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
push 0x40
lea eax, [esp + 0x19c]
push 0
push eax
call fcn.10157450
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x54]
add eax, edx
mov dword [esp + 0x7c], eax
cmp edx, eax
ja 0x101456da
mov eax, dword [esp + 0x58]
mov ecx, eax
shr ecx, 0x1f
mov dword [esp + 0x38], ecx
lea ecx, [eax + 1]
shr ecx, 0x1f
mov dword [esp + 0x34], ecx
mov ecx, ebx
sub ecx, esi
sub esi, ebx
mov dword [esp + 0x74], ecx
mov ecx, eax
neg ecx
lea eax, [esp + eax + 0x2d8]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x188]
add ecx, esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], ecx
nop
mov eax, edx
xor esi, esi
xor eax, dword [esp + 0x6c]
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
mov eax, edx
xor eax, dword [esp + 0x70]
neg bl
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], edx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
neg cl
movsx eax, cl
mov dword [esp + 0x1c], ecx
movd xmm0, eax
mov ah, cl
mov ecx, dword [esp + 0x28]
not ah
punpcklbw xmm0, xmm0
mov al, ah
punpcklwd xmm0, xmm0
or al, bl
pshufd xmm0, xmm0, 0
movaps xmmword [esp + 0xa0], xmm0
mov byte [esp + 0x1b], ah
mov byte [esp + 0x23], al
mov dword [esp + 0x2c], ecx
jmp 0x10145506
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x13], 0
cmp edi, ecx
jae 0x10145520
mov ecx, dword [esp + 0x48]
mov al, byte [ecx + edi]
mov byte [esp + 0x13], al
jmp 0x1014553a
mov eax, dword [ebp + 0x20]
add eax, ecx
cmp edi, eax
jae 0x10145536
mov eax, dword [esp + 0x40]
sub eax, ecx
mov al, byte [eax + edi]
mov byte [esp + 0x13], al
mov ah, byte [esp + 0x1b]
shr edx, 0x1f
mov ecx, esi
xor dl, byte [esp + 0x38]
inc edi
shr ecx, 0x1f
mov al, cl
xor al, byte [esp + 0x38]
or dl, al
mov al, cl
xor al, byte [esp + 0x34]
xor dl, cl
dec dl
and dl, bl
mov ebx, dword [esp + 0x30]
dec ebx
shr ebx, 0x1f
xor bl, byte [esp + 0x34]
or bl, al
mov al, dl
xor bl, cl
not al
and al, byte [esp + 0x13]
dec bl
and bl, byte [esp + 0x44]
and dl, 0x80
not bl
or al, dl
and bl, al
and bl, byte [esp + 0x23]
cmp esi, dword [esp + 0x74]
jb 0x1014559c
mov edx, dword [esp + 0x2c]
mov cl, ah
mov al, byte [esp + 0x1c]
and bl, cl
and al, byte [edx]
or bl, al
mov edx, dword [esp + 0x30]
inc esi
mov ecx, dword [esp + 0x78]
inc dword [esp + 0x2c]
mov byte [ecx + edx], bl
inc edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
cmp esi, ebx
jb 0x10145502
lea eax, [esp + 0x2d8]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [esp + 0x1c]
lea eax, [esp + 0x2e0]
push eax
lea eax, [esp + 0xbc]
push eax
call dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
add esp, 0x10
xor eax, eax
cmp esi, 0x40
jb 0x1014569b
movaps xmm2, xmmword [esp + 0xa0]
mov ecx, esi
and ecx, 0xffffffc0
nop dword [eax]
nop dword [eax + eax]
movups xmm0, xmmword [esp + eax + 0x198]
movups xmm1, xmmword [esp + eax + 0x2d8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x198], xmm1
movups xmm0, xmmword [esp + eax + 0x1a8]
movups xmm1, xmmword [esp + eax + 0x2e8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1a8], xmm1
movups xmm0, xmmword [esp + eax + 0x1b8]
movups xmm1, xmmword [esp + eax + 0x2f8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1b8], xmm1
movups xmm1, xmmword [esp + eax + 0x308]
movups xmm0, xmmword [esp + eax + 0x1c8]
pand xmm1, xmm2
por xmm1, xmm0
movups xmmword [esp + eax + 0x1c8], xmm1
add eax, 0x40
cmp eax, ecx
jb 0x10145610
cmp eax, esi
jae 0x101456c5
mov edx, dword [esp + 0x1c]
nop dword [eax]
nop word [eax + eax]
mov cl, byte [esp + eax + 0x2d8]
and cl, dl
or byte [esp + eax + 0x198], cl
inc eax
cmp eax, esi
jb 0x101456b0
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x54], edx
cmp edx, dword [esp + 0x7c]
jbe 0x10145490
jmp 0x101456de
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x88]
push eax
call fcn.1006ea70
mov eax, dword [esp + 0x6c]
push 0
push dword [eax]
lea eax, [esp + 0x94]
push eax
call fcn.1006e520
add esp, 0x10
cmp byte [ebp + 0x2c], 0
je 0x10145736
mov ebx, dword [esp + 0x5c]
lea eax, [esp + 0x1d8]
push ebx
push 0x5c
push eax
call fcn.10157450
push dword [ebp + 0x28]
lea eax, [esp + 0x98]
push dword [esp + 0x70]
push eax
call fcn.1006e6c0
add esp, 0x18
jmp 0x101457a0
movaps xmm2, xmmword [0x101d3cb0]
xor eax, eax
nop
movups xmm0, xmmword [esp + eax + 0x1d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1d8], xmm1
movups xmm0, xmmword [esp + eax + 0x1e8]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [esp + eax + 0x1e8], xmm0
movups xmm0, xmmword [esp + eax + 0x1f8]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x1f8], xmm1
movups xmm0, xmmword [esp + eax + 0x208]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x208], xmm1
add eax, 0x40
cmp eax, ebx
jb 0x10145740
push ebx
lea eax, [esp + 0x1dc]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.1006e6c0
push esi
lea eax, [esp + 0x1a8]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.1006e6c0
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0xa8]
push eax
call fcn.1006e450
mov ecx, dword [esp + 0x88]
add esp, 0x24
test ecx, ecx
je 0x101457ff
mov eax, dword [esp + 0x84]
mov dword [ecx], eax
lea eax, [esp + 0x88]
push eax
call fcn.1006e6d0
add esp, 4
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10155c5f
mov esp, ebp
pop ebp
ret