Function at 0x43f0d0
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 0x48ec48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1b0
movaps xmm0, xmmword [0x4a8b90]
xor edx, edx
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x14], edi
movups xmmword [ebp - 0x4d], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x4d]
xor byte [ebp + edx - 0x4c], al
inc edx
cmp edx, 0xf
jb 0x43f120
push 0xc
mov byte [ebp - 0x3d], 0
call fcn.0046ad4e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov edx, 0x10
mov ecx, dword [0x4b4f24]
mov dword [esi], 0
mov byte [esi + 8], 1
mov dword [esi + 4], 0x10
call fcn.00424500
mov dword [esi], eax
test eax, eax
je 0x43f17e
push dword [esi + 4]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.0046c880
add esp, 0xc
push 0
push dword [ebx + 0xc]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa0]
push dword [esi]
mov ecx, dword [edi]
add ecx, 0x10
push eax
call fcn.004309c0
mov dword [ebp - 4], 1
mov eax, dword [esi]
test eax, eax
je 0x43f1c8
push dword [esi + 4]
push 0
push eax
call fcn.0046ce00
add esp, 0xc
push dword [esi]
call fcn.0046f5b4
add esp, 4
mov dword [esi], 0
push 0xc
push esi
call fcn.0046afcf
mov eax, dword [edi + 0x18]
add esp, 8
or eax, dword [edi + 0x1c]
je 0x43f358
cmp dword [ebp - 0xa0], 0
jl 0x43f358
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x3c]
call fcn.004252b0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x1c0]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0x18]
push eax
call fcn.0042b250
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 8
push eax
lea ecx, [ebp - 0x178]
call fcn.0042b950
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x130]
call fcn.0042b1b0
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 3
push ecx
lea eax, [ebp - 0xe8]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042aea0
mov byte [ebp - 4], 4
cmp byte [ebp - 0x58], 0
je 0x43f418
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0xe8]
push eax
call fcn.0042b250
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xe8]
mov ecx, esi
push eax
call dword [ebp - 0x18]
lea ecx, [ebp - 0xe8]
call fcn.004251d0
lea ecx, [ebp - 0x34]
call fcn.0042b140
push fcn.004251d0
push 3
push 0x48
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 2
push eax
call fcn.0046b00e
mov ecx, dword [edi]
push 8
add ecx, 0x170
push ecx
push dword [ebx + 0xc]
push esi
call fcn.0043c370
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
push 0
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esi + 0x70]
add eax, 0x170
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov edi, dword [ecx + 0x44]
sub edi, dword [ecx + 0x38]
add edi, dword [ecx + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
push edi
push eax
call fcn.0043a8e0
push 1
test eax, eax
js 0x43f34b
mov edi, dword [ebx + 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 0
mov dword [edi + 0xc], ecx
mov ecx, esi
mov dword [edi + 8], eax
mov byte [edi + 0x10], 1
mov eax, dword [esi]
call dword [eax]
jmp 0x43f3f0
mov byte [ebp - 4], 1
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi]
lea eax, [ebp - 0x38]
push 0
push 0
push 0
push 4
push dword [ebx + 0x10]
add ecx, 0x58
push eax
call fcn.00434150
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x38]
test eax, eax
jns 0x43f38d
cmp byte [ebp - 0x2c], 0
mov edi, dword [ebx + 8]
mov dword [edi], eax
mov byte [edi + 0x10], 0
je 0x43f3f0
jmp 0x43f3c6
cmp byte [ebp - 0x2c], 0
je 0x43f41d
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43f3a5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x43f3b3
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebx + 8]
mov dword [edi], 0
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x43f3f0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x43f3f0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x43f3f0
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x58], 0
je 0x43f401
lea ecx, [ebp - 0x98]
call fcn.00423000
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 0xc
call fcn.00417450
call fcn.00417450
int3