Function at 0x10043ed0
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 0x10080af0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
push esi
push edi
mov eax, dword [0x10091040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
movzx eax, word [edi + 0x138]
xor ecx, ecx
movzx edx, word [edi + 0x136]
movaps xmm0, xmmword [0x10089df0]
push eax
mov word [edi + 0x142], dx
mov word [edi + 0x144], ax
push edx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3c71303d
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x13
jb 0x10043f50
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043f80
sub ecx, esi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.100024a0
lea eax, [ebp - 0x7c]
push eax
call fcn.10006910
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0xc]
call fcn.10014db0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x10043fef
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10043fe5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10043fe5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
mov byte [ebp - 0x11], al
nop word [eax + eax]
mov ecx, dword [ebp - 0x44]
movzx edx, al
movzx esi, word [ecx + edx*2 + 0x124]
lea eax, [edx + edx*2]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x18], esi
mov dword [eax + 0x44], esi
movzx ecx, word [ecx + edx*2 + 0x12a]
add edx, 3
mov dword [ebp - 0x40], eax
lea eax, [edx + edx*2]
mov edx, dword [ebp - 0x44]
lea edx, [edx + eax*8]
mov eax, ecx
mov word [edx], cx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], edx
mov cl, byte [eax + 0x13b]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 0x19], cl
mov byte [eax + 0x4a], cl
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x70]
mov ecx, 0x10091114
push eax
call fcn.10004f10
mov edx, dword [ebp - 0x68]
cmp byte [edx + 0xd], 0
jne 0x1004406e
cmp esi, dword [edx + 0x10]
jae 0x10044074
mov edx, dword [0x10091114]
xor ecx, ecx
lea eax, [edx + 0x14]
cmp edx, dword [0x10091114]
cmovne ecx, eax
test ecx, ecx
je 0x10044167
mov eax, dword [ebp - 0x48]
mov dl, 0x65
movzx eax, ax
push eax
mov dword [ebp - 0x38], 0xb102d65
xor eax, eax
mov dword [ebp - 0x34], 0x45484511
mov dword [ebp - 0x30], 0x454a4555
mov word [ebp - 0x2c], 0x140
mov byte [ebp - 0x2a], 0
lea ecx, [ebp - 0x37]
xor byte [ecx + eax], dl
inc eax
cmp eax, 0xd
jae 0x100440c5
mov dl, byte [ebp - 0x38]
jmp 0x100440b4
sub esp, 0x18
mov byte [ebp - 0x2a], 0
mov edx, esp
lea ecx, [ebp - 0x37]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100440e8
sub ecx, esi
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.100024a0
lea eax, [ebp - 0x94]
push eax
call fcn.10006910
add esp, 0x20
mov esi, dword [ebp - 0x40]
mov edx, eax
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x50]
call fcn.10014db0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x10044262
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10044158
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043fdf
push ecx
push edx
call fcn.1007d105
add esp, 8
jmp 0x10044262
cmp esi, 1
jne 0x100442d1
cmp byte [ebp - 0x19], 0
je 0x100442d1
mov eax, dword [ebp - 0x48]
mov cl, 0x2a
movzx eax, ax
mov dl, 0x25
push eax
mov byte [ebp - 0x24], 0xa
mov al, 0x3a
xor al, byte [ebp - 0x24]
mov ah, cl
mov ch, 0x2f
mov byte [ebp - 0x23], al
mov al, byte [ebp - 0x24]
mov dh, 0x6e
xor cl, al
mov byte [ebp - 0x1d], 0
xor dl, al
mov byte [ebp - 0x22], cl
xor ch, al
mov byte [ebp - 0x21], dl
xor dh, al
mov byte [ebp - 0x1f], ch
xor ah, al
mov byte [ebp - 0x1e], dh
sub esp, 0x18
mov byte [ebp - 0x20], ah
mov edx, esp
mov byte [ebp - 0x1d], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x23]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100441e0
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.100024a0
lea eax, [ebp - 0x64]
push eax
call fcn.10006910
add esp, 0x20
mov esi, dword [ebp - 0x40]
mov edx, eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x50]
call fcn.10014db0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x10044250
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10044246
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043fdf
push ecx
push edx
call fcn.1007d105
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov esi, dword [esi + 0x50]
test esi, esi
je 0x1004427c
push 4
push esi
call edi
test eax, eax
jne 0x1004427c
push 0xffffffffffffffff
mov ecx, esi
call dword [0x10088b80]
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x100442d1
push 4
push esi
call edi
test eax, eax
jne 0x100442d1
push 4
lea eax, [esi + 0x140]
push eax
call edi
test eax, eax
jne 0x100442d1
push 4
lea eax, [esi + 0x13c]
push eax
call edi
test eax, eax
jne 0x100442d1
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov dword [esi + 0x140], 0
mov dword [esi + 0x13c], eax
call dword [0x10088b60]
mov al, byte [ebp - 0x11]
inc al
mov byte [ebp - 0x11], al
cmp al, 3
jb 0x10044000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret