Function at 0x100129e0
Capabilities:
Access peb ldr_data

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 0x100374d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x250
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x38], eax
cmp dword [eax + 8], 0
jne 0x10012c80
mov eax, dword fs:[0x18]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0x30]
mov esi, dword [eax + 0x38]
mov dword [ebp - 0x14], esi
cmp dword [esi + 0xc], ecx
jbe 0x10012c80
mov eax, dword [esi + 0x14]
xor edi, edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [eax + ecx*8]
add eax, esi
mov dword [ebp - 0x18], eax
push 0x208
lea eax, [ebp - 0x260]
mov dword [ebp - 4], edi
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
add eax, esi
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x260]
push eax
call sub.VCRUNTIME140.dll_memcpy
shr esi, 1
lea eax, [ebp - 0x260]
add esp, 0xc
lea eax, [eax + esi*2]
lea esi, [ebp - 0x260]
mov dword [ebp - 0x30], eax
mov ecx, esi
cmp ecx, eax
je 0x10012ae8
mov edi, eax
nop
movzx eax, word [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [esi], ax
add esp, 4
add esi, 2
cmp esi, edi
jne 0x10012ac0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov ecx, dword [edx + 0x10]
jmp 0x10012af1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
lea eax, [eax + eax*2]
xor esi, esi
lea ecx, [ecx + eax*8]
add ecx, edx
mov dword [ebp - 0x28], ecx
cmp dword [ecx + 0x14], esi
jbe 0x10012be5
xor eax, eax
mov dword [ebp - 0x18], eax
nop dword [eax]
add eax, edx
mov dword [ebp - 0x40], 0
add eax, dword [ecx + 0x10]
mov dword [ebp - 0x3c], 7
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
shr ecx, 1
add eax, edx
push ecx
xor edx, edx
lea ecx, [ebp - 0x50]
push eax
mov word [ebp - 0x50], dx
call fcn.100078a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x10012b8e
cmp edi, dword [ebp - 0x1c]
je 0x10012b7e
movups xmm0, xmmword [ebp - 0x50]
mov dword [edi + 0x10], 0
xor ecx, ecx
mov dword [edi + 0x14], 0
mov eax, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x50], cx
movq xmm0, qword [ebp - 0x40]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x20], edi
jmp 0x10012b91
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.10013480
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x10012bcc
mov ecx, dword [ebp - 0x50]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10012bc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c95
push edx
push ecx
call fcn.10035360
add esp, 8
mov ecx, dword [ebp - 0x28]
inc esi
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x18], eax
cmp esi, dword [ecx + 0x14]
jb 0x10012b10
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10013650
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10012c6d
mov edx, dword [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.100138b0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 4
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10012c4e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012c95
push ecx
push esi
call fcn.10035360
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [esi + 0xc]
jb 0x10012a40
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3