Function at 0x43e230
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x68
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], 1
cmovae ecx, dword [ebx + 8]
call fcn.00419620
test eax, eax
jne 0x43e59d
movaps xmm0, xmmword [0x549380]
xor ecx, ecx
movups xmmword [ebp - 0x78], xmm0
mov word [ebp - 0x48], 0x8390
movaps xmm0, xmmword [0x549850]
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x3e], ax
movaps xmm0, xmmword [0x5491f0]
movups xmmword [ebp - 0x58], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x46], xmm0
nop
lea eax, [ecx - 0x79]
xor byte [ebp + ecx - 0x78], al
inc ecx
cmp ecx, 0x32
jb 0x43e2e0
mov dword [0x55d53c], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x46], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e312
sub ecx, edx
lea eax, [ebp - 0x78]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402b80
mov ecx, dword [ebp - 0x28]
lea esi, [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
cmp ecx, 0x10
mov dword [ebp - 0x1c], 3
cmovae esi, edx
jb 0x43e369
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e35f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5e2
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push 0
push eax
push 0
push 1
push 0xffffffffffffffff
mov edx, esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.004e0800
mov esi, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
jne 0x43e51a
mov ecx, esi
call fcn.004bd060
cmp eax, 0x64
jne 0x43e51a
nop
test esi, esi
je 0x43e3ff
cmp dword [esi + 0x2c], 0
je 0x43e3da
xor eax, eax
cmp ax, word [esi + 0x30]
jae 0x43e3da
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x43e3d5
push eax
call dword [0x55ad18]
add esp, 4
mov ecx, dword [esi + 0x2c]
jmp 0x43e404
mov eax, dword [esi]
test eax, eax
je 0x43e3ff
mov eax, dword [eax + 0x44]
test eax, eax
je 0x43e3f1
push eax
call dword [0x55ad18]
add esp, 4
push 0
push 0x19
push dword [esi]
call fcn.004ab9b0
add esp, 0xc
mov ecx, 0x5404d0
mov dl, 1
call fcn.004b9ed0
mov dword [ebp - 0x18], eax
test esi, esi
je 0x43e46b
mov edi, dword [esi]
mov ecx, dword [esi + 0x64]
test edi, edi
je 0x43e448
cmp byte [edi + 0x1e], 0
jne 0x43e42b
mov edx, edi
cmp ecx, 0xc0a
jne 0x43e443
push 0
push 7
push edi
call fcn.004ab9b0
mov byte [edi + 0x1e], 0
add esp, 0xc
mov edx, dword [esi]
mov ecx, 7
mov eax, dword [edi + 0x18]
jmp 0x43e44f
mov eax, 0xff
mov edx, edi
and eax, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x43e465
push eax
call dword [0x55ad20]
add esp, 4
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e485
sub ecx, edx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.00402b80
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x43e4c6
movups xmm0, xmmword [ebp - 0x3c]
mov ecx, 0xf
mov byte [ebp - 0x3c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
add dword [edi + 4], 0x18
jmp 0x43e4d5
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, edi
call fcn.0048fbb0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x43e50a
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e500
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5e7
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, esi
call fcn.004bd060
cmp eax, 0x64
je 0x43e3b0
test esi, esi
je 0x43e595
mov edi, dword [esi]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x43e534
push eax
call dword [0x55ad18]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x18], 0
cmp eax, 0xbdf20da3
je 0x43e54c
cmp eax, 0x519c2973
jne 0x43e556
mov ecx, esi
call fcn.004bbe30
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.004bc040
test edi, edi
je 0x43e581
cmp byte [edi + 0x1e], 0
jne 0x43e570
cmp dword [ebp - 0x18], 0xc0a
jne 0x43e581
push 0
push 7
push edi
call fcn.004ab9b0
add esp, 0xc
mov byte [edi + 0x1e], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43e592
push eax
call dword [0x55ad20]
add esp, 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
call fcn.00419b90
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x43e5cd
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43e5c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e5e7
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00500390
call fcn.00500390
int3