Function at 0x438af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x27c
mov ebx, dword [0x44ef7c]
mov ebp, dword [0x44ef78]
mov eax, ebp
or eax, ebx
jne 0x438bbd
mov dword [esp + 0x4c], 0x139e11a6
mov dword [esp + 0x50], 0x6fda6dd0
mov dword [esp + 0x54], 0x6b1c69dc
mov dword [esp + 0x58], 0x67d265d8
mov dword [esp + 0x5c], 0x636261d4
mov dword [esp + 0x60], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x4c]
mov esi, eax
and esi, 0x38
mov edi, ecx
xor edi, 0xb419a13c
add edi, esi
mov esi, edi
and esi, edx
add esi, esi
sub edi, esi
lea esi, [edi + edx]
not esi
add edx, edi
add edx, 0x7b7fd9d3
or esi, edx
and esi, 1
add esi, esi
mov edi, esi
and edi, edx
xor esi, edx
xor esi, 1
lea edx, [esi + edi*2]
mov byte [esp + ecx + 0x4c], dl
inc ecx
add eax, 2
cmp ecx, 0x18
jne 0x438b50
lea eax, [esp + 0x4c]
push eax
call fcn.00438750
add esp, 4
mov ebp, eax
mov dword [0x44ef7c], edx
mov dword [0x44ef78], eax
or eax, edx
je 0x438cb5
mov ebx, edx
lea eax, [esp + 0x14c]
push 0x40
push eax
push ebx
push ebp
call fcn.00438550
add esp, 0x10
test eax, eax
js 0x438cb5
mov eax, dword [esp + 0x188]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x18c]
push 0xf0
push edx
push ecx
push eax
call fcn.00438550
add esp, 0x10
xor edi, edi
test eax, eax
js 0x438cb7
cmp dword [esp + 0x200], 0
je 0x438cb7
mov eax, dword [esp + 0x1fc]
mov esi, 0
test eax, eax
je 0x438cb9
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x24]
push 0x28
push edx
push ecx
push eax
call fcn.00438550
add esp, 0x10
test eax, eax
js 0x438cb5
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x438c66
lea eax, [esi*4]
push eax
call fcn.00408680
add esp, 4
mov edx, esi
and edx, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, edx
add esi, ecx
mov edx, dword [esp + 0x40]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.00438550
add esp, 0x10
test eax, eax
js 0x438cc8
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x438cd1
mov eax, 0xffffffff
jmp 0x438cd3
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x438edd
add eax, eax
push eax
call fcn.00408680
add esp, 4
mov esi, dword [esp + 0x3c]
add esi, esi
mov ecx, dword [esp + 0x48]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.00438550
add esp, 0x10
test eax, eax
js 0x438ece
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x438d1f
mov eax, esi
push eax
call fcn.00408680
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00438550
add esp, 0x10
test eax, eax
mov dword [esp + 4], edi
js 0x438ebc
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x438d5b
mov esi, eax
test esi, esi
je 0x438ebc
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0x438d9e
mov edx, 0x36c0b43e
cmp edx, dword [esp + 0x290]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
je 0x438eee
mov eax, dword [esp + 0xc]
inc eax
cmp eax, esi
je 0x438ebc
mov dword [esp + 0xc], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x50]
push edx
push ecx
push eax
call fcn.00438550
add esp, 0x10
test eax, eax
jns 0x438dcb
cmp eax, 0x8000000d
jne 0x438d91
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x4d], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x438de0
mov dword [esp + 0x10], 0x160a14a1
mov dword [esp + 0x14], 0
mov edx, 0x1883
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx - 0x1873]
mov esi, edx
or esi, ebx
lea ebp, [edx - 0x1800]
and ebp, ebx
sub esi, ebp
mov ebx, esi
and ebx, 0x70
mov ebp, esi
xor ebp, 0x70
lea ebx, [ebx*2]
add ebx, ebp
and esi, 1
xor ebx, 1
or ebx, esi
add ebx, esi
mov byte [esp + edx - 0x1873], bl
inc edx
cmp edx, 0x188b
jne 0x438e10
test eax, eax
je 0x438d73
mov esi, dword [esp + 0x10]
mov edx, 0x36c0b43e
lea ebp, [esp + 0x4c]
cmp eax, 1
je 0x438e9a
and ecx, 0xfffffffe
movsx ebx, byte [ebp]
mov edi, edx
and edi, ebx
add edx, ebx
add edi, edi
sub edx, edi
imul edx, esi
movsx edi, byte [ebp + 1]
mov ebx, edx
and ebx, edi
add edx, edi
add ebx, ebx
sub edx, ebx
imul edx, esi
add ebp, 2
add ecx, 0xfffffffe
jne 0x438e70
test al, 1
mov edi, dword [esp + 4]
je 0x438d78
movsx eax, byte [ebp]
mov ecx, edx
and ecx, eax
add edx, eax
add ecx, ecx
sub edx, ecx
imul edx, esi
jmp 0x438d78
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.00408690
add esp, 4
jmp 0x438ed2
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.00408690
add esp, 4
push dword [esp + 8]
call fcn.00408690
add esp, 4
jmp 0x438cb9
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x438ec0