Function at 0x10002d40
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov eax, ecx
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x90
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x50], edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x58], esi
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], edi
mov edi, dword [eax + 0x24]
mov dword [ebp - 0x5c], esi
mov esi, dword [eax + 0x20]
test byte [0x10005060], 8
jne 0x10002ed8
mov eax, edi
and eax, 0x40080
cmp eax, 0x80
je 0x10002f61
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x100030b0
test edi, 0x40
je 0x10002dbf
test esi, esi
je 0x100030b0
test edi, 0x81
je 0x10002ea0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
test ebx, ebx
je 0x10002f78
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
movd xmm1, dword [ebx + 0x10]
movd xmm3, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x5c]
movd xmm2, dword [ebx + 0xc]
mov dword [ebp - 0x30], edx
punpckldq xmm1, xmm3
xor edx, edx
movd xmm0, dword [ebx + 8]
mov dword [ebp - 0x2c], ecx
punpckldq xmm0, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [ebp - 0x44], xmm0
test esi, esi
je 0x10002e1a
mov edx, dword [esi]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x100026c0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x64
mov eax, dword [section..bss]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
test eax, eax
jle 0x100030c8
cmp eax, 2
je 0x100031d8
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x10002e74
mov dword [esi], eax
test eax, eax
je 0x10002e90
test edi, 0x20000
jne 0x10002fd0
test edi, 2
je 0x100031f0
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.10001a20
test eax, eax
jne 0x10002e90
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
test ebx, ebx
jne 0x10002ddc
jmp 0x10002f78
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
call fcn.10001590
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x4c]
call fcn.10001590
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x28], edx
mov ecx, dword [ebp - 0x58]
mov dword [esp + 0x24], ecx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x20], edx
mov ecx, dword [ebp - 0x68]
mov dword [esp + 0x1c], ecx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___s___p___ld___s___ld___p___ld___p__0x_08lx__n
mov dword [esp + 0x18], edx
mov dword [esp + 8], str.CredUIPromptForCredentialsW
mov dword [esp + 4], 0x10005060
mov dword [esp], 3
call fcn.10001870
mov eax, edi
and eax, 0x40080
cmp eax, 0x80
jne 0x10002da4
lea esp, [ebp - 0x10]
mov eax, 0x3ec
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x30], edx
xor edx, edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], ecx
test esi, esi
je 0x10002fad
mov edx, dword [esi]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x10002e31
mov dword [esp], 0x10005040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov esi, dword [0x10005058]
mov dword [ebp - 0x50], 0
mov eax, dword fs:[0x18]
mov ebx, dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 4
mov dword [ebp - 0x54], eax
cmp esi, 0x10005058
je 0x10003240
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x4c]
jmp 0x1000301e
mov esi, dword [esi]
cmp esi, 0x10005058
je 0x100030e0
mov eax, dword [esi + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call ebx
sub esp, 8
test eax, eax
jne 0x10003010
mov eax, dword [esi + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x1000307f
mov edx, eax
add edx, 2
cmp word [edx], 0
jne 0x10003060
cmp eax, edx
je 0x1000307f
lea esi, [esi]
mov ecx, eax
add eax, 1
mov byte [ecx], 0
cmp eax, edx
jne 0x10003070
mov eax, dword [esi + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x50], 1
sub esp, 0xc
jmp 0x10003010
lea esp, [ebp - 0x10]
mov eax, 0x57
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x28
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x58]
test eax, eax
je 0x10003240
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x38]
cmp word [edx], 0
je 0x100032f2
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10003108
sub eax, edx
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x4c], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov dword [esi + 0xc], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
mov edx, dword [ebp - 0x30]
cmp word [edx], 0
je 0x100032e8
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10003168
sub eax, edx
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x4c], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
mov eax, edi
shr eax, 0x12
and eax, 1
mov dword [esi + 0x14], eax
mov dword [esp], 0x10005040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x10002e90
test byte [0x10005060], 8
jne 0x10003210
mov eax, 0x4c7
jmp 0x10002e92
mov eax, edi
shr eax, 0x12
and eax, 1
mov dword [esp], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
call fcn.100018c0
jmp 0x10002e92
mov dword [esp + 0xc], str.dialog_cancelled_n
mov dword [esp + 8], str.CredUIPromptForCredentialsW
mov dword [esp + 4], 0x10005060
mov dword [esp], 3
call fcn.10001870
jmp 0x100031e1
mov dword [esp + 8], 0x18
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
mov esi, eax
cmp word [edx], 0
mov eax, edx
je 0x100032fc
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10003280
mov edx, dword [ebp - 0x4c]
sub eax, edx
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x50], edx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x50]
sub esp, 0xc
mov dword [esi + 8], eax
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
mov eax, dword [0x1000505c]
mov dword [esi], 0x10005058
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x1000505c], esi
jmp 0x100030f4
mov edx, 2
jmp 0x10003176
mov edx, 2
jmp 0x10003116
mov edx, 2
jmp 0x10003291