Function at 0x640230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x72a00c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test esi, esi
cmove esi, edx
mov dword [ebp - 0x78], esi
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x60], xmm0
mov ecx, dword [edx + 4]
mov dword [ebp - 0x74], ecx
cmp eax, 0xffffffff
jne 0x640603
mov dword [ebp - 0x80], ecx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov eax, ecx
sar eax, 0x1f
and eax, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
test ecx, ecx
jle 0x640616
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x64028c
shl ecx, 5
xor edx, edx
test esi, esi
setne dl
mov edi, esi
shr edi, 0x10
xor eax, eax
cmp esi, 0x10000
cmovb edi, esi
setae al
shl eax, 4
mov dword [ebp - 0x70], eax
mov esi, edi
shr esi, 8
xor eax, eax
cmp edi, 0x100
cmovb esi, edi
setae al
mov dword [ebp - 0x6c], eax
mov edi, esi
shr edi, 4
xor eax, eax
cmp esi, 0x10
cmovb edi, esi
setae al
mov dword [ebp - 0x84], eax
mov esi, edi
shr esi, 2
xor eax, eax
cmp edi, 4
cmovb esi, edi
setae al
or edx, ecx
add edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
lea ecx, [edx + ecx*8]
mov edx, dword [ebp - 0x84]
lea ecx, [ecx + edx*4]
cmp esi, 2
lea eax, [ecx + eax*2]
sbb eax, 0xffffffff
dec eax
and eax, 7
mov dword [ebp - 0x70], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x640634
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
test ecx, ecx
jle 0x640669
mov eax, dword [edx]
mov edi, dword [eax + ecx*4 - 4]
dec ecx
test edi, edi
je 0x640338
shl ecx, 5
mov edx, edi
shr edx, 0x10
xor eax, eax
cmp edi, 0x10000
cmovb edx, edi
setae al
shl eax, 4
mov dword [ebp - 0x64], eax
mov esi, edx
shr esi, 8
xor eax, eax
cmp edx, 0x100
cmovb esi, edx
setae al
mov dword [ebp - 0x68], eax
mov eax, esi
shr eax, 4
xor edx, edx
cmp esi, 0x10
cmovb eax, esi
setae dl
mov dword [ebp - 0x6c], edx
mov esi, eax
shr esi, 2
xor edx, edx
cmp eax, 4
cmovb esi, eax
setae dl
cmp edi, 1
sbb ecx, 0
add ecx, 8
or ecx, dword [ebp - 0x64]
cmp esi, 2
mov eax, dword [ebp - 0x68]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0x6c]
lea eax, [eax + ecx*4]
lea eax, [eax + edx*2]
sbb eax, 0xffffffff
shr eax, 3
movzx edx, byte [ebx]
mov ecx, dword [ebp - 0x70]
shr edx, cl
test edx, edx
jne 0x640645
xor edx, edx
test ecx, ecx
sete dl
mov edi, eax
mov dword [ebp - 0x64], edx
sub edi, edx
mov ecx, dword [ebp - 0x74]
lea esi, [ecx + 2]
cmp edi, esi
mov edx, dword [ebp - 0x80]
jb 0x6405e5
test edx, edx
js 0x640401
add esi, edx
cmp edi, esi
jb 0x6405e5
mov dword [ebp - 0x68], eax
add ebx, dword [ebp - 0x64]
cmp byte [edi + ebx - 1], 0xbc
jne 0x640682
mov eax, ecx
not eax
mov dword [ebp - 0x6c], eax
add edi, eax
push edi
call fcn.0065b960
add esp, 4
test eax, eax
je 0x6405fd
mov esi, eax
lea eax, [ebx + edi]
mov ecx, esi
mov edx, edi
push dword [ebp - 0x78]
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
push eax
call fcn.00543620
add esp, 0xc
test eax, eax
je 0x6406bc
test edi, edi
je 0x640460
xor eax, eax
mov cl, byte [ebx + eax]
xor byte [esi + eax], cl
inc eax
cmp edi, eax
jne 0x640455
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x640474
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [esi], al
neg dword [ebp - 0x64]
lea eax, [edi - 1]
xor ecx, ecx
mov dl, byte [esi + ecx]
lea ebx, [ecx + 1]
test dl, dl
jne 0x64048c
cmp ecx, eax
mov ecx, ebx
jb 0x64047c
cmp dl, 1
jne 0x640693
mov ecx, dword [ebp - 0x80]
test ecx, ecx
mov eax, dword [ebp + 0x10]
js 0x6404b4
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
sub edx, ecx
mov ecx, dword [ebp - 0x6c]
add ecx, edx
cmp ecx, ebx
jne 0x6406c3
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
cmp dword [ebp - 0x60], eax
je 0x6404fe
push dword [eax + 0x1c]
call fcn.0065b960
add esp, 4
mov dword [ebp - 0x64], eax
test eax, eax
je 0x6406bc
push dword [ebp - 0x5c]
call fcn.0065b9b0
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
sub edi, ebx
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 4
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push 8
push 0x70be12
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp - 0x74]
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
mov eax, esi
add eax, ebx
mov dword [ebp - 0x64], eax
lea ebx, [ebp - 0x60]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push dword [ebp - 0x64]
mov edi, ebx
push ebx
call ecx
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea ebx, [ebp - 0x50]
push ebx
push edi
call ecx
add esp, 8
mov eax, dword [edi]
push dword [eax + 0x1c]
push dword [edi + 4]
call fcn.0065b9f0
mov eax, dword [ebp - 0x74]
add esp, 8
xor edi, edi
inc edi
test eax, eax
je 0x6405b2
push eax
push dword [ebp - 0x78]
push ebx
call fcn.0066ff2d
add esp, 0xc
test eax, eax
jne 0x6406a4
push esi
call fcn.0065b9b0
add esp, 4
push dword [ebp - 0x5c]
call fcn.0065b9b0
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x640653
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, edi
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x215
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.006d0e70
add esp, 0x14
xor edi, edi
xor esi, esi
jmp 0x6405b2
cmp eax, 0xfffffffe
jne 0x6406d4
mov ecx, 0xfffffffe
jmp 0x64026d
cmp dword [ebp - 0x68], 0
jns 0x6406f0
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
mov edx, dword [ebp - 0x7c]
lea ecx, [edx - 1]
mov esi, dword [eax + edx*4 - 4]
jmp 0x64029f
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x6403c4
push 0x20b
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x6405f1
mov ecx, dword [eax]
mov esi, dword [ebp - 0x58]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x6405d1
cmp dword [ebp - 0x68], 0
jns 0x6406f7
mov eax, dword [edx]
mov ecx, dword [ebp - 0x7c]
mov edi, dword [eax + ecx*4 - 4]
dec ecx
jmp 0x64034b
push 0x219
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x6405f1
push 0x234
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
jmp 0x6406b0
push 0x246
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.006d0e70
add esp, 0x14
xor edi, edi
jmp 0x6405b2
push 0x23a
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x6406b0
mov ecx, eax
jge 0x64026d
push 0x204
push str........._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x6405f1
xor eax, eax
jmp 0x64031b
xor eax, eax
jmp 0x6403c4