Function at 0x6784c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x7ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
push edi
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], 0
call fcn.00643950
mov edi, dword [ebp - 0x54]
push edi
call fcn.00643710
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x678955
push edi
call fcn.00643710
add esp, 4
mov dword [ebp - 0x38], eax
test eax, eax
je 0x678955
push edi
call fcn.00643710
mov edi, eax
add esp, 4
mov dword [ebp - 0x50], edi
test edi, edi
je 0x678955
push dword [ebp - 0x54]
call fcn.00643710
add esp, 4
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x678955
push 6
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.006791a0
add esp, 0xc
test eax, eax
je 0x67893a
cmp eax, 6
jg 0x67893a
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
call fcn.006780c0
add esp, 0xc
test eax, eax
je 0x678955
push edi
call fcn.00625110
add esp, 4
test eax, eax
jne 0x678955
mov esi, dword [ebp - 0x3c]
push ebx
push esi
call fcn.00624da0
add esp, 8
test eax, eax
je 0x678955
push edi
call fcn.006251e0
push esi
mov dword [ebp - 0x34], eax
call fcn.006251e0
mov edi, dword [ebx + 4]
mov ebx, dword [ebp - 0x50]
push edi
push ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], edi
call fcn.00625910
add esp, 0x10
test eax, eax
je 0x678955
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
mov dword [ebp - 0x40], esi
cmp eax, edi
jge 0x6785f0
mov ecx, dword [ebp - 0x20]
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov dword [ebx + 4], edi
mov ebx, dword [ebp - 0x44]
push edi
push ebx
call fcn.00625910
add esp, 8
test eax, eax
je 0x678955
mov edx, ebx
mov ebx, dword [edx]
mov dword [ebp - 0x28], ebx
mov dword [ebx], 1
cmp edi, 1
jle 0x678627
lea ecx, [edi - 1]
xor eax, eax
lea edi, [ebx + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
push edi
push dword [ebp - 0x38]
mov dword [edx + 4], edi
call fcn.00625910
add esp, 8
test eax, eax
je 0x678955
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
test edi, edi
jle 0x678658
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x678734
nop
mov ebx, dword [esi]
test bl, 1
jne 0x67872e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax]
mov edx, eax
mov ecx, dword [ecx]
and edx, 1
neg edx
mov dword [ebp - 0x5c], edx
mov ecx, dword [ecx]
and ecx, edx
lea edx, [edi - 1]
xor eax, ecx
xor ecx, ecx
mov dword [ebp - 0x30], ecx
test edx, edx
jle 0x678710
mov ecx, dword [ebp - 0x28]
mov edx, esi
sub edx, ecx
mov dword [ebp - 0x48], edx
lea edi, [ecx + 4]
mov ecx, 0xfffffffc
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x58], ecx
nop dword [eax]
mov edx, dword [edx + edi]
mov ecx, edx
shl ecx, 0x1f
shr ebx, 1
or ecx, ebx
shr eax, 1
mov ebx, dword [ebp - 0x30]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x40]
add edx, edi
mov ecx, dword [ecx]
mov edx, dword [edx + ecx + 4]
and edx, dword [ebp - 0x5c]
xor edx, dword [edi]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x20]
mov dword [edi - 4], ecx
dec edx
mov ecx, dword [ebp - 0x30]
add edi, 4
inc ecx
cmp ecx, edx
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x48]
jl 0x6786c0
mov edi, dword [ebp - 0x20]
shr ebx, 1
mov dword [esi + ecx*4], ebx
mov ebx, dword [ebp - 0x28]
shr eax, 1
mov dword [ebx + ecx*4], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
jne 0x678670
jmp 0x678731
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x20
jg 0x67874c
mov eax, dword [esi]
test eax, eax
je 0x678955
cmp eax, 1
je 0x678914
cmp ecx, dword [ebp - 0x4c]
jge 0x67878c
mov ebx, dword [ebp - 0x3c]
mov eax, ecx
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, edx
mov edx, dword [eax]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edx
xor edx, edx
test edi, edi
jle 0x6788c2
cmp edi, 4
jb 0x678878
mov ecx, dword [ebp - 0x2c]
lea eax, [edi - 1]
lea eax, [ebx + eax*4]
lea ecx, [ecx + edi*4]
add ecx, 0xfffffffc
cmp ebx, ecx
ja 0x6787bb
cmp eax, dword [ebp - 0x2c]
jae 0x678878
lea ecx, [edi - 1]
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x30], ecx
cmp ebx, ecx
ja 0x6787d0
cmp eax, esi
jae 0x678878
mov ecx, dword [ebp - 0x24]
sub ecx, 4
lea edi, [ecx + edi*4]
cmp ebx, edi
ja 0x6787e6
cmp eax, dword [ebp - 0x24]
jae 0x678875
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
dec ebx
lea eax, [ecx + ebx*4]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
cmp esi, eax
ja 0x6787ff
cmp ecx, dword [ebp - 0x2c]
jae 0x678875
cmp esi, edi
ja 0x67880e
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jae 0x67890c
mov ecx, dword [ebp - 0x20]
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
jns 0x67881f
dec eax
or eax, 0xfffffffc
inc eax
mov ebx, dword [ebp - 0x2c]
sub ecx, eax
mov edi, dword [ebp - 0x24]
sub ebx, esi
mov dword [ebp - 0x48], ebx
sub edi, esi
mov ebx, dword [ebp - 0x28]
mov eax, esi
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], ebx
sub dword [ebp - 0x30], esi
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x30]
movups xmm0, xmmword [eax]
add edx, 4
lea eax, [eax + 0x10]
movups xmm1, xmmword [edi + eax - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + eax - 0x10]
movups xmmword [eax - 0x10], xmm1
movups xmm1, xmmword [ebx + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x10], xmm1
cmp edx, ecx
jl 0x678842
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp edx, edi
jge 0x6788bf
sub eax, esi
lea ecx, [esi + edx*4]
mov dword [ebp - 0x48], eax
sub ebx, esi
mov eax, dword [ebp - 0x2c]
sub eax, esi
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x48]
sub edi, edx
mov esi, dword [ebp - 0x58]
mov edx, eax
mov dword [ebp - 0x5c], eax
nop
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edx - 4]
xor dword [ecx + esi - 4], eax
sub edi, 1
jne 0x6788a0
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x4c]
jne 0x678666
lea eax, [ecx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov eax, dword [esi + edi*4]
test eax, eax
jne 0x6788ef
test edi, edi
je 0x6788ef
mov eax, dword [esi + edi*4 - 4]
dec edi
test eax, eax
je 0x6788e2
push eax
call fcn.00625290
mov edx, dword [ebp - 0x2c]
add esp, 4
shl edi, 5
lea ecx, [edi + eax]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
jmp 0x678666
mov edi, dword [ebp - 0x20]
jmp 0x67887b
mov ebx, dword [ebp - 0x44]
push ebx
call fcn.00625740
push ebx
push dword [ebp - 0x68]
call fcn.00624da0
xor ecx, ecx
add esp, 0xc
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x64], ecx
jmp 0x678955
push 0x198
push str.d:jenkinsworkspacecurl_1_f14b4b73crypto_bn_bn_gf2m.c
push 0x6a
push 0x83
push 3
call fcn.00634910
add esp, 0x14
push dword [ebp - 0x54]
call fcn.00643610
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret