Function at 0x3d1fb0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4aac18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x18], esi
cmp byte [ebp + 9], 0
mov ebx, ecx
je 0x3d25ee
cmp byte [ebp + 0xb], 0
je 0x3d21df
cmp dword [ebp + 0x10], esi
je case.default.0x3d2606
lea eax, [edi*8]
or eax, 2
push eax
call fcn.003dba00
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.003dba00
movzx eax, byte [ebp + 8]
dec eax
cmp eax, 0x11
ja case.default.0x3d2606
jmp dword [eax*4 + 0x3d278c]
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
jmp 0x3d1f10
mov edx, dword [eax]
mov eax, dword [edx + esi*4]
mov ecx, ebx
call fcn.003cdbb0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d1f10
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov eax, dword [eax]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push ecx
push edx
mov ecx, ebx
call fcn.003dbbf0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d1f36
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, ebx
call fcn.003dba00
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d1f62
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea esp, [esp]
mov eax, dword [eax]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push edx
push eax
mov ecx, ebx
call fcn.003dbbf0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d1f90
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea esp, [esp]
mov ecx, dword [eax]
mov eax, dword [ecx + esi*4]
mov edx, eax
sar edx, 0x1f
add eax, eax
xor edx, eax
push edx
mov ecx, ebx
call fcn.003dba00
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d1fc0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov eax, dword [eax]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push ebx
push ecx
push edx
call fcn.003cdbd0
mov eax, dword [ebp]
inc esi
add esp, 0xc
cmp esi, dword [eax + 4]
jl 0x3d1ff0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov edi, edi
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
mov eax, ebx
call fcn.003cdc00
mov eax, dword [ebp]
inc esi
add esp, 4
cmp esi, dword [eax + 4]
jl 0x3d2020
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ebx, [ebx]
mov eax, dword [eax]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push edx
push eax
mov ecx, ebx
call fcn.003cdc40
mov eax, dword [ebp]
inc esi
add esp, 8
cmp esi, dword [eax + 4]
jl 0x3d2050
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
nop
mov ecx, dword [eax]
mov edx, dword [ecx + esi*4]
push edx
mov eax, ebx
call fcn.003cdc00
mov eax, dword [ebp]
inc esi
add esp, 4
cmp esi, dword [eax + 4]
jl 0x3d2080
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ebx, [ebx]
mov eax, dword [eax]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push ecx
push edx
mov ecx, ebx
call fcn.003cdc40
mov eax, dword [ebp]
inc esi
add esp, 8
cmp esi, dword [eax + 4]
jl 0x3d20b0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
nop
mov eax, dword [eax]
fld dword [eax + esi*4]
push ecx
mov eax, ebx
fstp dword [esp]
call fcn.003cdcb0
mov eax, dword [ebp]
inc esi
add esp, 4
cmp esi, dword [eax + 4]
jl 0x3d20e0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ecx, [ecx]
mov ecx, dword [eax]
fld qword [ecx + esi*8]
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call fcn.003cdd00
mov eax, dword [ebp]
inc esi
add esp, 8
cmp esi, dword [eax + 4]
jl 0x3d2110
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
nop
mov edx, dword [eax]
xor eax, eax
cmp byte [esi + edx], al
mov ecx, ebx
setne al
push eax
call fcn.003dba00
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d2140
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [edx + esi*4]
mov ecx, ebx
call fcn.003cdbb0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d2170
jmp case.default.0x3d2606
mov eax, 0xf
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set.cc
mov dword [esp + 0x24], 0x47f
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
mov edx, str.Non_primitive_types_cant_be_packed.
lea esi, [esp + 0x1c]
mov dword [esp + 0x50], eax
call fcn.003b1560
mov ecx, eax
call fcn.003b1620
mov dword [esp + 0x50], 0xffffffff
call fcn.003b15f0
jmp case.default.0x3d2606
movzx eax, byte [ebp + 8]
dec eax
cmp eax, 0x11
ja case.default.0x3d2606
jmp dword [eax*4 + 0x3d27d4]
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ecx*4]
mov eax, dword [esp + 0x5c]
mov esi, ebx
call fcn.003cdfb0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d2204
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov edi, edi
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
push edx
push eax
mov esi, ebx
mov eax, edi
call fcn.003cdff0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
inc ecx
add esp, 8
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d2240
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
push eax
mov esi, ebx
mov eax, edi
call fcn.003ce020
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
inc ecx
add esp, 4
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d2281
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ecx, [ecx]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
push edx
push eax
mov esi, ebx
mov eax, edi
call fcn.003cdff0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
inc ecx
add esp, 8
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d22c0
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov edi, dword [ecx + edx*4]
mov eax, dword [esp + 0x5c]
mov esi, ebx
call fcn.003ce040
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d2301
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
jmp 0x3d2340
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
push edx
push eax
mov esi, ebx
mov eax, edi
call fcn.003ce070
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
inc ecx
add esp, 8
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d2340
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ecx, [ecx]
mov ecx, dword [eax]
mov edx, dword [ecx + esi*4]
push edx
mov ecx, ebx
mov eax, edi
call fcn.003ce140
mov eax, dword [ebp]
inc esi
add esp, 4
cmp esi, dword [eax + 4]
jl 0x3d2380
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea esp, [esp]
mov eax, dword [eax]
mov ecx, dword [eax + esi*8 + 4]
mov edx, dword [eax + esi*8]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.003ce0b0
mov eax, dword [ebp]
inc esi
add esp, 0xc
cmp esi, dword [eax + 4]
jl 0x3d23b0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
push ecx
mov ecx, ebx
mov eax, edi
call fcn.003ce140
mov eax, dword [ebp]
inc esi
add esp, 4
cmp esi, dword [eax + 4]
jl 0x3d23e0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea esp, [esp]
mov eax, dword [eax]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
push edx
push eax
push edi
mov ecx, ebx
call fcn.003ce0b0
mov eax, dword [ebp]
inc esi
add esp, 0xc
cmp esi, dword [eax + 4]
jl 0x3d2410
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
push eax
mov edx, esi
call fcn.003cd290
fld dword [eax]
push ecx
mov ecx, ebx
fstp dword [esp]
mov eax, edi
call fcn.003ce190
mov eax, dword [ebp]
inc esi
add esp, 4
cmp esi, dword [eax + 4]
jl 0x3d2440
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
push eax
mov edx, esi
call fcn.003cd490
fld qword [eax]
sub esp, 8
fstp qword [esp]
push edi
mov ecx, ebx
call fcn.003ce1f0
mov eax, dword [ebp]
inc esi
add esp, 0xc
cmp esi, dword [eax + 4]
jl 0x3d2474
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
push ecx
push eax
call fcn.00305410
movzx edx, byte [eax]
push edx
mov esi, ebx
mov eax, edi
call fcn.003ce280
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
inc ecx
add esp, 4
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d24b0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ecx, [ecx]
push eax
mov edx, esi
call fcn.00303b10
mov edx, eax
mov ecx, ebx
mov eax, edi
call fcn.003ce2b0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d24f0
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
lea ecx, [ecx]
push eax
mov edx, esi
call fcn.00303b10
mov edx, eax
mov ecx, ebx
mov eax, edi
call fcn.003ce2b0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d2520
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov edx, dword [esp + 0x14]
push eax
call fcn.003cd290
mov edi, dword [eax]
mov eax, dword [esp + 0x5c]
mov esi, ebx
call fcn.003cdfb0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d2551
jmp case.default.0x3d2606
mov eax, dword [ebp]
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov edi, ecx
lea esp, [esp]
push eax
mov edx, esi
call fcn.00303b10
mov ebx, eax
mov eax, dword [esp + 0x5c]
call fcn.003ce2f0
mov eax, dword [ebp]
inc esi
cmp esi, dword [eax + 4]
jl 0x3d2590
jmp case.default.0x3d2606
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
cmp dword [eax + 4], esi
jle case.default.0x3d2606
mov edx, dword [esp + 0x14]
push eax
call fcn.00303b10
mov esi, eax
mov eax, dword [esp + 0x5c]
mov edi, ebx
call fcn.003ce320
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [eax + 4]
jl 0x3d25c1
jmp case.default.0x3d2606
cmp byte [ebp + 0xa], 0
jne case.default.0x3d2606
movzx eax, byte [ebp + 8]
dec eax
cmp eax, 0x11
ja case.default.0x3d2606
jmp dword [eax*4 + 0x3d281c]
mov edi, dword [ebp]
mov eax, dword [esp + 0x5c]
mov esi, ebx
call fcn.003cdfb0
jmp case.default.0x3d2606
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
push ecx
mov esi, ebx
mov eax, edi
call fcn.003cdff0
add esp, 8
jmp case.default.0x3d2606
mov edx, dword [ebp]
push edx
mov esi, ebx
mov eax, edi
call fcn.003ce020
add esp, 4
jmp case.default.0x3d2606
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push eax
push ecx
mov esi, ebx
mov eax, edi
call fcn.003cdff0
add esp, 8
jmp case.default.0x3d2606
mov edi, dword [ebp]
mov eax, dword [esp + 0x5c]
mov esi, ebx
call fcn.003ce040
jmp case.default.0x3d2606
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push edx
push eax
mov esi, ebx
mov eax, edi
call fcn.003ce070
add esp, 8
jmp case.default.0x3d2606
mov ecx, dword [ebp]
push ecx
mov ecx, ebx
mov eax, edi
call fcn.003ce140
add esp, 4
jmp case.default.0x3d2606
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push edx
push eax
push edi
call fcn.003ce0b0
add esp, 0xc
jmp case.default.0x3d2606
mov ecx, dword [ebp]
push ecx
mov ecx, ebx
mov eax, edi
call fcn.003ce140
add esp, 4
jmp case.default.0x3d2606
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push edx
push eax
push edi
call fcn.003ce0b0
add esp, 0xc
jmp case.default.0x3d2606
fld dword [ebp]
push ecx
mov eax, edi
fstp dword [esp]
call fcn.003ce190
add esp, 4
jmp case.default.0x3d2606
fld qword [ebp]
sub esp, 8
fstp qword [esp]
push edi
call fcn.003ce1f0
add esp, 0xc
jmp case.default.0x3d2606
movzx ecx, byte [ebp]
push ecx
mov esi, ebx
mov eax, edi
call fcn.003ce280
add esp, 4
jmp case.default.0x3d2606
mov edx, dword [ebp]
mov eax, edi
call fcn.003ce2b0
jmp case.default.0x3d2606
mov edx, dword [ebp]
mov eax, edi
call fcn.003ce2b0
jmp case.default.0x3d2606
mov edi, dword [ebp]
mov eax, dword [esp + 0x5c]
mov esi, ebx
call fcn.003cdfb0
jmp case.default.0x3d2606
mov ebx, dword [ebp]
mov eax, dword [esp + 0x5c]
mov edi, ecx
call fcn.003ce2f0
jmp case.default.0x3d2606
mov esi, dword [ebp]
mov eax, dword [esp + 0x5c]
mov edi, ebx
call fcn.003ce320
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
add esp, 0x40
ret 8