Function at 0x436f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0
mov dword [esp], 0x80b0a0d
mov word [esp + 4], 0
mov ebx, 0x9971d82
mov ecx, 0x7668e27d
nop
nop
nop
nop
nop
movzx edi, byte [esp + ebx - 0x9971d82]
lea edx, [ebx - 0x97fffff]
mov ebp, edx
or ebp, 0xff8b4529
lea esi, [ecx + ebp]
and edx, 0x141886
mov eax, ebx
sub eax, ebp
and eax, 0x934be76
mov ebp, esi
and ebp, 0x36080009
or ebp, eax
xor ebp, edx
xor ebp, 0x4934fe76
and edx, esi
or edx, ebp
xor edx, edi
xor edx, 0xff8b4529
lea eax, [edx + 0x500c6c70]
mov esi, edx
and esi, 1
mov edi, eax
and edi, 0xfe
xor eax, 1
add edx, esi
add edx, 0x500c6c70
add edx, eax
sub edx, edi
mov byte [esp + ebx - 0x9971d82], dl
inc ebx
dec ecx
cmp ebx, 0x9971d88
jne 0x436f30
mov edi, dword [esp]
mov eax, dword [0x44a7f4]
test eax, eax
je 0x436ff6
xor ecx, ecx
mov edx, dword [0x44a7f8]
nop
nop
nop
cmp dword [edx + ecx*8], 0x9abdb589
je 0x436fd0
inc ecx
cmp eax, ecx
jne 0x436fc0
jmp 0x436ff6
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x436ff6
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 5
push 0x10
push eax
push dword [0x44a7fc]
call fcn.00439fa0
add esp, 0x1c
mov edi, eax
mov dword [esp], 0x317e7f78
mov eax, 0x6df80c95
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x6df80c95]
xor ecx, eax
mov edx, 1
sub edx, ecx
mov esi, 0xe9
sub esi, ecx
and ecx, 1
and edx, 1
and esi, 0xfe
or esi, edx
xor esi, 0xfe
lea ecx, [esi + ecx*2]
mov byte [esp + eax - 0x6df80c95], cl
inc eax
cmp eax, 0x6df80c99
jne 0x437010
cmp edi, dword [esp]
jne 0x4371d8
push dword [esp + 0xc]
call fcn.00436e30
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp], 0x80b0a0d
mov word [esp + 4], 0
mov esi, 0x9971d82
mov edi, 0x7668e27d
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + esi - 0x9971d82]
lea ebp, [esi - 0x97fffff]
mov ebx, ebp
or ebx, 0xff8b4529
lea ecx, [edi + ebx]
and ebp, 0x141886
mov edx, esi
sub edx, ebx
and edx, 0x934be76
mov ebx, ecx
and ebx, 0x36080009
or ebx, edx
xor ebx, ebp
xor ebx, 0x4934fe76
and ebp, ecx
or ebp, ebx
xor ebp, eax
xor ebp, 0xff8b4529
lea eax, [ebp + 0x500c6c70]
mov ecx, ebp
and ecx, 1
mov edx, eax
and edx, 0xfe
xor eax, 1
add ecx, ebp
add ecx, 0x500c6c70
add ecx, eax
sub ecx, edx
mov byte [esp + esi - 0x9971d82], cl
inc esi
dec edi
cmp esi, 0x9971d88
jne 0x437090
mov edi, dword [esp]
mov edx, dword [0x44a7f4]
test edx, edx
je 0x437140
xor ecx, ecx
mov esi, dword [0x44a7f8]
mov ebx, dword [esp + 0x2c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + ecx*8], 0x9abdb589
je 0x437146
inc ecx
cmp edx, ecx
jne 0x437130
jmp 0x43716e
mov ebx, dword [esp + 0x2c]
jmp 0x43716e
mov edx, dword [esi + ecx*8 + 4]
cmp edx, edi
je 0x43716e
push 0
push dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
push 5
push 0x10
push edx
push dword [0x44a7fc]
call fcn.00439fa0
add esp, 0x1c
mov edi, eax
test edi, edi
js 0x4371cc
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [edx + esi]
movzx ebp, word [ebx + esi]
test di, di
je 0x4371a5
add esi, 2
cmp di, bp
je 0x437190
cmp di, bp
je 0x4371b7
mov esi, dword [ecx]
test esi, esi
jne 0x437180
mov edi, 0xc0000225
jmp 0x4371cc
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x14]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 0xc], eax
xor edi, edi
push dword [esp + 8]
call fcn.00436e70
add esp, 4
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4