Function at 0x440130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x440152
cmp eax, 2
je 0x4401cb
jmp 0x44030f
push 0xbbf966b4
push dword [0x452b68]
call fcn.004454d0
add esp, 8
test eax, eax
je 0x44018f
mov ecx, dword [esi]
test ecx, ecx
je 0x4401bf
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x44019b
cmp dword [esp], 0
je 0x44019b
mov dword [esi + 4], 3
jmp 0x4401bf
mov dword [esi + 4], 1
jmp 0x44030f
lea eax, [esp + 0x40]
push eax
call fcn.00445d00
add esp, 4
test al, al
je 0x4401bf
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x4401bc
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x44030f
mov dword [esp], 0xdabfddba
mov dword [esp + 4], 0xa9cbdba9
mov dword [esp + 8], 0xd2d2d7d9
mov dword [esp + 0xc], 0x9e87d9a5
mov dword [esp + 0x10], 0xf6e8eae5
mov byte [esp + 0x14], 0x7c
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov eax, 0x73ce6c92
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x73ce6c92]
xor ecx, eax
mov ebx, ecx
xor ebx, 0x43081eda
mov edx, ecx
or edx, 0x30c66025
and edx, ebx
mov edi, edx
and edi, 2
mov ebx, edx
or edx, 2
imul edx, edi
xor edi, 2
and ebx, 0xfd
imul ebx, edi
xor ecx, 0x25
add ecx, edx
add ecx, ebx
inc cl
mov byte [esp + eax - 0x73ce6c92], cl
inc eax
cmp eax, 0x73ce6caa
jne 0x440210
mov ebx, esp
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.00444570
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x40]
push 6
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.00444640
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x4403f0
mov dword [esp + 0x40], 0x13121134
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x84
xor cl, byte [esp + eax + 0x40]
add cl, 0x6c
mov byte [esp + eax + 0x40], cl
inc eax
cmp eax, 4
jne 0x440320
mov ebx, dword [esp + 0x40]
mov edi, dword [esi]
mov dword [esp], 0x700f0e0d
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0xb1d405bd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x4e2bfa43]
lea edx, [eax + 0x2715fd00]
mov esi, eax
and esi, ecx
or edx, ecx
lea ecx, [esi + esi]
not ecx
add ecx, esi
and ecx, edx
mov edx, ecx
not edx
and edx, 0xb5
and ecx, 0x4a
sub ecx, edx
add cl, 4
mov byte [esp + eax + 0x4e2bfa43], cl
inc eax
cmp eax, 0xb1d405c4
jne 0x440360
mov eax, dword [esp]
mov ecx, dword [0x452b74]
test ecx, ecx
je 0x4403ce
xor edx, edx
mov esi, dword [0x452b78]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x4403fa
inc edx
cmp ecx, edx
jne 0x4403c0
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x4403ce
mov eax, esp
push 0
push dword [esp + 0x3c]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push edx
push dword [0x452b7c]
call fcn.00442710
add esp, 0x24
mov ecx, dword [esp]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x4403ce