Function at 0x44d1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x61900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov byte [ebp - 5], dl
push ebx
push esi
mov dword [ebp - 0x18], eax
mov esi, dword [eax + 0x34c]
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], esi
mov eax, dword [esi]
mov edi, dword [eax + 0x30]
mov eax, 0x24924925
cmp edi, dword [esi + 0x14]
cmovae edi, dword [esi + 0x14]
sub edi, 7
mul edi
mov eax, 1
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 6
cmp edi, eax
cmovb edi, eax
imul eax, edi, 0x70
mov dword [ebp - 0x30], edi
add eax, 7
call fcn.004b15d0
mov eax, edi
mov dword [ebp - 0x1c], esp
shl eax, 5
call fcn.004b15d0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], esp
test ecx, ecx
je 0x44d574
nop dword [eax]
cmp ecx, edi
mov ebx, ecx
cmova ebx, edi
xor esi, esi
xor edi, edi
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x44d2a4
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x14]
shr al, 5
and eax, 0xffffff01
add ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
nop dword [eax]
mov edx, dword [ebp - 0x1c]
push eax
movzx eax, byte [ecx + edi]
mov ecx, dword [ebp - 0x18]
push eax
lea edx, [esi + edx]
call fcn.0044cb40
mov ecx, dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebp - 0x10]
inc edi
add esp, 8
cmp edi, ebx
jb 0x44d280
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
movzx ecx, word [edx + 0x40]
mov eax, ecx
and cx, word [edx + 0x44]
not eax
and ax, word [edi + 4]
or ax, cx
mov ecx, dword [ebp - 0x1c]
mov word [edi + 4], ax
mov edx, ecx
mov byte [esi + ecx], 0x80
movzx eax, byte [edi + 4]
mov byte [esi + ecx + 1], al
movzx eax, byte [edi + 6]
mov byte [esi + ecx + 2], al
mov byte [esi + ecx + 3], 0x82
movzx eax, byte [edi + 5]
mov byte [esi + ecx + 4], al
movzx eax, byte [edi + 7]
mov byte [esi + ecx + 5], al
mov byte [esi + ecx + 6], 0x87
add esi, 7
mov ecx, dword [edi]
push esi
call fcn.00484510
add esp, 4
cmp eax, esi
jne 0x44d4fa
test byte [ebp - 5], 0x20
je 0x44d48a
mov eax, ebx
xor esi, esi
shl eax, 5
mov dword [ebp - 0x10], eax
nop
mov edx, dword [ebp - 0x20]
sub eax, esi
mov ecx, dword [edi]
push eax
lea edx, [esi + edx]
call fcn.00484420
add esp, 4
test eax, eax
js 0x44d4a8
add esi, eax
mov eax, dword [ebp - 0x10]
cmp esi, ebx
jb 0x44d320
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x44d48a
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add edx, 3
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
movzx ebx, byte [edx - 2]
movzx ecx, byte [edx - 1]
shl ebx, 8
mov esi, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
movzx eax, byte [edx - 3]
or ebx, eax
movzx eax, byte [edx]
xor ebx, esi
and ebx, edi
neg ebx
sbb bl, bl
shl eax, 8
or ecx, eax
and bl, 0x80
xor ecx, esi
mov al, bl
or al, 0x40
test edi, ecx
movzx edx, al
movzx eax, bl
cmove edx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
mov al, dl
or al, 0x20
xor ecx, esi
movzx ebx, al
test edi, ecx
movzx eax, dl
cmove ebx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 4]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, eax
mov al, bl
or al, 0x10
xor ecx, esi
movzx edx, al
test edi, ecx
movzx eax, bl
cmove edx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 5]
shl ecx, 8
or ecx, eax
mov al, dl
or al, 8
xor ecx, esi
movzx ebx, al
test edi, ecx
movzx eax, dl
cmove ebx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 8]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
mov al, bl
or al, 4
xor ecx, esi
movzx edx, al
test edi, ecx
movzx eax, bl
cmove edx, eax
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0xa]
movzx eax, byte [eax + 9]
shl ecx, 8
or ecx, eax
mov al, dl
xor ecx, esi
or al, 2
movzx ebx, al
movzx eax, dl
test edi, ecx
cmove ebx, eax
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + 0xc]
movzx eax, byte [eax + 0xb]
shl edx, 8
or edx, eax
mov al, bl
or al, 1
xor edx, esi
test edi, edx
movzx ecx, al
mov edx, dword [ebp - 0x28]
movzx eax, bl
mov ebx, dword [ebp - 0x2c]
cmove ecx, eax
mov eax, dword [ebp - 0x10]
mov byte [edx + eax], cl
inc eax
mov edx, dword [ebp - 0xc]
add edx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp eax, ebx
jb 0x44d365
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
add eax, ebx
sub ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x10], ecx
je 0x44d576
mov edi, dword [ebp - 0x30]
jmp 0x44d250
mov esi, dword [edi]
call fcn.00495b25
mov edi, dword [eax]
call fcn.00495b25
mov ecx, esi
mov edx, eax
call fcn.00483c60
push eax
push edi
push dword [edx]
call fcn.00497f19
add esp, 4
push eax
push str.n___0
push str.avrftdi_transmit_bb
push 0x1ac
push str.D:_a_avrdude_avrdude_src_avrftdi.c
push str._s:_d__s____s:__s___d__n_t_s_n
push 0xfffffffffffffffe
push 0
push str.avrftdi_transmit_bb
push str.D:_a_avrdude_avrdude_src_avrftdi.c
push 0x1ac
jmp 0x44d54a
mov esi, dword [edi]
call fcn.00495b25
mov edi, dword [eax]
call fcn.00495b25
mov ecx, esi
mov edx, eax
call fcn.00483c60
push eax
push edi
push dword [edx]
call fcn.00497f19
add esp, 4
push eax
push str.ftdi_write_data_pdata__ftdic__send_buffer__len____len
push str.avrftdi_transmit_bb
push 0x1a6
push str.D:_a_avrdude_avrdude_src_avrftdi.c
push str._s:_d__s____s:__s___d__n_t_s_n
push 0xfffffffffffffffe
push 0
push str.avrftdi_transmit_bb
push str.D:_a_avrdude_avrdude_src_avrftdi.c
push 0x1a6
push 2
call fcn.0048c22c
add esp, 4
push eax
call fcn.00401300
add esp, 0x38
or eax, 0xffffffff
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048485e
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048485e
mov esp, ebp
pop ebp
ret