Function at 0x441990
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x280
mov ebx, dword [0x45725c]
mov ebp, dword [0x457258]
mov eax, ebp
or eax, ebx
jne 0x441a38
mov dword [esp + 0x50], 0x118a1f82
mov dword [esp + 0x54], 0x158e13f4
mov dword [esp + 0x58], 0x9c81788
mov dword [esp + 0x5c], 0xd960bec
mov dword [esp + 0x60], 0x10e0f90
mov byte [esp + 0x64], 0
mov eax, 5
mov ecx, 0xba
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0xba
mov edx, eax
and edx, 5
or edx, esi
xor dl, byte [esp + eax + 0x4b]
xor dl, 0xfa
add dl, 0xa7
mov byte [esp + eax + 0x4b], dl
inc eax
dec ecx
cmp eax, 0x1a
jne 0x4419f0
lea eax, [esp + 0x50]
push eax
call fcn.00441590
add esp, 4
mov ebp, eax
mov dword [0x45725c], edx
mov dword [0x457258], eax
or eax, edx
je 0x441b12
mov ebx, edx
lea eax, [esp + 0x150]
push 0x40
push eax
push ebx
push ebp
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441b12
mov eax, dword [esp + 0x18c]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x190]
push 0xf0
push edx
push ecx
push eax
call fcn.00441380
add esp, 0x10
xor edi, edi
test eax, eax
js 0x441b14
cmp dword [esp + 0x204], 0
je 0x441b14
mov eax, dword [esp + 0x200]
mov esi, 0
test eax, eax
je 0x441b16
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441b12
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x441adb
mov eax, esi
push eax
call fcn.0040c720
add esp, 4
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441b25
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x441b2e
mov eax, 0xffffffff
jmp 0x441b30
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x280
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x441d2a
add eax, eax
push eax
call fcn.0040c720
add esp, 4
mov esi, dword [esp + 0x40]
add esi, esi
mov ecx, dword [esp + 0x4c]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push edx
push ecx
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441d1a
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x441b7c
mov eax, esi
push eax
call fcn.0040c720
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x48]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00441380
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x441d08
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x441bb8
mov esi, eax
test esi, esi
je 0x441d08
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x441bf7
mov ebp, 0x36c0b43e
cmp ebp, dword [esp + 0x294]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x441d3b
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
je 0x441d08
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.00441380
add esp, 0x10
test eax, eax
jns 0x441c24
cmp eax, 0x8000000d
jne 0x441bea
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x51], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x441c30
mov dword [esp + 0x14], 0x767608f7
mov byte [esp + 0x18], 0
xor edx, edx
nop
nop
mov ebx, edx
add bl, 0x3e
xor bl, byte [esp + edx + 0x14]
add bl, 0xca
mov byte [esp + edx + 0x14], bl
inc edx
cmp edx, 5
jne 0x441c50
test eax, eax
je 0x441bd0
mov edx, dword [esp + 0x14]
mov ebx, edx
not ebx
mov dword [esp], ebx
mov ebp, 0x36c0b43e
lea ebx, [esp + 0x50]
cmp eax, 1
je 0x441cdd
and ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
movsx edi, byte [ebx]
xor edi, ebp
mov ebp, edi
and ebp, dword [esp]
mov esi, edi
not esi
and esi, edx
imul esi, ebp
mov ebp, edi
and ebp, edx
or edi, edx
imul edi, ebp
add edi, esi
movsx ebp, byte [ebx + 1]
add ebx, 2
xor ebp, edi
mov esi, ebp
and esi, dword [esp]
mov edi, ebp
not edi
and edi, edx
imul edi, esi
mov esi, ebp
and esi, edx
or ebp, edx
imul ebp, esi
add ebp, edi
add ecx, 0xfffffffe
jne 0x441c90
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x1c]
test al, 1
je 0x441bd5
movsx eax, byte [ebx]
xor ebp, eax
mov ecx, dword [esp]
and ecx, ebp
mov eax, ebp
not eax
and eax, edx
imul eax, ecx
mov ecx, ebp
and ecx, edx
or ebp, edx
imul ebp, ecx
add ebp, eax
jmp 0x441bd5
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.0040c730
add esp, 4
jmp 0x441d1e
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040c730
add esp, 4
push dword [esp + 0xc]
call fcn.0040c730
add esp, 4
jmp 0x441b16
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x441d0c