Function at 0x443b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], edi
test edx, edx
je 0x443dcb
test edi, edi
je 0x443b2b
cmp dword [edi + 0x200], 0
jne 0x443b3a
mov eax, 0xffff
add word [edx + 0x28], ax
jne 0x443dcb
mov ebx, dword [edx + 8]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x443c8b
lea esp, [esp]
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x18], esi
test edi, edi
je 0x443b68
cmp dword [edi + 0x200], 0
jne 0x443c2f
mov esi, dword [ebx]
mov dword [esp + 0x2c], esi
mov ecx, esi
test esi, esi
je 0x443b8e
cmp byte [esi], 0
je 0x443b86
lea esp, [esp]
inc ecx
cmp byte [ecx], 0
jne 0x443b80
sub ecx, esi
and ecx, 0x3fffffff
mov eax, dword [ebx + 0x18]
add eax, 0x18
mov dword [esp + 0x10], ecx
mov edx, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
test edx, edx
je 0x443c01
xor eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
test ecx, ecx
jle 0x443bf5
mov ebx, ecx
mov edi, eax
mov ecx, esi
lea ebx, [ebx]
movzx eax, byte [ecx]
lea edx, [edi*8]
movzx esi, byte [eax + 0x4cb038]
xor esi, edx
dec ebx
xor edi, esi
lea ecx, [ecx + 1]
test ebx, ebx
jg 0x443bc0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
xor edx, edx
div dword [esp + 0x30]
mov eax, dword [esp + 0x14]
jmp 0x443c03
xor edx, edx
push edx
mov dword [esp + 0x14], edx
push ecx
mov edx, esi
mov ecx, eax
call fcn.0040e3b0
add esp, 8
test eax, eax
je 0x443c2b
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.0040e460
add esp, 4
mov esi, dword [esp + 0x18]
test edi, edi
je 0x443c3c
cmp dword [edi + 0x200], 0
jne 0x443c50
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x443c50
dec dword [eax]
jne 0x443c50
push eax
call fcn.0040a630
add esp, 4
mov edx, dword [ebx + 0x24]
mov ecx, edi
call fcn.0043a520
mov edx, dword [ebx + 0x10]
mov ecx, edi
call fcn.0040a6d0
test byte [ebx + 0x38], 0x10
je 0x443c74
mov edx, dword [ebx + 0x20]
mov ecx, edi
call fcn.0040a6d0
mov edx, ebx
mov ecx, edi
call fcn.0040a6d0
mov ebx, esi
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x443b50
mov ebx, dword [esp + 0x34]
mov edx, ebx
mov ecx, edi
call fcn.00452040
mov edx, ebx
mov ecx, edi
call fcn.00443a80
mov edx, dword [ebx]
mov ecx, edi
call fcn.0040a6d0
mov edx, dword [ebx + 0x14]
mov ecx, edi
call fcn.0040a6d0
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x443ccd
mov edx, esi
mov ecx, edi
call fcn.0045c5e0
mov edx, esi
mov ecx, edi
call fcn.0040a6d0
mov edx, dword [ebx + 0x18]
mov ecx, edi
call fcn.0043b1e0
test edi, edi
je 0x443ce4
cmp dword [edi + 0x200], 0
jne 0x443ced
mov edx, ebx
xor ecx, ecx
call fcn.0046f0e0
cmp dword [ebx + 0x38], 0
je 0x443dc2
xor esi, esi
cmp dword [ebx + 0x34], esi
jle 0x443d18
mov edi, edi
cmp esi, 1
je 0x443d12
mov edx, dword [ebx + 0x38]
mov ecx, edi
mov edx, dword [edx + esi*4]
call fcn.0040a6d0
inc esi
cmp esi, dword [ebx + 0x34]
jl 0x443d00
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x443dc2
test edi, edi
je 0x443db9
cmp dword [edi + 0x200], 0
je 0x443d85
cmp ecx, dword [edi + 0x10c]
jb 0x443d63
cmp ecx, dword [edi + 0x110]
jae 0x443d63
movzx eax, word [edi + 0xf0]
mov ecx, dword [edi + 0x200]
mov edx, ebx
add dword [ecx], eax
mov ecx, edi
call fcn.0040a6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call dword [0x4e5c38]
mov ecx, dword [edi + 0x200]
add esp, 4
add dword [ecx], eax
mov edx, ebx
mov ecx, edi
call fcn.0040a6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edi + 0x10c]
jb 0x443db9
cmp ecx, dword [edi + 0x110]
jae 0x443db9
mov eax, dword [edi + 0x108]
mov dword [ecx], eax
dec dword [edi + 0xf4]
mov dword [edi + 0x108], ecx
mov edx, ebx
mov ecx, edi
call fcn.0040a6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.0040a630
add esp, 4
mov edx, ebx
mov ecx, edi
call fcn.0040a6d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret