Function at 0x100199a0
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], 0x10020c70
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 0x10019abb
mov eax, edx
cmp edx, 2
jne 0x10019bcc
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 0x10019a43
js 0x10019f57
mov dword [esi + 0x40], 0
lea eax, [esi + 0x18]
lea ecx, [esi + 8]
push eax
call fcn.10019fa0
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 0x10019a8f
jmp 0x10019bcc
movzx ecx, byte [edx]
mov byte [eax], cl
movsd xmm0, qword [edx + 8]
movsd 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 0x10019bcc
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x10019a60
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edx
call fcn.1001a0f0
mov edx, dword [esi]
mov edi, dword [esi + 0x14]
add edx, 0x10
cmp edx, edi
jne 0x10019a8f
jmp 0x10019bcc
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
test ecx, ecx
je 0x10019aee
cmp ecx, 0x10000000
jae 0x10019f63
mov dword [esi + 0x40], 0
lea eax, [esi + 0x18]
lea ecx, [esi + 8]
push eax
call fcn.10019fa0
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 0x10019bcc
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10019b40
movzx ecx, byte [edi + 0x28]
mov byte [eax], cl
movsd xmm0, qword [edi + 0x30]
movsd 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 0x10019b5b
lea edx, [edi + 0x28]
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edi
call fcn.1001a0f0
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x10019b90
nop word cs:[eax + eax]
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x10019b00
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x10019b70
mov eax, edi
jmp 0x10019b00
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10019b90
jmp 0x10019b00
mov edi, dword [esi + 0x20]
mov ebx, dword [edi]
mov ecx, edi
push dword [ebx + 4]
push edi
call fcn.1001a340
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.100199a0
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp edi, eax
je 0x10019d7f
movzx ecx, byte [eax - 0x10]
mov byte [esi + 0x18], cl
movsd xmm0, qword [eax - 8]
movsd 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.100199a0
add dword [esi + 0xc], 0xfffffff0
movzx eax, byte [esi + 0x18]
cmp eax, 1
je 0x10019cd0
cmp eax, 2
jne 0x10019bbf
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 0x14], edi
cmp edx, edi
jne 0x10019c6b
jmp 0x10019c92
movzx ecx, byte [edx]
mov byte [eax], cl
movsd xmm0, qword [edx + 8]
movsd 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 0x10019c92
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x10019c40
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edx
call fcn.1001a0f0
mov edi, dword [esi + 0x14]
mov edx, dword [esi]
add edx, 0x10
cmp edx, edi
jne 0x10019c6b
mov eax, dword [esi + 0x20]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
cmp ebx, edi
je 0x10019bbf
mov dword [esi], eax
nop word cs:[eax + eax]
movzx eax, byte [ebx]
lea ecx, [ebx + 8]
push eax
call fcn.100199a0
add ebx, 0x10
cmp ebx, edi
jne 0x10019cb0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x10019bbf
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 0x10019ba0
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x10019d20
movzx ecx, byte [edi + 0x28]
mov byte [eax], cl
movsd xmm0, qword [edi + 0x30]
movsd 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 0x10019d3b
lea edx, [edi + 0x28]
mov dword [esi + 0x40], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edi
call fcn.1001a0f0
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x10019d70
nop word cs:[eax + eax]
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x10019ce0
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x10019d50
mov eax, edi
jmp 0x10019ce0
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10019d70
jmp 0x10019ce0
movzx eax, byte [esi + 0x2c]
dec eax
cmp eax, 7
ja case.0x10019d8d.4
jmp dword [eax*4 + 0x10019f80]
mov ebx, dword [esi + 4]
mov edi, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.1001a340
push 0x38
push dword [edi]
call fcn.100f14b0
add esp, 8
push 8
push dword [ebx]
jmp 0x10019ee8
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x10019df7
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x10019ded
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10019f51
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call fcn.100f14b0
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 0x10019ee8
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ebx, dword [eax]
test ebx, ebx
je 0x10019ee5
mov dword [esi], eax
mov edi, dword [eax + 4]
cmp ebx, edi
je 0x10019e9e
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [ebx + 8]
push eax
call fcn.100199a0
add ebx, 0x10
cmp ebx, edi
jne 0x10019e30
mov edi, dword [esi]
mov ebx, dword [edi]
jmp 0x10019ea0
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x10019e99
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x10019e76
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10019f51
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100f14b0
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 0x10019ee8
mov edi, dword [esi]
mov eax, dword [edi + 8]
sub eax, ebx
cmp eax, 0x1000
jb 0x10019ec2
mov ecx, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, ecx
cmp ebx, 0x20
jae 0x10019f51
add eax, 0x23
mov ebx, ecx
push eax
push ebx
call fcn.100f14b0
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.100f14b0
add esp, 8
mov edi, dword [esi + 8]
test edi, edi
je 0x10019f3e
mov ebx, dword [esi + 0xc]
cmp edi, ebx
je 0x10019f16
nop
movzx eax, byte [edi]
lea ecx, [edi + 8]
push eax
call fcn.100199a0
add edi, 0x10
cmp edi, ebx
jne 0x10019f00
mov edi, dword [esi + 8]
mov eax, dword [esi + 0x10]
sub eax, edi
cmp eax, 0x1000
jb 0x10019f34
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
sub edi, ecx
cmp edi, 0x20
jae 0x10019f51
add eax, 0x23
mov edi, ecx
push eax
push edi
call fcn.100f14b0
add esp, 8
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
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.10017900
mov dword [esi + 0x40], 0
call fcn.10017900
nop
push ebp
sub esp, 8
lea esi, [ebp - 0x44]
mov ebp, dword [esi + 0x30]
call sub.VCRUNTIME140.dll___std_terminate
nop
xchg esp, eax
popfd
add dword [eax], edx
adc al, 0x9e
add dword [eax], edx
mov ebx, 0xf310019d
sahf
add dword [eax], edx
sahf
add dword [eax], edx
sahf
add dword [eax], edx
sahf
add dword [eax], edx
dec ecx
sahf
add dword [eax], edx