Function at 0x43fe60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov dword [esp + 0x188], 0x4c4d4a4b
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 6
ja 0x43fef1
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x188]
mov edx, eax
xor edx, 0xce30b992
and eax, 0xce30b992
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov ecx, eax
not ecx
and ecx, 0xda
and eax, 0x25
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x188], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 7
jb 0x43fea0
mov eax, dword [esp + 0x188]
mov ecx, dword [0x44e374]
test ecx, ecx
je 0x43ff4a
xor edx, edx
mov esi, dword [0x44e378]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x54ca534e
je 0x43ff20
inc edx
cmp ecx, edx
jne 0x43ff10
jmp 0x43ff4a
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43ff4a
lea eax, [esp + 0xc]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44e37c]
push ecx
call fcn.0043e4b0
add esp, 0x28
test eax, eax
js 0x440186
push 0x495ce5ca
push dword [0x456388]
call fcn.004411b0
add esp, 8
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x1c]
call eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x194]
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 0x68], 0x4c4d4a4b
mov word [esp + 0x6c], 0
mov byte [esp + 0x6e], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x440007
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x68]
mov esi, ecx
xor esi, 0xce30b992
and ecx, 0xce30b992
lea ecx, [esi + ecx*2]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov edx, ecx
not edx
and edx, 0xda
and ecx, 0x25
sub ecx, edx
mov edx, dword [esp]
mov byte [esp + edx + 0x68], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x43ffc0
mov edx, dword [0x44e374]
test edx, edx
je 0x440051
mov esi, dword [esp + 0x68]
xor ecx, ecx
mov edi, dword [0x44e378]
nop
nop
nop
cmp dword [edi + ecx*8], 0x625b6034
je 0x440030
inc ecx
cmp edx, ecx
jne 0x440020
jmp 0x440051
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, esi
je 0x440051
push dword [esp + 4]
push 1
push dword [0x44e37c]
push ecx
mov esi, eax
call fcn.0043e4b0
mov eax, esi
add esp, 0x10
test eax, eax
js 0x440186
push 0x20
lea eax, [esp + 0x18c]
push eax
push ebx
push dword [esp + 0x14]
call fcn.0043fc20
add esp, 0x10
test eax, eax
js 0x440186
lea eax, [esp + 0x10]
push 0x58
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.0043fc20
add esp, 0x10
test eax, eax
js 0x440186
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp + 8], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x4400fe
cmp cx, dx
je 0x440192
push esi
call fcn.0043b5c0
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 4]
mov esi, eax
xor esi, dword [esp + 8]
or esi, edx
je 0x440186
push 0x120
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.0043fc20
add esp, 0x10
test eax, eax
js 0x440186
movzx eax, word [esp + 0xc2]
push eax
call fcn.0043b530
add esp, 4
mov esi, eax
movzx eax, word [esp + 0xc2]
push eax
push esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
call fcn.0043fc20
add esp, 0x10
test eax, eax
js 0x4400d9
xor eax, eax
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x440160
or ecx, 0x20
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x440170
or edx, 0x20
test cx, cx
je 0x4400d0
add eax, 2
cmp cx, dx
je 0x440150
jmp 0x4400d0
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.0043b5c0
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x44018a