Function at 0x1002ab20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 4], ecx
mov dl, byte [ebp + 8]
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
lea eax, [esi + 0x30]
mov dword [esi + 0x34], 0x1003bfd0
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
cmp dl, 1
je 0x1002ac2b
mov eax, edx
cmp dl, 2
jne 0x1002ad2c
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ecx, edi
sub ecx, edx
mov eax, ecx
sar eax, 4
test ecx, ecx
je 0x1002abbb
js 0x1002b097
mov dword [esi + 0x38], 0
lea ecx, [esi + 8]
push eax
call fcn.1002b110
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 0x14], edi
cmp edx, edi
jne 0x1002abff
jmp 0x1002ad2c
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 0x1002ad2c
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x1002abd0
mov dword [esi + 0x38], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edx
call fcn.1002b250
mov edi, dword [esi + 0x14]
mov edx, dword [esi]
add edx, 0x10
cmp edx, edi
jne 0x1002abff
jmp 0x1002ad2c
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1002ac57
cmp eax, 0x10000000
jae 0x1002b0a3
mov dword [esi + 0x38], 0
lea ecx, [esi + 8]
push eax
call fcn.1002b110
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esi + 0x14], edx
nop
cmp eax, edx
je 0x1002ad2c
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1002aca0
mov cl, 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 0x1002acbb
lea edx, [edi + 0x28]
mov dword [esi + 0x38], 0
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edi
call fcn.1002b250
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x1002acf0
nop word cs:[eax + eax]
nop
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002ac60
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x1002acd0
mov eax, edi
jmp 0x1002ac60
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1002acf0
jmp 0x1002ac60
mov edi, dword [esi + 0x20]
mov ebx, dword [edi]
mov ecx, edi
push dword [ebx + 4]
push edi
call fcn.1002a370
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.1002ab20
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp edi, eax
je 0x1002aebf
mov cl, 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.1002ab20
add dword [esi + 0xc], 0xfffffff0
mov al, byte [esi + 0x18]
cmp al, 1
je 0x1002ae10
cmp al, 2
jne 0x1002ad1f
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esi + 0x14], edi
cmp edx, edi
jne 0x1002adbb
jmp 0x1002ade2
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 0x1002ade2
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jne 0x1002ad90
mov dword [esi + 0x38], 1
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edx
call fcn.1002b250
mov edi, dword [esi + 0x14]
mov edx, dword [esi]
add edx, 0x10
cmp edx, edi
jne 0x1002adbb
mov eax, dword [esi + 0x20]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
cmp edi, ebx
je 0x1002ae07
mov dword [esi], eax
lea ecx, [edi + 8]
movzx eax, byte [edi]
push eax
call fcn.1002ab20
add edi, 0x10
cmp edi, ebx
jne 0x1002adf0
mov eax, dword [esi]
mov ebx, dword [eax]
mov dword [eax + 4], ebx
jmp 0x1002ad1f
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 0x1002ad00
mov edi, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1002ae60
mov cl, 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 0x1002ae7b
lea edx, [edi + 0x28]
mov dword [esi + 0x38], 1
lea ecx, [esi + 8]
push edx
push eax
mov dword [esi], edi
call fcn.1002b250
mov edi, dword [esi]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 8]
cmp byte [ecx + 0xd], 0
je 0x1002aeb0
nop word cs:[eax + eax]
nop
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002ae20
mov ecx, edi
mov edi, eax
cmp ecx, dword [eax + 8]
je 0x1002ae90
mov eax, edi
jmp 0x1002ae20
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1002aeb0
jmp 0x1002ae20
mov al, byte [ebp + 8]
add al, 0xff
cmp al, 7
ja case.0x1002aecf.252
movzx eax, al
jmp dword [eax*4 + 0x1002b0e8]
mov ebx, dword [esi + 4]
mov edi, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
push edi
call fcn.1002a370
push 0x38
push dword [edi]
call fcn.102e53ef
add esp, 8
push 8
push dword [ebx]
jmp 0x1002b028
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x1002af39
mov ecx, dword [edi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x1002af2f
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1002b091
add eax, 0x24
mov ebx, eax
mov ecx, edx
push ebx
push ecx
call fcn.102e53ef
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 0x1002b028
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ebx, dword [eax]
test ebx, ebx
je 0x1002b025
mov dword [esi], eax
mov edi, dword [eax + 4]
cmp ebx, edi
je 0x1002afde
nop
movzx eax, byte [ebx]
lea ecx, [ebx + 8]
push eax
call fcn.1002ab20
add ebx, 0x10
cmp ebx, edi
jne 0x1002af70
mov edi, dword [esi]
mov ebx, dword [edi]
jmp 0x1002afe0
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1002afd9
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x1002afb6
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1002b091
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.102e53ef
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 0x1002b028
mov edi, dword [esi]
mov eax, dword [edi + 8]
sub eax, ebx
cmp eax, 0x1000
jb 0x1002b002
mov ecx, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, ecx
cmp ebx, 0x20
jae 0x1002b091
add eax, 0x23
mov ebx, ecx
push eax
push ebx
call fcn.102e53ef
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.102e53ef
add esp, 8
mov edi, dword [esi + 8]
test edi, edi
je 0x1002b07e
mov ebx, dword [esi + 0xc]
cmp edi, ebx
je 0x1002b056
nop
movzx eax, byte [edi]
lea ecx, [edi + 8]
push eax
call fcn.1002ab20
add edi, 0x10
cmp edi, ebx
jne 0x1002b040
mov edi, dword [esi + 8]
mov eax, dword [esi + 0x10]
sub eax, edi
cmp eax, 0x1000
jb 0x1002b074
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
sub edi, ecx
cmp edi, 0x20
jae 0x1002b091
add eax, 0x23
mov edi, ecx
push eax
push edi
call fcn.102e53ef
add esp, 8
mov eax, dword [esi + 0x30]
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 + 0x38], 0
call fcn.10029dd0
mov dword [esi + 0x38], 0
call fcn.10029dd0
nop
push ebp
sub esp, 8
lea esi, [ebp - 0x3c]
mov ebp, dword [esi + 0x28]
movzx eax, byte [esi + 0x18]
lea ecx, [esi + 0x20]
push eax
call fcn.1002ab20
add esp, 8
pop ebp
ret