Function at 0x439be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x264
mov ebp, dword [0x4503d4]
mov ebx, dword [0x4503d0]
mov eax, ebx
or eax, ebp
jne 0x439c8e
mov dword [esp + 0x34], 0x69fe6bf6
mov dword [esp + 0x38], 0x6dc26fcc
mov dword [esp + 0x3c], 0x518053c0
mov dword [esp + 0x40], 0x55fa57f4
mov dword [esp + 0x44], 0x595a5bf8
mov dword [esp + 0x48], 0
mov eax, 0x17
mov ecx, 8
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x1d]
mov esi, ecx
and esi, 0xe
mov edi, eax
and edi, 0x31
or edi, esi
xor edi, 0xe
or edi, eax
and edi, edx
or edx, eax
xor edx, edi
add dl, 0x8d
mov byte [esp + eax + 0x1d], dl
inc eax
dec ecx
cmp eax, 0x2f
jne 0x439c40
lea eax, [esp + 0x34]
push eax
call fcn.004397f0
add esp, 4
mov ebx, eax
mov dword [0x4503d4], edx
mov dword [0x4503d0], eax
or eax, edx
je 0x439d92
mov ebp, edx
lea eax, [esp + 0x134]
push 0x40
push eax
push ebp
push ebx
call fcn.004395f0
add esp, 0x10
test eax, eax
js 0x439d92
mov eax, dword [esp + 0x170]
mov ecx, eax
sar ecx, 0x1f
add eax, ebx
adc ecx, ebp
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x174]
push 0xf0
push edx
push ecx
push eax
call fcn.004395f0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x439d94
cmp dword [esp + 0x1e8], 0
je 0x439d94
mov eax, dword [esp + 0x1e4]
mov esi, 0
test eax, eax
je 0x439d96
mov edx, ebx
and edx, eax
mov ecx, edx
shr ecx, 0x1f
add edx, edx
xor eax, ebx
add eax, edx
adc ecx, ebp
lea edx, [esp + 0xc]
push 0x28
push edx
push ecx
push eax
call fcn.004395f0
add esp, 0x10
test eax, eax
js 0x439d92
mov esi, dword [esp + 0x20]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x439d41
lea eax, [esi*4]
push eax
call fcn.00408160
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x28]
add eax, ebx
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 8], edx
push edx
push ecx
push eax
call fcn.004395f0
add esp, 0x10
test eax, eax
js 0x439da5
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x439dae
mov eax, 0xffffffff
jmp 0x439db0
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x264
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x439ec0
add eax, eax
push eax
call fcn.00408160
add esp, 4
mov esi, dword [esp + 0x24]
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
mov ecx, dword [esp + 0x30]
add ecx, ebx
mov edx, ebp
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.004395f0
add esp, 0x10
test eax, eax
js 0x439eb1
mov ecx, dword [esp + 0x24]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x439e12
mov eax, esi
push eax
call fcn.00408160
add esp, 4
mov edx, dword [esp + 0x2c]
add edx, ebx
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.004395f0
add esp, 0x10
test eax, eax
js 0x439e9f
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x439e48
mov esi, eax
test esi, esi
je 0x439e9f
xor edi, edi
jmp 0x439e70
push 0x36c0b43e
lea eax, [esp + 0x38]
push eax
call fcn.00439ef0
add esp, 8
cmp eax, dword [esp + 0x278]
je 0x439ed1
inc edi
cmp esi, edi
je 0x439e9f
mov eax, dword [esp + 8]
mov eax, dword [eax + edi*4]
add eax, ebx
mov ecx, ebp
adc ecx, 0
push 0x100
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.004395f0
add esp, 0x10
test eax, eax
jns 0x439e50
cmp eax, 0x8000000d
jne 0x439e6b
jmp 0x439e50
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.00408170
add esp, 4
jmp 0x439eb5
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.00408170
add esp, 4
push dword [esp + 4]
call fcn.00408170
add esp, 4
jmp 0x439d96
mov eax, dword [esp]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 4]
add ebx, dword [ecx + eax*4]
adc ebp, 0
mov edi, ebx
mov esi, ebp
jmp 0x439ea3