Function at 0x43e600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [esi + 0x1ba]
push ebx
mov ebx, dword [esi]
test dword [ebx + 0xc], 0x4000000
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], eax
je 0x43eae5
cmp dword [esi + 0xc], 0
jne 0x43e645
mov eax, ebx
call fcn.0041eb60
mov dword [esi + 0xc], eax
test eax, eax
je 0x43e645
push 0x87
call fcn.0041ed30
add esp, 4
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x44]
mov dword [ebp - 8], 0xfff0bdc0
test edi, edi
je 0x43e683
cmp dword [ebx + 4], 0
mov dword [ebp - 8], 0
jle 0x43e683
mov eax, dword [ebx + 8]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], edi
je 0x43e683
mov ecx, dword [ebp - 8]
inc ecx
add eax, 0x10
cmp ecx, dword [ebx + 4]
mov dword [ebp - 8], ecx
jl 0x43e670
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 8]
shl ecx, 4
mov ecx, dword [ecx + eax]
mov eax, dword [edx + 0x24]
xor edi, edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], eax
cmp eax, edi
je 0x43e872
jmp 0x43e6b6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
cmp byte [esi + 0x1ba], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
je 0x43e6d8
push ecx
mov ecx, dword [eax + 8]
push ecx
push ebx
call fcn.004345f0
add esp, 0xc
jmp 0x43e6ec
mov edx, dword [eax + 8]
push edx
push edi
mov ebx, ecx
mov edi, esi
call fcn.00434740
mov ebx, dword [ebp - 0x10]
add esp, 8
mov edi, eax
test edi, edi
je 0x43e848
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push ecx
push edi
push esi
lea eax, [ebp - 0x1c]
call fcn.0043d130
add esp, 0x10
test eax, eax
jne 0x43e848
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e71f
mov dword [ebp - 0xc], eax
jmp 0x43e730
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], ecx
mov eax, ecx
mov edx, dword [ebp - 4]
xor ebx, ebx
cmp dword [edx + 0x14], ebx
jle 0x43e7a3
lea ebx, [ebx]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp + 8]
cmp ecx, dword [edx + 8]
jne 0x43e752
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x100], 0
je 0x43e79a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43e76d
mov edx, dword [eax + 8]
mov eax, dword [edx + ebx*4]
jmp 0x43e770
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 8]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8]
push edx
push eax
mov eax, dword [edi + 4]
push eax
mov eax, esi
call fcn.00433db0
xor ecx, ecx
add esp, 0xc
cmp eax, 2
mov eax, dword [ebp - 0xc]
sete cl
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
inc ebx
cmp ebx, dword [edx + 0x14]
jl 0x43e740
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x18]
mov ebx, dword [ebp - 8]
push eax
push 0
push ecx
push ebx
mov eax, esi
call fcn.00433ff0
mov eax, dword [ebp + 0xc]
inc dword [esi + 0x44]
add esp, 0x10
test eax, eax
je 0x43e7e3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0xc]
push eax
push ecx
push edx
push edi
push ebx
push esi
call fcn.0043d3b0
add esp, 0x24
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43e808
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
push 1
push eax
mov eax, dword [ebp - 4]
push edx
push eax
push ecx
push edi
push ebx
push esi
call fcn.0043d3b0
add esp, 0x24
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43e83a
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 0xf8]
jb 0x43e83a
cmp ecx, dword [eax + 0xfc]
jae 0x43e83a
mov edx, dword [eax + 0xf4]
mov dword [ecx], edx
dec dword [eax + 0xec]
mov dword [eax + 0xf4], ecx
mov ebx, eax
jmp 0x43e85c
push ecx
call fcn.00406880
mov ebx, dword [ebp - 0x10]
add esp, 4
jmp 0x43e85c
cmp dword [ebp - 0x20], 0
je 0x43eae5
cmp byte [ebx + 0x1e], 0
jne 0x43eae5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edi, edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x43e6b0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, ecx
cmp ecx, edi
jne 0x43e880
mov dword [ebp - 0x18], edi
jmp 0x43e897
cmp byte [ecx], 0
je 0x43e88b
inc eax
cmp byte [eax], 0
jne 0x43e885
sub eax, ecx
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x44]
add eax, 0x34
cmp dword [eax + 0xc], 0
mov dword [ebp - 0x14], eax
je 0x43e8e2
xor eax, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jle 0x43e8d4
nop
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x526b78]
lea edi, [eax*8]
xor edx, edi
xor eax, edx
mov edx, dword [ebp - 0x1c]
dec edx
inc ecx
mov dword [ebp - 0x1c], edx
test edx, edx
jg 0x43e8b0
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
xor edx, edx
div dword [ecx]
mov eax, edx
mov edx, dword [ebp + 8]
jmp 0x43e8e4
xor eax, eax
mov edx, dword [edx + 4]
push edi
push edx
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.004099d0
xor edi, edi
add esp, 8
cmp eax, edi
je 0x43eae5
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x43eae5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x18], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
jne 0x43e932
cmp dword [esi + 0x1a8], edi
jne 0x43e932
cmp byte [esi + 0x158], 0
je 0x43ead4
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push esi
lea eax, [ebp - 0x14]
call fcn.0043d130
add esp, 0x10
test eax, eax
je 0x43e963
cmp dword [ebp - 0x20], edi
je 0x43eae5
cmp byte [ebx + 0x1e], 0
jne 0x43eae5
jmp 0x43ead4
cmp byte [ebx + 0x1e], 0
jne 0x43ea9c
cmp byte [ebx + 0xea], 0
je 0x43e9b2
mov ecx, 0x40
cmp cx, word [ebx + 0xe8]
ja 0x43e9b2
mov edi, dword [ebx + 0xf4]
test edi, edi
je 0x43e9b2
mov edx, dword [edi]
inc dword [ebx + 0xec]
mov eax, dword [ebx + 0xec]
cmp eax, dword [ebx + 0xf0]
mov dword [ebx + 0xf4], edx
jle 0x43e9c6
mov dword [ebx + 0xf0], eax
jmp 0x43e9c6
push 0x40
call fcn.004065a0
add esp, 4
test eax, eax
jne 0x43e9c4
mov byte [ebx + 0x1e], 1
mov edi, eax
test edi, edi
je 0x43ea9c
push 0x40
push 0
push edi
call fcn.004eb2d0
mov eax, 1
mov word [edi + 2], ax
movsx ecx, word [edi]
add esp, 0xc
push ecx
push eax
push ebx
mov eax, edi
call fcn.004382e0
add esp, 0xc
cmp byte [ebx + 0x1e], 0
mov edi, eax
jne 0x43ea91
movsx eax, word [edi]
mov ecx, dword [ebp - 4]
lea edx, [eax*8]
sub edx, eax
mov dword [edi + edx*8 - 0x2c], 0
mov dword [edi + edx*8 - 0x30], 0
lea eax, [edi + edx*8 - 0x30]
mov eax, dword [ecx]
mov dword [edi + 0x14], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov edx, 1
add word [eax + 0x20], dx
mov eax, dword [esi + 0x44]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x44], edx
test eax, eax
je 0x43ea69
mov edx, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x1c]
push edx
push ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push edi
push esi
call fcn.0043dbd0
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43ea8a
mov edx, dword [ebp - 0x14]
push 1
push eax
mov eax, dword [ebp - 0x1c]
push edx
push ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push edi
push esi
call fcn.0043dbd0
add esp, 0x20
mov dword [edi + 0xc], 0
push edi
mov eax, ebx
call fcn.00438530
add esp, 4
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x43eacb
cmp eax, dword [ebx + 0xf8]
jb 0x43eacb
cmp eax, dword [ebx + 0xfc]
jae 0x43eacb
mov edx, dword [ebx + 0xf4]
mov dword [eax], edx
dec dword [ebx + 0xec]
mov dword [ebx + 0xf4], eax
jmp 0x43ead4
push eax
call fcn.00406880
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x43e90e
pop edi
pop ebx
mov esp, ebp
pop ebp
ret