Function at 0x43f7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [esp], 0x34353a3b
mov eax, 0x9a22fb6
mov edi, 0x65dd049
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x9a22fb6]
mov esi, edi
and esi, 0x608904b
mov ebx, eax
and ebx, 0x8000084
or ebx, esi
xor ebx, edx
xor ebx, 0x28554084
mov ebp, 0xbfd51170
sub ebp, ebx
mov esi, ebp
and esi, 1
add ebx, 0x402aee8f
mov edx, ebx
not edx
and ebx, 0x1e
and ebp, 0xe1
or ebp, ebx
xor ebp, 0x1f
and edx, 1
or edx, ebp
add edx, esi
mov byte [esp + eax - 0x9a22fb6], dl
inc eax
dec edi
cmp eax, 0x9a22fba
jne 0x43f820
mov eax, dword [esp]
mov edx, dword [0x4504d8]
test edx, edx
je 0x43f8e2
xor esi, esi
mov edi, dword [0x4504dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x3e416e49
je 0x43f8b0
inc esi
cmp edx, esi
jne 0x43f8a0
jmp 0x43f8e2
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43f8e2
lea eax, [esp + 0x1c]
lea esi, [esp + 8]
push 4
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
push 6
push dword [0x4504e0]
push edx
mov esi, ecx
call fcn.00440d90
mov ecx, esi
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x40]
js 0x43f958
push 0
push 0
mov esi, dword [esp + 0x1c]
push dword [esi + 8]
push dword [esp + 0x14]
push dword [esi + 4]
push dword [esi]
call fcn.0043ea60
test eax, eax
jns 0x43f921
mov ecx, eax
mov dword [esp + 4], 0
mov edx, 0
cmp eax, 0x8000000d
jne 0x43f9e3
mov eax, dword [esp + 8]
mov ecx, dword [esi + 8]
add ecx, eax
sub ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov edx, 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ecx, eax
jbe 0x43f9e3
mov eax, dword [esp + 0x3c]
lea ebp, [eax - 1]
mov ecx, dword [esp + 0xc]
jmp 0x43f97d
mov dword [esp + 4], 0
xor edx, edx
jmp 0x43fabe
add ecx, eax
inc ecx
mov dword [esp + 4], 0
mov edx, 0
cmp ecx, dword [esp + 0x10]
jae 0x43f9e3
test edi, edi
je 0x43f986
cmp byte [edi], 0x3f
je 0x43f991
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
cmp al, byte [edx]
jne 0x43f969
cmp dword [esp + 0x3c], 2
jb 0x43f9c1
xor eax, eax
jmp 0x43f9b4
movzx edx, byte [ecx + eax + 1]
mov ebx, dword [esp + 0x38]
cmp dl, byte [ebx + eax + 1]
jne 0x43f967
inc eax
cmp ebp, eax
je 0x43f9c1
test edi, edi
je 0x43f9a0
cmp byte [edi + eax + 1], 0x3f
jne 0x43f9a0
jmp 0x43f9af
test ecx, ecx
je 0x43f9d9
sub ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x43f9e3
mov dword [esp + 4], 0
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp], 0x34353a3b
mov ebx, 0x9a22fb6
mov esi, 0x65dd049
nop
nop
nop
nop
movzx eax, byte [esp + ebx - 0x9a22fb6]
mov ecx, esi
and ecx, 0x608904b
mov edi, ebx
and edi, 0x8000084
or edi, ecx
xor edi, eax
xor edi, 0x28554084
mov ebp, 0xbfd51170
sub ebp, edi
mov eax, ebp
and eax, 1
add edi, 0x402aee8f
mov ecx, edi
not ecx
and edi, 0x1e
and ebp, 0xe1
or ebp, edi
xor ebp, 0x1f
and ecx, 1
or ecx, ebp
add ecx, eax
mov byte [esp + ebx - 0x9a22fb6], cl
inc ebx
dec esi
cmp ebx, 0x9a22fba
jne 0x43fa00
mov ecx, dword [0x4504d8]
test ecx, ecx
je 0x43fabe
mov esi, dword [esp]
xor eax, eax
mov edi, dword [0x4504dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0x16194952
je 0x43fa90
inc eax
cmp ecx, eax
jne 0x43fa80
jmp 0x43fabe
mov ecx, dword [edi + eax*8 + 4]
cmp ecx, esi
je 0x43fabe
lea eax, [esp + 0x18]
lea esi, [esp + 8]
push 0x8000
push eax
push esi
push 0xffffffffffffffff
push 4
push dword [0x4504e0]
push ecx
mov esi, edx
call fcn.00440d90
mov edx, esi
add esp, 0x1c
mov eax, dword [esp + 4]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10