Function at 0x42b630
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0x34353637
mov word [esp + 0x10], 0
mov byte [esp + 0x12], 0
mov eax, 0xf4
mov ecx, 0xb
nop
nop
nop
movzx esi, byte [esp + eax - 0xe8]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0x3c
mov byte [esp + eax - 0xe8], dl
inc eax
dec ecx
cmp eax, 0xfb
jne 0x42b660
mov eax, dword [esp + 0xc]
mov ecx, dword [0x451f60]
test ecx, ecx
je 0x42b6d4
xor edx, edx
mov esi, dword [0x451f64]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b6b0
inc edx
cmp ecx, edx
jne 0x42b6a0
jmp 0x42b6d4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b6d4
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 5
push 4
push dword [0x451f68]
push ecx
call fcn.004426c0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42b760
push dword [esp + 0x20]
call fcn.0043f600
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], 0x34353637
mov word [esp + 0x10], 0
mov byte [esp + 0x12], 0
mov eax, 0xf4
mov edx, 0xb
nop
movzx esi, byte [esp + eax - 0xe8]
mov ebx, edx
xor ebx, eax
and ebx, esi
xor ebx, eax
add bl, 0x3c
mov byte [esp + eax - 0xe8], bl
inc eax
dec edx
cmp eax, 0xfb
jne 0x42b710
mov eax, dword [esp + 0xc]
mov edx, dword [0x451f60]
test edx, edx
je 0x42b786
xor esi, esi
mov edi, dword [0x451f64]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42b767
inc esi
cmp edx, esi
jne 0x42b750
jmp 0x42b786
xor ebx, ebx
jmp 0x42ba14
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42b786
push 0
push ecx
push ebp
push 5
push 4
push dword [0x451f68]
push edx
call fcn.004426c0
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42ba0b
mov esi, dword [ebp]
xor eax, eax
mov ecx, esi
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
lea edi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, edi
test ecx, ecx
jne 0x42b7a0
mov dword [esp + 8], ebp
test ebx, ebx
jns 0x42b7c4
mov eax, 0xffffffff
push eax
call fcn.0040cad0
add esp, 4
mov ebp, eax
mov dword [esp], eax
mov eax, dword [esp + 8]
jmp 0x42b7f2
mov edi, ebp
add eax, esi
lea ebp, [edi + 2]
mov word [edi], 0xa
mov esi, dword [eax]
test esi, esi
je 0x42b823
mov ecx, dword [eax + esi + 0x3c]
movzx edx, word [ecx]
test dx, dx
je 0x42b7e0
add ecx, 2
mov edi, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42b810
jmp 0x42b7e2
xor ebx, ebx
mov eax, dword [esp]
cmp ebp, eax
je 0x42b9fe
mov word [ebp], 0
movzx ecx, word [eax]
test cx, cx
je 0x42b884
xor ebx, ebx
mov eax, dword [esp]
jmp 0x42b85e
add ebx, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x42b884
cmp eax, ebp
jae 0x42b884
movzx esi, cx
cmp esi, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp esi, 0x80
jb 0x42b850
mov edx, ecx
jmp 0x42b850
mov eax, ebx
and eax, 1
mov ecx, ebx
xor ecx, 1
lea esi, [ecx + eax*2]
push esi
call fcn.0040cad0
mov edx, esi
add esp, 4
lea ecx, [eax + esi]
dec ecx
mov esi, eax
mov dword [esp + 4], eax
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x42b985
mov esi, dword [esp + 4]
cmp dword [esp], ebp
jae 0x42b985
mov esi, dword [esp + 4]
mov eax, esi
add eax, edx
mov dword [esp + 0x28], eax
mov ebp, dword [esp]
nop
nop
movzx edx, word [ebp]
test dx, dx
je 0x42b985
cmp dx, 0x7f
ja 0x42b8f0
mov byte [esi], dl
mov eax, 1
jmp 0x42b970
mov ecx, esi
not ecx
add ecx, dword [esp + 0x28]
movzx eax, dx
cmp ecx, 2
jb 0x42b930
cmp eax, 0x7ff
ja 0x42b930
mov ecx, edx
shr ecx, 6
xor cl, 0xc0
mov byte [esi], cl
and dl, 0x3f
or dl, 0x80
mov byte [esi + 1], dl
mov eax, 2
jmp 0x42b970
mov dword [esp + 0x24], eax
xor eax, eax
cmp ecx, 3
jb 0x42b970
mov eax, dword [esp + 0x24]
mov ecx, eax
shr ecx, 0xc
or cl, 0xe0
mov byte [esi], cl
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [esi + 1], al
and dl, 0x3f
or dl, 0x80
mov byte [esi + 2], dl
mov eax, 3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add esi, eax
cmp esi, dword [esp + 0x2c]
jae 0x42b985
lea ecx, [ebp + 2]
cmp ebp, edi
mov ebp, ecx
jb 0x42b8d0
mov byte [esi], 0
mov dword [esp + 0xc], 0x4cbbbd54
mov dword [esp + 0x10], 0x46bbba43
mov dword [esp + 0x14], 0xc9c601b9
mov word [esp + 0x18], 0x57c4
mov dword [esp + 0x1a], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xb7
xor cl, byte [esp + eax + 0xc]
add cl, 0x6d
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x12
jne 0x42b9c0
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x44]
push ebx
mov esi, dword [esp + 8]
push esi
push eax
call fcn.0040d480
mov ebx, eax
push esi
call fcn.0040cae0
add esp, 4
mov ebp, dword [esp + 8]
mov eax, dword [esp]
jmp 0x42ba02
mov ebp, dword [esp + 8]
push eax
call fcn.0040cae0
add esp, 4
push ebp
call fcn.0043f660
add esp, 4
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret