Function at 0x43a6f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x264
mov ebp, dword [0x45112c]
mov edi, dword [0x451128]
mov eax, edi
or eax, ebp
jne 0x43a794
mov dword [esp + 0x34], 0x57aa49ba
mov dword [esp + 0x38], 0x53a655b8
mov dword [esp + 0x3c], 0x5f6c51a4
mov dword [esp + 0x40], 0x5bae5db0
mov dword [esp + 0x44], 0x676659ac
mov word [esp + 0x48], 0
mov byte [esp + 0x4a], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x8e
xor cl, byte [esp + eax + 0x34]
add cl, 0x3a
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x17
jb 0x43a750
lea eax, [esp + 0x34]
push eax
call fcn.0043a3a0
add esp, 4
mov edi, eax
mov dword [0x45112c], edx
mov dword [0x451128], eax
or eax, edx
je 0x43a86e
mov ebp, edx
lea eax, [esp + 0x134]
push 0x40
push eax
push ebp
push edi
call fcn.0043a200
add esp, 0x10
test eax, eax
js 0x43a86e
mov eax, dword [esp + 0x170]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebp
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x174]
push 0xf0
push edx
push ecx
push eax
call fcn.0043a200
add esp, 0x10
xor ebx, ebx
test eax, eax
js 0x43a870
cmp dword [esp + 0x1e8], 0
je 0x43a870
mov eax, dword [esp + 0x1e4]
mov esi, 0
test eax, eax
je 0x43a872
add eax, edi
mov ecx, ebp
adc ecx, 0
lea edx, [esp + 0xc]
push 0x28
push edx
push ecx
push eax
call fcn.0043a200
add esp, 0x10
test eax, eax
js 0x43a86e
mov ecx, dword [esp + 0x20]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43a837
mov eax, esi
push eax
call fcn.004081b0
add esp, 4
mov edx, dword [esp + 0x28]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 8], eax
push eax
push ecx
push edx
call fcn.0043a200
add esp, 0x10
test eax, eax
js 0x43a881
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x43a88a
mov eax, 0xffffffff
jmp 0x43a88c
xor ebx, ebx
xor esi, esi
mov eax, ebx
mov edx, esi
add esp, 0x264
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
xor esi, esi
jmp 0x43a986
add eax, eax
push eax
call fcn.004081b0
add esp, 4
mov esi, dword [esp + 0x24]
add esi, esi
mov ecx, dword [esp + 0x30]
add ecx, edi
mov edx, ebp
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.0043a200
add esp, 0x10
test eax, eax
js 0x43a977
mov ecx, dword [esp + 0x24]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43a8d8
mov eax, esi
push eax
call fcn.004081b0
add esp, 4
mov edx, dword [esp + 0x2c]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.0043a200
add esp, 0x10
test eax, eax
js 0x43a965
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x43a90e
mov esi, eax
test esi, esi
je 0x43a965
xor ebx, ebx
jmp 0x43a936
push 0x36c0b43e
lea eax, [esp + 0x38]
push eax
call fcn.0043a9b0
add esp, 8
cmp eax, dword [esp + 0x278]
je 0x43a997
inc ebx
cmp esi, ebx
je 0x43a965
mov eax, dword [esp + 8]
mov eax, dword [eax + ebx*4]
add eax, edi
mov ecx, ebp
adc ecx, 0
push 0x100
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.0043a200
add esp, 0x10
test eax, eax
jns 0x43a916
cmp eax, 0x8000000d
jne 0x43a931
jmp 0x43a916
xor ebx, ebx
xor esi, esi
push dword [esp + 8]
call fcn.004081c0
add esp, 4
jmp 0x43a97b
xor ebx, ebx
xor esi, esi
push dword [esp]
call fcn.004081c0
add esp, 4
push dword [esp + 4]
call fcn.004081c0
add esp, 4
jmp 0x43a872
mov eax, dword [esp]
movzx eax, word [eax + ebx*2]
mov ecx, dword [esp + 4]
add edi, dword [ecx + eax*4]
adc ebp, 0
mov ebx, edi
mov esi, ebp
jmp 0x43a969