Function at 0x443470
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x27c
mov ebx, dword [0x459d2c]
mov ebp, dword [0x459d28]
mov eax, ebp
or eax, ebx
jne 0x443555
mov dword [esp + 0x4c], 0xf77af94a
mov dword [esp + 0x50], 0xf346f548
mov dword [esp + 0x54], 0xcfbcf144
mov dword [esp + 0x58], 0xcb7ecd70
mov dword [esp + 0x5c], 0xc7c6c97c
mov word [esp + 0x60], 0
mov byte [esp + 0x62], 0
mov eax, 0x64395856
mov ecx, 0xa9
nop
nop
movzx edx, byte [esp + eax - 0x6439580a]
mov edi, eax
or edi, edx
mov esi, edx
not esi
or esi, ecx
and esi, edi
not esi
and esi, eax
mov edi, esi
and edi, 0x6439587d
mov ebx, esi
and ebx, 2
or esi, 2
imul esi, ebx
xor ebx, 2
imul ebx, edi
add esi, ebx
lea edi, [ecx - 0x64395900]
and edi, esi
not esi
and esi, eax
sub esi, edi
add esi, edx
mov edx, esi
and edx, 0x36
xor esi, 0x36
lea edx, [esi + edx*2]
add dl, 0x1c
mov byte [esp + eax - 0x6439580a], dl
inc eax
dec ecx
cmp eax, 0x6439586d
jne 0x4434d0
lea eax, [esp + 0x4c]
push eax
call fcn.00443110
add esp, 4
mov ebp, eax
mov dword [0x459d2c], edx
mov dword [0x459d28], eax
or eax, edx
je 0x44362f
mov ebx, edx
lea eax, [esp + 0x14c]
push 0x40
push eax
push ebx
push ebp
call fcn.00442ea0
add esp, 0x10
test eax, eax
js 0x44362f
mov eax, dword [esp + 0x188]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x18c]
push 0xf0
push edx
push ecx
push eax
call fcn.00442ea0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x443631
cmp dword [esp + 0x200], 0
je 0x443631
mov eax, dword [esp + 0x1fc]
mov esi, 0
test eax, eax
je 0x443633
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x24]
push 0x28
push edx
push ecx
push eax
call fcn.00442ea0
add esp, 0x10
test eax, eax
js 0x44362f
mov ecx, dword [esp + 0x38]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4435f8
mov eax, esi
push eax
call fcn.0040c510
add esp, 4
mov edx, dword [esp + 0x40]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.00442ea0
add esp, 0x10
test eax, eax
js 0x443642
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x44364b
mov eax, 0xffffffff
jmp 0x44364d
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x443856
add eax, eax
push eax
call fcn.0040c510
add esp, 4
mov esi, dword [esp + 0x3c]
mov ecx, esi
and ecx, 0xfffffffd
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
xor edx, 2
imul edx, ecx
add esi, edx
mov ecx, dword [esp + 0x48]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.00442ea0
add esp, 0x10
test eax, eax
js 0x443846
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4436af
mov eax, esi
push eax
call fcn.0040c510
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00442ea0
add esp, 0x10
test eax, eax
mov dword [esp], edi
js 0x443835
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x4436ea
mov esi, eax
test esi, esi
je 0x443835
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0x44372d
mov eax, 0xfb520141
cmp eax, dword [esp + 0x290]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x443867
mov eax, dword [esp + 0xc]
inc eax
cmp eax, esi
je 0x443835
mov dword [esp + 0xc], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x50]
push edx
push ecx
push eax
call fcn.00442ea0
add esp, 0x10
test eax, eax
jns 0x44375a
cmp eax, 0x8000000d
jne 0x443720
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
cmp byte [esp + ecx + 0x4d], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x443770
mov dword [esp + 0x10], 0x36ca34a1
lea eax, [esp + 0x14]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x33
xor dl, byte [esp + eax + 0x10]
inc dl
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, 7
jne 0x4437a0
test ecx, ecx
je 0x443702
mov edx, dword [esp + 0x10]
mov ebp, 0xfb520141
lea esi, [esp + 0x4c]
cmp ecx, 4
jb 0x44380e
mov eax, ebx
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [esi]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 1]
xor ebp, edi
imul ebp, edx
movsx edi, byte [esi + 2]
xor edi, ebp
imul edi, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, edi
imul ebp, edx
add eax, 0xfffffffc
jne 0x4437e0
mov edi, dword [esp]
mov eax, ebp
test cl, 3
je 0x443707
and ebx, 3
xor ecx, ecx
nop
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp ebx, ecx
jne 0x443820
jmp 0x443707
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040c520
add esp, 4
jmp 0x44384a
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040c520
add esp, 4
push dword [esp + 8]
call fcn.0040c520
add esp, 4
jmp 0x443633
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x443839