Function at 0x10019a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
mov dword [esi + 4], ecx
movzx edx, byte [ebp + 8]
mov dword [esi + 0x34], esp
mov dword [esi + 0x40], 0xffffffff
lea eax, [esi + 0x38]
mov dword [esi + 0x3c], 0x100201d0
mov ecx, dword fs:[0]
mov dword [esi + 0x38], ecx
mov dword fs:[0], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp edx, 1
mov dword [esi + 0x2c], edx
je 0x10019b3b
mov eax, edx
cmp edx, 2
jne 0x10019c4c
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov edx, edi
sub edx, ecx
sar edx, 4
mov dword [esi + 0x18], edx
mov edx, edi
sub edx, ecx
je 0x10019ac3
js 0x10019fd7
mov dword [esi + 0x40], 0
lea eax, [esi + 0x18]
lea ecx, [esi + 8]
push eax
call fcn.1001a020
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov dword [esi + 0x14], edi
cmp edx, edi
jne 0x10019b0f
jmp 0x10019c4c
movzx ecx, byte [edx]
mov byte [eax], cl
vmovsd xmm0, qword [edx + 8]
vmovsd qword [eax + 8], xmm0
mov byte [edx], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
add dword [esi + 0xc], 0x10
add edx, 0x10
cmp edx, edi
je 0x10019c4c
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x10019ae0
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edx
call fcn.1001a170
mov edx, dword [esi]
mov edi, dword [esi + 0x14]
add edx, 0x10
cmp edx, edi
jne 0x10019b0f
jmp 0x10019c4c
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
test ecx, ecx
je 0x10019b6e
cmp ecx, 0x10000000
jae 0x10019fe3
mov dword [esi + 0x40], 0
lea eax, [esi + 0x18]
lea ecx, [esi + 8]
push eax
call fcn.1001a020
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 0x14], edx
nop word cs:[eax + eax]
cmp eax, edx
je 0x10019c4c
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10019bc0
movzx ecx, byte [edi + 0x28]
mov byte [eax], cl
vmovsd xmm0, qword [edi + 0x30]
vmovsd qword [eax + 8], xmm0
mov byte [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
add dword [esi + 0xc], 0x10
jmp 0x10019bdb
lea edx, [edi + 0x28]
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edi
call fcn.1001a170
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x10019c10
nop word cs:[eax + eax]
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x10019b80
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x10019bf0
mov eax, edi
jmp 0x10019b80
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10019c10
jmp 0x10019b80
mov edi, dword [esi + 0x20]
mov ebx, dword [edi]
mov ecx, edi
push dword [ebx + 4]
push edi
call fcn.1001a3c0
mov dword [ebx + 4], ebx
mov dword [ebx], ebx
mov dword [ebx + 8], ebx
mov dword [edi + 4], 0
movzx eax, byte [esi + 0x18]
lea ecx, [esi + 0x20]
push eax
call fcn.10019a20
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp edi, eax
je 0x10019dff
movzx ecx, byte [eax - 0x10]
mov byte [esi + 0x18], cl
vmovsd xmm0, qword [eax - 8]
vmovsd qword [esi + 0x20], xmm0
mov byte [eax - 0x10], 0
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov ecx, dword [esi + 0xc]
movzx eax, byte [ecx - 0x10]
add ecx, 0xfffffff8
push eax
call fcn.10019a20
add dword [esi + 0xc], 0xfffffff0
movzx eax, byte [esi + 0x18]
cmp eax, 1
je 0x10019d50
cmp eax, 2
jne 0x10019c3f
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 0x14], edi
cmp edx, edi
jne 0x10019ceb
jmp 0x10019d12
movzx ecx, byte [edx]
mov byte [eax], cl
vmovsd xmm0, qword [edx + 8]
vmovsd qword [eax + 8], xmm0
mov byte [edx], 0
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
add dword [esi + 0xc], 0x10
add edx, 0x10
cmp edx, edi
je 0x10019d12
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x10019cc0
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edx
call fcn.1001a170
mov edi, dword [esi + 0x14]
mov edx, dword [esi]
add edx, 0x10
cmp edx, edi
jne 0x10019ceb
mov eax, dword [esi + 0x20]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
cmp ebx, edi
je 0x10019c3f
mov dword [esi], eax
nop word cs:[eax + eax]
movzx eax, byte [ebx]
lea ecx, [ebx + 8]
push eax
call fcn.10019a20
add ebx, 0x10
cmp ebx, edi
jne 0x10019d30
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x10019c3f
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 0x14], edx
nop word [eax + eax]
cmp eax, edx
je 0x10019c20
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10019da0
movzx ecx, byte [edi + 0x28]
mov byte [eax], cl
vmovsd xmm0, qword [edi + 0x30]
vmovsd qword [eax + 8], xmm0
mov byte [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
add dword [esi + 0xc], 0x10
jmp 0x10019dbb
lea edx, [edi + 0x28]
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edi
call fcn.1001a170
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x10019df0
nop word cs:[eax + eax]
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x10019d60
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x10019dd0
mov eax, edi
jmp 0x10019d60
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10019df0
jmp 0x10019d60
movzx eax, byte [esi + 0x2c]
dec eax
cmp eax, 7
ja case.0x10019e0d.4
jmp dword [eax*4 + 0x1001a000]
mov ebx, dword [esi + 4]
mov edi, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.1001a3c0
push 0x38
push dword [edi]
call fcn.100e81b0
add esp, 8
push 8
push dword [ebx]
jmp 0x10019f68
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x10019e77
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x10019e6d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10019fd1
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call fcn.100e81b0
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
push 0x18
mov eax, dword [esi + 4]
push dword [eax]
jmp 0x10019f68
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ebx, dword [eax]
test ebx, ebx
je 0x10019f65
mov dword [esi], eax
mov edi, dword [eax + 4]
cmp ebx, edi
je 0x10019f1e
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [ebx + 8]
push eax
call fcn.10019a20
add ebx, 0x10
cmp ebx, edi
jne 0x10019eb0
mov edi, dword [esi]
mov ebx, dword [edi]
jmp 0x10019f20
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x10019f19
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x10019ef6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10019fd1
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100e81b0
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 4]
mov edi, dword [eax]
push 0x10
push edi
jmp 0x10019f68
mov edi, dword [esi]
mov eax, dword [edi + 8]
sub eax, ebx
cmp eax, 0x1000
jb 0x10019f42
mov ecx, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, ecx
cmp ebx, 0x20
jae 0x10019fd1
add eax, 0x23
mov ebx, ecx
push eax
push ebx
call fcn.100e81b0
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 4]
mov eax, dword [eax]
push 0xc
push eax
call fcn.100e81b0
add esp, 8
mov edi, dword [esi + 8]
test edi, edi
je 0x10019fbe
mov ebx, dword [esi + 0xc]
cmp edi, ebx
je 0x10019f96
nop
movzx eax, byte [edi]
lea ecx, [edi + 8]
push eax
call fcn.10019a20
add edi, 0x10
cmp edi, ebx
jne 0x10019f80
mov edi, dword [esi + 8]
mov eax, dword [esi + 0x10]
sub eax, edi
cmp eax, 0x1000
jb 0x10019fb4
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
sub edi, ecx
cmp edi, 0x20
jae 0x10019fd1
add eax, 0x23
mov edi, ecx
and ecx, dword [ecx - 0x17a8af31]
cmc
loope 0x10019fc6
push eax
push edi
call fcn.100e81b0
or al, 0
add byte [ebx + 0x468b08c4], al
cmp byte [ebx], ah
add byte [eax], al
add esp, 8
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
add byte [ebp + 0x5f5ef465], cl
pop ebx
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [esi + 0x40], 0
call fcn.10017b30
mov dword [esi + 0x40], 0
call fcn.10017b30
nop
push ebp
sub esp, 8
lea esi, [ebp - 0x44]
mov ebp, dword [esi + 0x30]
call sub.VCRUNTIME140.dll___std_terminate
nop
adc al, 0x9e
add dword [eax], edx
xchg esp, eax
sahf
add dword [eax], edx
cmp ebx, dword [esi - 0x608cefff]
add dword [eax], edx
jae 0x10019fb1
add dword [eax], edx
jae 0x10019fb5
add dword [eax], edx
jae 0x10019fb9
add dword [eax], edx
leave
sahf
add dword [eax], edx