Function at 0x42b0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp], 0
mov dword [esp + 4], 0xd4d5cacb
mov word [esp + 8], 0
mov eax, 0x1ec5c1ae
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x1ec5c1aa]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0x19
xor ecx, 0x99
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x1ec5c1aa], cl
inc eax
cmp eax, 0x1ec5c1b4
jne 0x42b0e0
mov eax, dword [esp + 4]
mov ecx, dword [0x4521f4]
test ecx, ecx
je 0x42b162
xor edx, edx
mov esi, dword [0x4521f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x42b140
inc edx
cmp ecx, edx
jne 0x42b130
jmp 0x42b162
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x42b162
mov eax, esp
push eax
push 0
push 0
push 5
push 4
push dword [0x4521fc]
push ecx
call fcn.00442500
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x42b200
push dword [esp]
call fcn.0043fa10
add esp, 4
mov edi, eax
mov ecx, dword [esp]
mov dword [esp + 4], 0xd4d5cacb
mov word [esp + 8], 0
mov eax, 0x1ec5c1ae
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x1ec5c1aa]
mov esi, eax
and esi, edx
add esi, esi
sub edx, esi
add edx, eax
mov esi, edx
and esi, 0x19
xor edx, 0x99
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax - 0x1ec5c1aa], dl
inc eax
cmp eax, 0x1ec5c1b4
jne 0x42b1a0
mov eax, dword [esp + 4]
mov edx, dword [0x4521f4]
test edx, edx
je 0x42b226
xor esi, esi
mov ebx, dword [0x4521f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc85f7986
je 0x42b207
inc esi
cmp edx, esi
jne 0x42b1f0
jmp 0x42b226
xor ebx, ebx
jmp 0x42b3d1
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x42b226
push 0
push ecx
push edi
push 5
push 4
push dword [0x4521fc]
push edx
call fcn.00442500
add esp, 0x1c
xor ebx, ebx
test eax, eax
js 0x42b3c8
mov esi, dword [edi]
mov eax, esi
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [ecx + eax]
inc ebx
mov eax, dword [ecx + eax]
mov ecx, edx
test eax, eax
jne 0x42b240
mov eax, ebx
and eax, 0xfffffefb
mov ecx, ebx
and ecx, 0x104
or ebx, 0x104
imul ebx, ecx
xor ecx, 0x104
imul ecx, eax
add ebx, ecx
jns 0x42b279
mov ebx, 0xffffffff
jmp 0x42b27b
add ebx, ebx
push ebx
call fcn.0040c9f0
add esp, 4
mov ebp, eax
mov ecx, edi
jmp 0x42b2a0
add ecx, esi
mov word [eax], 0xa
add eax, 2
mov esi, dword [ecx]
test esi, esi
je 0x42b2c3
mov edx, dword [ecx + esi + 0x3c]
movzx ebx, word [edx]
test bx, bx
je 0x42b290
add edx, 2
nop
mov word [eax], bx
add eax, 2
movzx ebx, word [edx]
add edx, 2
test bx, bx
jne 0x42b2b0
jmp 0x42b290
xor ebx, ebx
cmp eax, ebp
je 0x42b3bf
mov word [eax], 0
movzx ecx, word [ebp]
test cx, cx
je 0x42b32b
mov eax, ebp
add eax, 2
xor ebx, ebx
jmp 0x42b2fc
inc ebx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x42b32b
cmp cx, 0x7f
jbe 0x42b2f0
movzx edx, cx
cmp edx, 0x7ff
ja 0x42b320
add ebx, 2
jmp 0x42b2f1
cmp cx, 0xffff
je 0x42b2f1
add ebx, 3
jmp 0x42b2f1
mov dword [esp + 0x18], edi
lea edi, [ebx + 1]
push edi
call fcn.0040c9f0
add esp, 4
mov esi, eax
push ebp
push edi
push eax
call fcn.0042af20
add esp, 0xc
mov dword [esp + 4], 0xe8fdffd8
mov dword [esp + 8], 0xe6f5fae9
mov dword [esp + 0xc], 0x8ff233f7
mov word [esp + 0x10], 0x5f0
mov dword [esp + 0x12], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
and edi, 4
mov edx, ecx
xor edx, 0x42
add edx, edi
xor dl, byte [esp + ecx + 4]
add dl, 0xb6
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 0x12
jne 0x42b380
lea eax, [esp + 4]
mov ecx, dword [esp + 0x30]
push ebx
push esi
push eax
call fcn.0040d4f0
mov ebx, eax
push esi
call fcn.0040ca00
add esp, 4
mov edi, dword [esp + 0x18]
push ebp
call fcn.0040ca00
add esp, 4
push edi
call fcn.0043fae0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret