Function at 0x43edf7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0xc]
and dword [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 4]
and eax, 2
sar ebx, 0x10
test edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ebx
jg 0x43ee27
xor eax, eax
jmp 0x43f2dd
mov eax, dword [esi]
push 0x28
lea ecx, [ebp - 8]
mov dword [ebp - 0x14], eax
call fcn.0042c415
mov eax, dword [esi + 4]
add eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov cx, word [eax]
mov eax, dword [ebp - 8]
xor cx, bx
mov word [eax], cx
mov ecx, dword [esi]
mov cx, word [ecx + 2]
xor cx, bx
push 0x4848d8
push eax
mov word [eax + 2], cx
call fcn.0042705d
neg eax
push 2
sbb al, al
push 0x4848dc
push dword [ebp - 8]
inc al
mov byte [ebp + 0xb], al
call fcn.0042705d
add esp, 0x18
test eax, eax
jne 0x43ee94
push edi
push dword [esi]
call fcn.0042a08e
pop ecx
pop ecx
mov byte [ebp + 0xb], 1
and dword [ebp - 0x10], 0
or dword [ebp - 0x20], 0xffffffff
mov eax, edi
cdq
sub eax, edx
mov ebx, eax
xor eax, eax
sar ebx, 1
cmp byte [ebp + 0xb], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0xff000000
je 0x43eec3
push 2
jmp 0x43eee6
push 3
push 0x4848e0
push dword [ebp - 8]
call fcn.0042705d
add esp, 0xc
test eax, eax
jne 0x43f0e0
mov dword [ebp - 0x10], 0xfde9
push 3
pop ecx
sub edi, ecx
mov eax, edi
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esi]
lea edx, [edi + 6]
push edx
add ecx, eax
push ecx
push eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
sar ebx, 1
call fcn.0046ca60
mov eax, dword [esi]
mov cl, byte [ebp - 4]
mov byte [edi + eax], cl
mov eax, dword [esi]
add esp, 0xc
cmp byte [ebp + 0xb], 0
mov dword [ebp - 0x14], eax
jne 0x43ef4d
mov eax, dword [esi]
and dword [esi], 0
mov dword [ebp - 0x34], eax
lea eax, [edi + edi*2 + 3]
push eax
mov ecx, esi
call fcn.0042c43e
movzx eax, word [ebp - 4]
push eax
lea eax, [edi + edi]
push eax
push dword [esi]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0042b606
add esp, 0x18
mov ebx, eax
lea eax, [ebx + 9]
push eax
mov ecx, esi
call fcn.0042c43e
push 8
lea eax, [ebx + ebx + 0xe]
pop ecx
mov edx, dword [esi]
mov di, word [ebp - 4]
mov word [eax + edx], di
dec eax
dec eax
dec ecx
jne 0x43ef5f
mov eax, dword [esi]
and word [eax + ebx*2 + 0x10], 0
cmp dword [ebp + 0xc], 0x10
jge 0x43f06e
mov edi, dword [esi]
or dword [ebp - 0x24], 0xffffffff
mov ecx, edi
mov ax, word [ecx]
xor ax, word [ebp - 4]
mov dword [ebp + 8], ecx
cmp ax, 0x23
jne 0x43efc4
mov ax, word [ecx + 2]
xor ax, word [ebp - 4]
cmp ax, 0x21
jne 0x43efc4
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c0c3
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c0fc
mov ecx, dword [ebp + 8]
add esp, 0x10
mov ax, word [ecx]
xor ax, word [ebp - 4]
cmp ax, 0x23
jne 0x43f06e
mov edx, ecx
sub edx, edi
sar edx, 1
mov eax, ebx
sub eax, edx
cmp eax, 0x20
jle 0x43efe7
push 0x20
pop eax
xor edx, edx
test eax, eax
jle 0x43f008
mov edx, dword [ebp - 8]
sub ecx, edx
mov dword [ebp + 8], eax
mov di, word [ecx + edx]
xor di, word [ebp - 4]
mov word [edx], di
inc edx
inc edx
dec eax
jne 0x43eff5
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
and word [edi + edx*2], 0
push 6
push 0x487038
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43f06e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
add edi, 0xc
push eax
mov dword [ebp + 8], edi
call fcn.0042ed5c
mov eax, dword [ebp - 0x24]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
jl 0x43f044
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov ecx, eax
or ecx, 0x20
cmp cx, 0x74
je 0x43f05b
cmp ax, 0x2a
jne 0x43f06e
add dword [ebp + 8], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042ed5c
pop ecx
pop ecx
mov edi, 0x1000
cmp dword [ebp + 0xc], edi
jge 0x43f299
cmp dword [ebp - 0x18], 0
jle 0x43f299
movzx eax, word [0x49a010]
cmp dword [ebp - 0x18], eax
jne 0x43f299
cmp dword [ebp - 0x20], eax
je 0x43f299
movzx ecx, word [ebp - 4]
mov eax, dword [esi]
and dword [esi], 0
push ecx
xor ecx, ecx
cmp dword [ebp - 0x18], 0x3b6
mov dword [ebp + 8], eax
sete cl
push ecx
push esi
push eax
call fcn.0042fba3
mov eax, dword [esi]
push dword [ebp - 4]
push eax
call fcn.0040c61c
or dword [ebp + 0xc], edi
add esp, 0x18
lea ecx, [ebp + 8]
mov ebx, eax
call fcn.0042704a
jmp 0x43ef4d
cmp dword [ebp + 0xc], 0
je 0x43f1ec
mov eax, dword [ebp - 8]
cmp byte [eax], 0x23
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], edx
jne 0x43f11f
cmp byte [eax + 1], 0x21
jne 0x43f11f
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c06d
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c09f
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
add esp, 0x10
mov cl, byte [edx]
xor cl, byte [ebp - 4]
cmp cl, 0x23
jne 0x43f1ef
mov ecx, dword [ebp - 0x24]
sub ecx, edx
cmp ecx, 0x20
mov dword [ebp - 0x24], ecx
jle 0x43f140
push 0x20
pop ecx
mov dword [ebp - 0x24], ecx
test ecx, ecx
jle 0x43f164
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov cl, byte [ecx + eax]
xor cl, byte [ebp - 4]
mov byte [eax], cl
inc eax
dec dword [ebp - 0x24]
jne 0x43f150
mov eax, dword [ebp - 8]
push 6
push 0x481508
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x43f1ec
mov al, byte [ebp - 4]
mov ecx, dword [ebp + 8]
or dword [ebp - 0x24], 0xffffffff
or byte [ebp + 0xd], 2
xor al, 0x2d
mov byte [ecx + 1], al
mov eax, dword [ebp - 8]
push 0xffffffffffffffff
add eax, 6
push eax
lea ecx, [ebp - 0x1c]
call fcn.00436214
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042ed5c
mov eax, dword [ebp - 0x24]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
jl 0x43f1bc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ax, word [eax]
or ax, 0x20
cmp ax, 0x74
jne 0x43f1df
add dword [ebp + 8], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042ed5c
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0042704a
jmp 0x43ef1d
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
mov edx, ecx
sub edx, dword [ebp - 0x14]
add edi, edx
cmp edi, 4
jl 0x43f226
cmp byte [eax], 0
jne 0x43f216
cmp byte [eax + 1], 0
je 0x43f226
push edi
push ecx
call fcn.0042a08e
pop ecx
pop ecx
jmp 0x43ef4d
cmp byte [eax + 1], 0
jne 0x43f226
cmp byte [eax + 2], 0
jne 0x43ef4d
lea eax, [edi + edi*2 + 3]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c43e
movzx eax, word [ebp - 4]
mov dword [ebp + 8], eax
or eax, 0x1000000
push eax
lea ecx, [edi + edi]
push ecx
push dword [ebp - 0xc]
push edi
push dword [esi]
push 0
call fcn.0042b606
mov ebx, eax
add esp, 0x18
test ebx, ebx
jg 0x43f285
push dword [ebp + 8]
lea eax, [edi + edi]
push eax
push dword [ebp - 0xc]
push edi
push dword [esi]
push 0xfde9
call fcn.0042b606
mov ebx, eax
add esp, 0x18
test ebx, ebx
jle 0x43ef1d
mov dword [ebp - 0x10], 0xfde9
mov eax, dword [ebp - 0xc]
and word [eax + ebx*2], 0
mov ecx, dword [esi]
mov dword [esi], eax
mov dword [ebp - 0xc], ecx
jmp 0x43ef4d
add ebx, ebx
cmp dword [ebp - 0x28], 0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
je 0x43f2c2
push dword [ebp - 8]
call fcn.00426fb0
push dword [ebp - 0xc]
call fcn.00426fb0
push dword [ebp - 0x34]
call fcn.00426fb0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0042704a
lea ecx, [ebp - 0xc]
call fcn.0042704a
lea ecx, [ebp - 8]
call fcn.0042704a
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret