Function at 0x4405b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0x101f1e1d
mov byte [esp + 0xc], 0
mov eax, 0xc5
mov ecx, 0x8746913a
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xbd]
mov edi, esi
not edi
lea ebx, [ecx + 0x78b96ee0]
and ebx, 0x1e
mov edx, eax
and edx, 0xc1
or edx, ebx
lea ebx, [edi + edi]
xor edx, 0x1e
or edx, edi
shl edi, 0x1f
sub edi, ebx
sub edi, esi
add edi, 0x7ffffffe
or edi, ecx
lea esi, [edi + edi]
not esi
add esi, edi
lea ebx, [edx + edx]
not ebx
add ebx, edx
and edx, esi
xor ebx, esi
add ebx, esi
sub ebx, edx
add bl, 0x27
mov byte [esp + eax - 0xbd], bl
inc eax
dec ecx
cmp eax, 0xca
jne 0x440610
mov eax, dword [esp + 8]
mov ecx, dword [0x451d6c]
test ecx, ecx
je 0x4406d8
xor edx, edx
mov esi, dword [0x451d70]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x4406aa
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x440690
jmp 0x4406d8
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4406d8
lea eax, [esp + 0x2c]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x451d74]
push ecx
call fcn.00442ab0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x20]
js 0x440e62
cmp dword [esi + 4], 0
je 0x440df0
xor edx, edx
cmp dword [esi + 4], 2
mov dword [esp + 0x54], 0x7fff
je 0x440706
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0xfffeffff
je 0x440718
mov dword [esp + 0x50], SysStringLen
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov edi, 0x10000
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov dword [esp], 0
jmp 0x440796
mov edx, dword [esp]
mov dword [esp], edx
mov edi, dword [esp + 0x40]
add edi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
adc edx, dword [esp + 0x4c]
cmp edi, dword [esp + 0x50]
mov eax, edx
sbb eax, dword [esp + 0x54]
jae 0x440d3d
mov dword [esp + 0x38], edx
mov ecx, esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push edx
push edi
call fcn.00440120
mov edx, dword [esp + 0x38]
cmp eax, 0xbfffffff
ja 0x440d3d
test eax, eax
js 0x440776
cmp dword [esp + 0x60], 0x1000
jne 0x440776
test byte [esp + 0x5c], 0x66
je 0x440776
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x44]
mov eax, 0
mov dword [esp + 0x34], ecx
sbb eax, ecx
mov dword [esp + 0x30], edi
jae 0x4409f0
mov dword [esp + 0x28], ebx
mov dword [esp + 8], 0x101f1e1d
mov byte [esp + 0xc], 0
mov eax, 0xc5
mov ecx, 0x8746913a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xbd]
mov ebx, esi
not ebx
lea edi, [ecx + 0x78b96ee0]
and edi, 0x1e
mov edx, eax
and edx, 0xc1
or edx, edi
lea edi, [ebx + ebx]
xor edx, 0x1e
or edx, ebx
shl ebx, 0x1f
sub ebx, edi
sub ebx, esi
add ebx, 0x7ffffffe
or ebx, ecx
lea esi, [ebx + ebx]
not esi
add esi, ebx
lea ebx, [edx + edx]
not ebx
add ebx, edx
and edx, esi
xor ebx, esi
add ebx, esi
sub ebx, edx
add bl, 0x27
mov byte [esp + eax - 0xbd], bl
inc eax
dec ecx
cmp eax, 0xca
jne 0x440820
mov eax, dword [0x451d6c]
test eax, eax
mov edi, dword [esp + 0x28]
je 0x4408da
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x451d70]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x4408b0
inc edx
cmp eax, edx
jne 0x4408a0
jmp 0x4408da
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4408da
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x451d74]
push eax
call fcn.00442ab0
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 8], 0x101f1e1d
mov byte [esp + 0xc], 0
mov eax, 0xc5
mov ecx, 0x8746913a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0xbd]
mov esi, ebx
not esi
lea edi, [ecx + 0x78b96ee0]
and edi, 0x1e
mov edx, eax
and edx, 0xc1
or edx, edi
lea edi, [esi + esi]
xor edx, 0x1e
or edx, esi
shl esi, 0x1f
sub esi, edi
sub esi, ebx
add esi, 0x7ffffffe
or esi, ecx
lea edi, [esi + esi]
not edi
add edi, esi
lea ebx, [edx + edx]
not ebx
add ebx, edx
and edx, edi
xor ebx, edi
add ebx, edi
sub ebx, edx
add bl, 0x27
mov byte [esp + eax - 0xbd], bl
inc eax
dec ecx
cmp eax, 0xca
jne 0x440910
mov eax, dword [esp + 8]
mov ecx, dword [0x451d6c]
test ecx, ecx
mov edi, dword [esp + 0x30]
je 0x4409dc
xor edx, edx
mov esi, dword [0x451d70]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x4409ae
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
mov edi, dword [esp + 0x30]
cmp edx, ecx
jb 0x440990
jmp 0x4409dc
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4409dc
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push dword [0x451d74]
push ecx
call fcn.00442ab0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
js 0x440d3d
mov ecx, esi
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x38]
push ebx
push dword [esp + 0x20]
push edx
push edi
call fcn.004403f0
test eax, eax
jns 0x440a16
cmp eax, 0x8000000d
jne 0x440770
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x440770
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
call fcn.00440eb0
add esp, 0x18
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x440d15
mov dword [esp + 0x64], eax
mov esi, eax
mov ecx, dword [esp + 4]
mov edx, dword [esp]
jmp 0x440ab8
push dword [esp + 4]
call fcn.0040c710
add esp, 4
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
lea eax, [ecx + ebx*8]
mov dword [esp + 0x1c], eax
mov edx, ecx
mov eax, dword [esp + 0x18]
add edx, eax
mov ebx, dword [esp + 0x34]
mov dword [ecx + eax], ebx
mov ebx, eax
mov eax, dword [esp + 0x28]
mov dword [ecx + ebx + 4], eax
add edx, 8
add esi, 4
cmp esi, dword [esp + 0x58]
je 0x440cd2
mov ebx, dword [esi]
sub ebx, dword [esp + 0x14]
mov eax, ebx
sar eax, 0x1f
add ebx, edi
mov dword [esp + 0x34], ebx
adc eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, edx
sub eax, ecx
cmp edx, dword [esp + 0x1c]
jne 0x440a97
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x18], eax
mov ecx, eax
sar ecx, 3
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x440afa
mov ebx, eax
mov eax, ebx
and eax, 0xfffffff7
mov ecx, ebx
and ecx, 8
mov edx, ebx
or edx, 8
imul edx, ecx
xor ecx, 8
imul ecx, eax
add edx, ecx
push edx
call fcn.0040c700
add esp, 4
mov ecx, eax
mov edx, dword [esp + 4]
test edx, edx
je 0x440a88
mov dword [esp + 0x1c], ebx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jbe 0x440bcf
cmp dword [esp], ecx
jbe 0x440bcf
cmp dword [esp + 0x18], 0
je 0x440a70
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
add eax, edx
dec eax
mov ecx, dword [esp + 0x24]
add ecx, edx
dec ecx
mov edi, edx
and edi, 3
je 0x440b84
neg edi
xor edx, edx
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x440b70
add eax, edx
add ecx, edx
add edx, dword [esp + 0x18]
mov edi, dword [esp + 4]
sub edi, dword [esp]
cmp edi, 0xfffffffc
ja 0x440a70
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi*2]
mov byte [ecx + edi*2], bl
movzx ebx, byte [eax + edi*2 - 1]
mov byte [ecx + edi*2 - 1], bl
movzx ebx, byte [eax + edi*2 - 2]
mov byte [ecx + edi*2 - 2], bl
movzx ebx, byte [eax + edi*2 - 3]
mov byte [ecx + edi*2 - 3], bl
add edi, 0xfffffffe
add edx, 0xfffffffc
jne 0x440ba0
jmp 0x440a70
mov ebx, dword [esp + 0x18]
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, dword [esp + 0x24]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
xor eax, 3
mov ecx, edx
mov edx, ebx
or edx, 0xfffffffc
and edx, eax
mov eax, dword [esp + 0x24]
add eax, edx
add edx, ecx
mov ecx, ebx
and ecx, 3
mov ebx, ecx
not ebx
or ebx, 1
add ebx, ecx
shr ecx, 1
mov dword [esp], edx
mov edi, eax
mov dword [esp + 0x6c], esi
mov esi, dword [esp]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0x6c]
mov dword [esp], ebx
inc ebx
je 0x440a70
mov ecx, dword [esp + 0x18]
and ecx, 2
add eax, ecx
add edx, ecx
mov ecx, ebx
and ecx, 7
je 0x440c66
mov dword [esp + 0x68], ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
mov byte [eax + edi], bl
inc edi
cmp ecx, edi
jne 0x440c50
add edx, edi
add eax, edi
mov ebx, dword [esp + 0x68]
sub ebx, edi
cmp dword [esp], 7
jb 0x440a70
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [edx + edi]
mov byte [eax + edi], cl
movzx ecx, byte [edx + edi + 1]
mov byte [eax + edi + 1], cl
movzx ecx, byte [edx + edi + 2]
mov byte [eax + edi + 2], cl
movzx ecx, byte [edx + edi + 3]
mov byte [eax + edi + 3], cl
movzx ecx, byte [edx + edi + 4]
mov byte [eax + edi + 4], cl
movzx ecx, byte [edx + edi + 5]
mov byte [eax + edi + 5], cl
movzx ecx, byte [edx + edi + 6]
mov byte [eax + edi + 6], cl
movzx ecx, byte [edx + edi + 7]
mov byte [eax + edi + 7], cl
add edi, 8
cmp ebx, edi
jne 0x440c80
jmp 0x440a70
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov esi, dword [esp + 0x1c]
mov dword [eax + 8], esi
mov eax, dword [esp + 0x64]
test eax, eax
je 0x440d30
mov dword [esp + 4], ecx
cmp eax, dword [esp + 0x58]
mov esi, dword [esp + 0x20]
je 0x440773
push eax
mov edi, edx
call fcn.0040c710
mov edx, edi
add esp, 4
mov dword [esp + 8], 0
jmp 0x440773
mov eax, dword [ebp + 8]
mov edx, dword [esp]
mov dword [eax + 4], edx
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
jmp 0x440773
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x20]
jmp 0x440773
mov dword [esp + 8], 0x101f1e1d
mov byte [esp + 0xc], 0
mov eax, 0xc5
mov ecx, 0x8746913a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xbd]
mov edi, esi
not edi
lea ebx, [ecx + 0x78b96ee0]
and ebx, 0x1e
mov edx, eax
and edx, 0xc1
or edx, ebx
lea ebx, [edi + edi]
xor edx, 0x1e
or edx, edi
shl edi, 0x1f
sub edi, ebx
sub edi, esi
add edi, 0x7ffffffe
or edi, ecx
lea esi, [edi + edi]
not esi
add esi, edi
lea ebx, [edx + edx]
not ebx
add ebx, edx
and edx, esi
xor ebx, esi
add ebx, esi
sub ebx, edx
add bl, 0x27
mov byte [esp + eax - 0xbd], bl
inc eax
dec ecx
cmp eax, 0xca
jne 0x440d60
mov eax, dword [0x451d6c]
test eax, eax
je 0x440e62
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x451d70]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x440e38
inc edx
cmp eax, edx
jne 0x440de0
jmp 0x440e62
push 0xf8eb88df
push dword [0x451d60]
call fcn.00445040
add esp, 8
test eax, eax
je 0x440e6f
mov ecx, dword [esi]
test ecx, ecx
je 0x4406ee
mov dword [esp + 8], 0
lea edx, [esp + 8]
push edx
push ecx
call eax
test eax, eax
je 0x440e7b
cmp dword [esp + 8], 0
je 0x440e7b
mov dword [esi + 4], 3
jmp 0x4406ee
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x440e62
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x451d74]
push eax
call fcn.00442ab0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esi + 4], 1
jmp 0x4406ee
lea eax, [esp + 0x48]
push eax
call fcn.004457c0
add esp, 4
test al, al
je 0x4406ee
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x440ea0
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x4406ee