Function at 0x1002af90
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 0x1016f0c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x128
mov eax, dword [0x101f9014]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x134], edi
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x30], 0
je 0x1002b016
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1002aff6
mov ecx, dword [esi]
lea eax, [edi + 0x20]
cmp dword [edi + 0x34], 8
jb 0x1002b001
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1002b016
mov eax, dword [ebp - 0x20]
mov byte [eax], 1
lea ecx, [edi + 0x20]
cmp ecx, esi
je 0x1002b030
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1002b027
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10007df0
push 0x74
push 0
lea eax, [ebp - 0x128]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0x100
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x128]
call fcn.101537b0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 4
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.1012c250
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [edi + 0x4c]
mov eax, dword [ecx + 0x10]
lea edx, [esi + 0x10]
mov dword [ebp - 0x20], edx
cmp eax, dword [edx]
jne 0x1002b0d9
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x1002b0be
mov edx, dword [esi]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x1002b0c8
mov eax, dword [ecx]
mov ecx, eax
call fcn.1012cea0
test al, al
jne 0x1002b0f8
lea ecx, [edi + 0x4c]
mov edx, dword [ebp - 0x20]
cmp ecx, esi
je 0x1002b0ed
cmp dword [esi + 0x14], 8
jb 0x1002b0e5
mov esi, dword [esi]
push dword [edx]
push esi
call fcn.10007df0
lea eax, [ebp - 0x38]
push eax
mov ecx, edi
call fcn.1002bbb0
mov byte [ebp - 4], 6
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x128]
call fcn.10153910
test al, al
je 0x1002b5bd
mov al, byte [ebp - 0x58]
test al, al
je 0x1002b5bd
cmp al, 7
jne 0x1002b5bd
mov dword [ebp - 4], 5
mov dword [ebp - 0x20], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 0x20], esi
test esi, esi
je 0x1002b151
mov eax, dword [esi]
test eax, eax
je 0x1002b151
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
push 0x1019f196
push 0x1019f190
lea ecx, [ebp - 0x60]
call fcn.10159550
mov dword [ebp - 0x12c], eax
mov ecx, eax
call fcn.10159de0
test al, al
jne 0x1002b1d0
mov byte [ebp - 4], 5
test esi, esi
je 0x1002b194
mov eax, dword [esi]
test eax, eax
je 0x1002b18d
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1002b617
inc edx
mov ecx, dword [ebp - 0x38]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b60d
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b60d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x12c]
call fcn.10158aa0
test eax, eax
setne al
mov byte [edi], al
push 0x101a2e4b
push str.rpttick
lea ecx, [ebp - 0x60]
call fcn.10159550
mov esi, eax
mov ecx, esi
call fcn.10159de0
test al, al
jne 0x1002b249
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10012e00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1002b617
inc edx
mov ecx, dword [ebp - 0x38]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b60d
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b60d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, esi
call fcn.10158aa0
mov dword [edi + 4], eax
push 0x101a2e55
push str.subswitch
lea ecx, [ebp - 0x60]
call fcn.10159550
cmp byte [eax + 8], 4
jne 0x1002b201
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.101586f0
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.1012c1c0
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x1002b2be
inc edx
mov ecx, dword [ebp - 0x78]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b2b4
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b243
push edx
push ecx
call fcn.10166d53
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp dword [ebp - 0x84], 0
jne 0x1002b2ed
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x94]
call fcn.10007d90
jmp 0x1002b201
xorps xmm0, xmm0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x44]
push eax
mov edx, 0x3b
lea ecx, [ebp - 0x94]
call fcn.1012c680
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x40]
jne 0x1002b354
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.10007960
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x94]
call fcn.10007d90
jmp 0x1002b201
lea eax, [edi + 8]
mov dword [ebp - 0x130], eax
mov ecx, eax
call fcn.10029610
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
cmp esi, edi
je 0x1002b448
nop dword [eax]
nop word [eax + eax]
xorps xmm0, xmm0
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x6c]
push eax
mov edx, 0x3d
mov ecx, esi
call fcn.1012c680
add esp, 4
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x12c], ecx
sub eax, ecx
sub eax, 0x30
cmp eax, 0x18
jae 0x1002b431
mov edx, str.__r_t_n
call fcn.1012d030
mov edx, str.__r_t_n
mov ecx, dword [ebp - 0x12c]
call fcn.1012d0c0
mov eax, dword [ebp - 0x6c]
add eax, 0x18
mov dword [ebp - 0x12c], eax
mov edx, str.__r_t_n
mov ecx, eax
call fcn.1012d030
mov edx, str.__r_t_n
mov ecx, dword [ebp - 0x12c]
call fcn.1012d0c0
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + 0x18]
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.10017b10
add esp, 4
mov ecx, eax
call fcn.100073e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x6c]
call fcn.10007960
add esi, 0x18
cmp esi, edi
jne 0x1002b380
mov esi, dword [ebp - 0x134]
cmp dword [esi + 0xc], 0
je 0x1002b334
push 0x101a2e75
push str.navigation_domain
lea ecx, [ebp - 0x60]
call fcn.10159550
cmp byte [eax + 8], 4
jne 0x1002b334
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.101586f0
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1012c1c0
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x1002b4cb
inc edx
mov ecx, dword [ebp - 0x78]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b4c1
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b243
push edx
push ecx
call fcn.10166d53
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp dword [ebp - 0x9c], 0
jne 0x1002b4fa
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xac]
call fcn.10007d90
jmp 0x1002b334
add esi, 0x10
mov ecx, esi
call fcn.1000bbf0
push esi
mov edx, 0x7c
lea ecx, [ebp - 0xac]
call fcn.1012c680
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xac]
call fcn.10007d90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.10007960
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x94]
call fcn.10007d90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10012e00
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1002b586
inc edx
mov ecx, dword [ebp - 0x38]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b57c
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b243
push edx
push ecx
call fcn.10166d53
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10158490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.1000b7e0
mov al, 1
jmp 0x1002b649
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x1002b617
inc ecx
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x38]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b5f1
add ecx, 0x23
mov dword [ebp - 0x7c], ecx
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b243
push ecx
push edx
jmp 0x1002b60f
push edx
push ecx
call fcn.10166d53
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10158490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.1000b7e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101669b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8