Function at 0x43f1ef
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 0x43f21f
xor eax, eax
jmp 0x43f6d5
mov eax, dword [esi]
push 0x28
lea ecx, [ebp - 8]
mov dword [ebp - 0x14], eax
call fcn.0042c827
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 0x4848e0
push eax
mov word [eax + 2], cx
call fcn.004273ac
neg eax
push 2
sbb al, al
push 0x4848e4
push dword [ebp - 8]
inc al
mov byte [ebp + 0xb], al
call fcn.004273ac
add esp, 0x18
test eax, eax
jne 0x43f28c
push edi
push dword [esi]
call fcn.0042a3db
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 0x43f2bb
push 2
jmp 0x43f2de
push 3
push 0x4848e8
push dword [ebp - 8]
call fcn.004273ac
add esp, 0xc
test eax, eax
jne 0x43f4d8
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.0046cf30
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 0x43f345
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.0042c850
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.0042b9c6
add esp, 0x18
mov ebx, eax
lea eax, [ebx + 9]
push eax
mov ecx, esi
call fcn.0042c850
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 0x43f357
mov eax, dword [esi]
and word [eax + ebx*2 + 0x10], 0
cmp dword [ebp + 0xc], 0x10
jge 0x43f466
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 0x43f3bc
mov ax, word [ecx + 2]
xor ax, word [ebp - 4]
cmp ax, 0x21
jne 0x43f3bc
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c4d5
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c50e
mov ecx, dword [ebp + 8]
add esp, 0x10
mov ax, word [ecx]
xor ax, word [ebp - 4]
cmp ax, 0x23
jne 0x43f466
mov edx, ecx
sub edx, edi
sar edx, 1
mov eax, ebx
sub eax, edx
cmp eax, 0x20
jle 0x43f3df
push 0x20
pop eax
xor edx, edx
test eax, eax
jle 0x43f400
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 0x43f3ed
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
and word [edi + edx*2], 0
push 6
push 0x487040
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43f466
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
add edi, 0xc
push eax
mov dword [ebp + 8], edi
call fcn.0042f0d0
mov eax, dword [ebp - 0x24]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
jl 0x43f43c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov ecx, eax
or ecx, 0x20
cmp cx, 0x74
je 0x43f453
cmp ax, 0x2a
jne 0x43f466
add dword [ebp + 8], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042f0d0
pop ecx
pop ecx
mov edi, 0x1000
cmp dword [ebp + 0xc], edi
jge 0x43f691
cmp dword [ebp - 0x18], 0
jle 0x43f691
movzx eax, word [0x49a010]
cmp dword [ebp - 0x18], eax
jne 0x43f691
cmp dword [ebp - 0x20], eax
je 0x43f691
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.0042ff17
mov eax, dword [esi]
push dword [ebp - 4]
push eax
call fcn.0040c7d6
or dword [ebp + 0xc], edi
add esp, 0x18
lea ecx, [ebp + 8]
mov ebx, eax
call fcn.00427365
jmp 0x43f345
cmp dword [ebp + 0xc], 0
je 0x43f5e4
mov eax, dword [ebp - 8]
cmp byte [eax], 0x23
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], edx
jne 0x43f517
cmp byte [eax + 1], 0x21
jne 0x43f517
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c47f
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
call fcn.0042c4b1
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 0x43f5e7
mov ecx, dword [ebp - 0x24]
sub ecx, edx
cmp ecx, 0x20
mov dword [ebp - 0x24], ecx
jle 0x43f538
push 0x20
pop ecx
mov dword [ebp - 0x24], ecx
test ecx, ecx
jle 0x43f55c
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 0x43f548
mov eax, dword [ebp - 8]
push 6
push 0x481500
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x43f5e4
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.004365f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042f0d0
mov eax, dword [ebp - 0x24]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
jl 0x43f5b4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ax, word [eax]
or ax, 0x20
cmp ax, 0x74
jne 0x43f5d7
add dword [ebp + 8], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042f0d0
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00427365
jmp 0x43f315
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
mov edx, ecx
sub edx, dword [ebp - 0x14]
add edi, edx
cmp edi, 4
jl 0x43f61e
cmp byte [eax], 0
jne 0x43f60e
cmp byte [eax + 1], 0
je 0x43f61e
push edi
push ecx
call fcn.0042a3db
pop ecx
pop ecx
jmp 0x43f345
cmp byte [eax + 1], 0
jne 0x43f61e
cmp byte [eax + 2], 0
jne 0x43f345
lea eax, [edi + edi*2 + 3]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c850
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.0042b9c6
mov ebx, eax
add esp, 0x18
test ebx, ebx
jg 0x43f67d
push dword [ebp + 8]
lea eax, [edi + edi]
push eax
push dword [ebp - 0xc]
push edi
push dword [esi]
push 0xfde9
call fcn.0042b9c6
mov ebx, eax
add esp, 0x18
test ebx, ebx
jle 0x43f315
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 0x43f345
add ebx, ebx
cmp dword [ebp - 0x28], 0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
je 0x43f6ba
push dword [ebp - 8]
call fcn.004272e4
push dword [ebp - 0xc]
call fcn.004272e4
push dword [ebp - 0x34]
call fcn.004272e4
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00427365
lea ecx, [ebp - 0xc]
call fcn.00427365
lea ecx, [ebp - 8]
call fcn.00427365
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret