Function at 0x4408d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0x4c4d4a4b
mov word [esp + 0xc], 0
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x72
xor cl, byte [esp + eax + 8]
add cl, 0xc6
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 6
jne 0x440920
mov eax, dword [esp + 8]
mov ecx, dword [0x452df4]
test ecx, ecx
je 0x44098e
xor edx, edx
mov esi, dword [0x452df8]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x440960
inc edx
cmp ecx, edx
jne 0x440950
jmp 0x44098e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44098e
lea eax, [esp + 0x20]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x452dfc]
push ecx
call fcn.00442cc0
add esp, 0x24
test eax, eax
js 0x440f5c
cmp dword [edi + 4], 0
je 0x440eea
xor edx, edx
cmp dword [edi + 4], 2
mov dword [esp + 0x4c], 0x7fff
je 0x4409b8
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], 0xfffeffff
je 0x4409ce
mov dword [esp + 0x48], SysStringLen
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov edi, 0x10000
mov dword [esp + 0x1c], 0
mov dword [esp], 0
mov dword [esp + 4], 0
jmp 0x440a50
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
nop
mov edi, dword [esp + 0x30]
add edi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
adc edx, dword [esp + 0x3c]
cmp edi, dword [esp + 0x48]
mov eax, edx
sbb eax, dword [esp + 0x4c]
jae 0x440e8b
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x44]
push eax
push edx
push edi
call fcn.004404e0
mov edx, dword [esp + 0x28]
cmp eax, 0xbfffffff
ja 0x440e8b
test eax, eax
js 0x440a30
cmp dword [esp + 0x5c], 0x1000
jne 0x440a30
test byte [esp + 0x58], 0x66
je 0x440a30
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x20], esi
mov ebx, dword [esp + 0x34]
mov eax, 0
sbb eax, ebx
mov dword [esp + 0x40], edi
jae 0x440bee
mov dword [esp + 8], 0x4c4d4a4b
mov word [esp + 0xc], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x72
xor cl, byte [esp + eax + 8]
add cl, 0xc6
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 6
jne 0x440ad0
mov eax, dword [0x452df4]
test eax, eax
je 0x440b46
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
xor edx, edx
mov ecx, dword [0x452df8]
nop
cmp dword [ecx + edx*8], 0x731cdbf3
je 0x440b1a
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, eax
jb 0x440b00
jmp 0x440b46
mov eax, dword [ecx + edx*8 + 4]
cmp eax, dword [esp + 0x24]
je 0x440b46
push 0x8000
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x452dfc]
push eax
call fcn.00442cc0
add esp, 0x1c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], esi
mov dword [esp + 8], 0x4c4d4a4b
mov word [esp + 0xc], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x72
xor cl, byte [esp + eax + 8]
add cl, 0xc6
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 6
jne 0x440b70
mov eax, dword [esp + 8]
mov ecx, dword [0x452df4]
test ecx, ecx
je 0x440bde
xor edx, edx
mov edi, dword [0x452df8]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xf3285e74
je 0x440bb0
inc edx
cmp ecx, edx
jne 0x440ba0
jmp 0x440bde
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x440bde
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push dword [0x452dfc]
push ecx
call fcn.00442cc0
add esp, 0x24
test eax, eax
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
js 0x440e8b
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x68]
push eax
push ebx
push esi
push dword [esp + 0x20]
push edx
push edi
call fcn.00440780
test eax, eax
jns 0x440c13
cmp eax, 0x8000000d
jne 0x440a30
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x440a30
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
call fcn.00440fb0
add esp, 0x18
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
cmp esi, eax
mov ebx, dword [esp]
je 0x440a1c
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 4]
jmp 0x440cb7
push dword [esp]
call fcn.0040c800
add esp, 4
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
lea eax, [ebx + eax*8]
mov dword [esp + 0x1c], eax
mov ecx, ebx
mov eax, dword [esp + 0x18]
add ecx, eax
mov edx, dword [esp + 0x24]
mov dword [ebx + eax], edx
mov edx, eax
mov eax, dword [esp + 0x64]
mov dword [ebx + edx + 4], eax
add ecx, 8
add esi, 4
cmp esi, dword [esp + 0x54]
je 0x440e45
mov edx, dword [esi]
sub edx, dword [esp + 0x14]
mov eax, edx
sar eax, 0x1f
add edx, edi
mov dword [esp + 0x24], edx
adc eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, ecx
sub eax, ebx
cmp ecx, dword [esp + 0x1c]
jne 0x440c96
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0x18], eax
mov ecx, eax
sar ecx, 3
lea edx, [ecx + 1]
mov eax, ecx
shr eax, 1
add eax, ecx
cmp eax, edx
ja 0x440cf9
mov eax, edx
mov ebx, eax
and ebx, 8
mov ecx, eax
or ecx, 8
imul ecx, ebx
xor ebx, 8
mov dword [esp + 0x1c], eax
and eax, 0xfffffff7
imul eax, ebx
add ecx, eax
push ecx
call fcn.0040c7f0
add esp, 4
mov ebx, eax
mov eax, dword [esp]
test eax, eax
je 0x440c83
cmp ebx, eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], ebx
jbe 0x440df2
cmp eax, ebx
jbe 0x440df2
cmp dword [esp + 0x18], 0
je 0x440c70
mov ebx, dword [esp]
mov edx, dword [esp + 0x18]
lea eax, [ebx + edx]
dec eax
mov ecx, dword [esp + 0x44]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x440d87
neg edi
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x440d70
add eax, edx
add ecx, edx
add edx, dword [esp + 0x18]
mov ebx, dword [esp]
mov edi, ebx
sub edi, dword [esp + 4]
cmp edi, 0xfffffff8
ja 0x440c70
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x440da0
jmp 0x440c70
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, eax
shr ecx, 2
mov eax, dword [esp]
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and edx, 0xfffffffc
lea edi, [ebx + edx]
add edx, dword [esp]
mov ecx, eax
mov ebx, eax
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 4], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x440c70
mov eax, dword [esp + 0x18]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 4]
mov byte [edx + eax], cl
jmp 0x440c70
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x440e7f
mov dword [esp + 4], ecx
cmp eax, dword [esp + 0x54]
je 0x440e83
mov dword [esp], ebx
push eax
call fcn.0040c800
add esp, 4
mov dword [esp + 8], 0
jmp 0x440a30
mov dword [esp + 4], ecx
mov dword [esp], ebx
jmp 0x440a30
mov dword [esp + 8], 0x4c4d4a4b
mov word [esp + 0xc], 0
xor eax, eax
nop
nop
nop
nop
mov ecx, eax
add cl, 0x72
xor cl, byte [esp + eax + 8]
add cl, 0xc6
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 6
jne 0x440ea0
mov eax, dword [0x452df4]
test eax, eax
je 0x440f5c
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x452df8]
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x440f32
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, eax
jb 0x440ed0
jmp 0x440f5c
push 0xf8eb88df
push dword [0x452de8]
call fcn.004452a0
add esp, 8
test eax, eax
je 0x440f69
mov ecx, dword [edi]
test ecx, ecx
je 0x4409a0
mov dword [esp + 8], 0
lea edx, [esp + 8]
push edx
push ecx
call eax
test eax, eax
je 0x440f75
cmp dword [esp + 8], 0
je 0x440f75
mov dword [edi + 4], 3
jmp 0x4409a0
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x440f5c
push 0x8000
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x452dfc]
push eax
call fcn.00442cc0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [edi + 4], 1
jmp 0x4409a0
lea eax, [esp + 0x38]
push eax
call fcn.00445b20
add esp, 4
test al, al
je 0x4409a0
mov eax, dword [esp + 0x38]
mov ecx, 2
cmp eax, 3
je 0x440f9a
mov ecx, eax
mov dword [edi + 4], ecx
jmp 0x4409a0