Function at 0x438c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
lea esi, [esp + 0x1c]
mov ecx, esi
push 0
push dword [esp + 0x48]
call fcn.0043b230
mov ecx, esi
push 0x40
call fcn.0043b250
test eax, eax
js 0x439169
xor ebx, ebx
xor ebp, ebp
nop
nop
nop
add ebp, 0x1000
push ebp
push ebx
call fcn.0043c760
add esp, 8
mov ebx, eax
mov dword [esp + 8], 0x1c1d1e1f
xor ecx, ecx
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 8]
mov esi, edx
and esi, 0xffffffd6
xor esi, 0x410c8cd6
mov eax, edx
xor eax, 0x410c8cd6
or edx, 0x29
and edx, eax
mov eax, esi
xor eax, edx
not edx
and edx, esi
add eax, esi
sub eax, edx
xor eax, ecx
xor al, 0x36
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 4
jne 0x438cc0
mov eax, dword [esp + 8]
mov edx, dword [0x44a4e0]
test edx, edx
je 0x438d60
xor esi, esi
mov edi, dword [0x44a4e4]
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x67f3d776
je 0x438d30
mov ecx, esi
and ecx, 1
xor esi, 1
lea esi, [esi + ecx*2]
cmp esi, edx
jb 0x438d10
jmp 0x438d60
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x438d60
lea eax, [esp + 8]
push eax
push ebp
push ebx
push 0x10
push 0x10
push edx
push dword [0x44a4e8]
call fcn.0043c7c0
add esp, 0x1c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x14], eax
mov dword [esp], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0xa7666560
mov edx, 0xb55c4444
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + edx + 0x4aa3bbc4]
mov ebp, edx
and ebp, edi
mov ebx, ebp
mov esi, ebp
mov ecx, ebp
xor edi, edx
lea eax, [edi + ebp*2]
and ebp, 0x45
and ebx, 2
or esi, 0xfd
inc esi
imul esi, ebp
or ecx, 2
imul ecx, ebx
sub esi, ecx
add eax, esi
add al, 0xe0
mov byte [esp + edx + 0x4aa3bbc4], al
inc edx
cmp edx, 0xb55c4448
jne 0x438d80
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp]
je 0x438ca0
test eax, eax
js 0x439160
mov ecx, dword [ebx]
test ecx, ecx
je 0x43914a
xor ebp, ebp
jmp 0x438dfb
mov ecx, dword [ebx]
inc ebp
cmp ebp, ecx
jae 0x43914a
mov eax, ebp
shl eax, 4
movzx edx, word [ebx + eax + 4]
cmp edx, dword [esp + 0x44]
jne 0x438df2
mov edx, ebx
movzx edi, word [ebx + eax + 0xa]
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 8], 0x1c1d1e1f
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 8]
mov eax, esi
and eax, 0xffffffd6
xor eax, 0x410c8cd6
mov ebx, esi
xor ebx, 0x410c8cd6
or esi, 0x29
and esi, ebx
mov ebx, eax
xor ebx, esi
not esi
and esi, eax
add ebx, eax
sub ebx, esi
xor ebx, ecx
xor bl, 0x36
mov byte [esp + ecx + 8], bl
inc ecx
cmp ecx, 4
jne 0x438e30
mov ecx, dword [esp + 8]
mov esi, dword [0x44a4e0]
test esi, esi
je 0x438e92
xor eax, eax
mov ebx, dword [0x44a4e4]
nop
nop
nop
cmp dword [ebx + eax*8], 0x22fd5d1b
je 0x439046
inc eax
cmp esi, eax
jne 0x438e80
mov ebx, edx
test ecx, ecx
js 0x438df0
mov dword [esp + 0x2c], ebp
mov dword [esp], 0
mov ebx, 0x10c
nop
nop
nop
nop
push ebx
push dword [esp + 4]
call fcn.0043c760
add esp, 8
mov dword [esp], eax
mov ebp, dword [esp + 0x18]
mov dword [esp + 4], 0x1c1d1e1f
xor ecx, ecx
nop
nop
movzx esi, byte [esp + ecx + 4]
mov edi, esi
and edi, 0xffffffd6
xor edi, 0x410c8cd6
mov eax, esi
xor eax, 0x410c8cd6
or esi, 0x29
and esi, eax
mov edx, edi
xor edx, esi
not esi
and esi, edi
add edx, edi
sub edx, esi
xor edx, ecx
xor dl, 0x36
mov byte [esp + ecx + 4], dl
inc ecx
cmp ecx, 4
jne 0x438ed0
mov ecx, dword [esp + 4]
mov esi, dword [0x44a4e0]
test esi, esi
je 0x438f60
xor edx, edx
mov edi, dword [0x44a4e4]
nop
nop
nop
cmp dword [edi + edx*8], 0xa269eeef
je 0x438f30
inc edx
cmp esi, edx
jne 0x438f20
jmp 0x438f60
mov esi, dword [edi + edx*8 + 4]
cmp esi, ecx
je 0x438f60
push 9
push ebx
mov eax, dword [esp + 8]
push eax
lea eax, [esp + 0x14]
push eax
push ebp
push 0x14
push esi
push dword [0x44a4e8]
call fcn.0043c7c0
add esp, 0x20
mov ecx, eax
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edi, dword [eax]
lea ebx, [edi + edi]
mov dword [esp + 0x14], edi
xor edi, 8
mov dword [esp + 4], 0x26a5a4a6
mov esi, 0x7b
mov ebp, 0x84
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + esi - 0x77]
mov edx, ebp
xor edx, esi
and edx, eax
xor edx, esi
add dl, 0x28
mov byte [esp + esi - 0x77], dl
inc esi
dec ebp
cmp esi, 0x7f
jne 0x438f90
and ebx, 0x10
add ebx, edi
cmp ecx, dword [esp + 4]
je 0x438eb0
test ecx, ecx
js 0x439090
mov ecx, 0xfffffffe
mov eax, dword [esp + 0x48]
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x438fd0
sar ecx, 1
mov eax, ecx
and eax, 0xfffffffd
mov edx, ecx
and edx, 2
or ecx, 2
imul ecx, edx
xor edx, 2
imul edx, eax
add ecx, edx
sub ecx, dword [esp + 0x14]
jb 0x439090
cmp ecx, 0xffffffff
je 0x439090
xor edi, edi
mov ebp, dword [esp + 0x48]
xor esi, esi
mov eax, dword [esp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, esi
je 0x439080
movzx ebx, byte [ebp + esi]
mov edx, dword [esp]
movzx edx, byte [edx + esi + 4]
inc esi
cmp bl, dl
je 0x439020
cmp ebx, edx
je 0x439080
lea eax, [edi + 1]
inc ebp
cmp edi, ecx
mov edi, eax
jne 0x43900e
jmp 0x439090
mov esi, dword [ebx + eax*8 + 4]
cmp esi, ecx
mov ebx, edx
je 0x438e94
push 2
push 0
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push edi
push dword [esp + 0x18]
push 0x1c
push esi
push dword [0x44a4e8]
mov esi, ebx
call fcn.0043c7c0
add esp, 0x28
mov ecx, eax
jmp 0x438e94
cmp dword [esp + 0x48], 0
jne 0x43917e
nop
nop
nop
nop
nop
push dword [esp]
call fcn.0043af70
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], 0x1c1d1e1f
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 4]
mov esi, edx
and esi, 0xffffffd6
xor esi, 0x410c8cd6
mov edi, edx
xor edi, 0x410c8cd6
or edx, 0x29
and edx, edi
mov ebx, esi
xor ebx, edx
not edx
and edx, esi
add ebx, esi
sub ebx, edx
xor ebx, eax
xor bl, 0x36
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 4
jne 0x4390b0
mov edx, dword [0x44a4e0]
test edx, edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
je 0x438df0
mov esi, dword [esp + 4]
xor eax, eax
mov edi, dword [0x44a4e4]
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0xb430e561
je 0x439123
inc eax
cmp edx, eax
jne 0x439110
jmp 0x438df0
mov eax, dword [edi + eax*8 + 4]
cmp eax, esi
je 0x438df0
push ecx
push 4
push eax
push dword [0x44a4e8]
call fcn.0043c7c0
mov ebx, dword [esp + 0x20]
add esp, 0x10
jmp 0x438df0
xor esi, esi
push ebx
call fcn.0043af70
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.0043b400
jmp 0x439174
push ebx
call fcn.0043af70
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.0043b400
xor esi, esi
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 0x18]
push dword [esp]
call fcn.0043af70
add esp, 4
mov ebx, dword [esp + 0x10]
jmp 0x43914c