Function at 0x6f246040
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
movd xmm1, edx
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x4c
test byte [0x6f266140], 8
jne 0x6f2462ef
movd eax, xmm1
movd dword [esp + 0x34], xmm1
lea ebp, [eax + eax*2]
shl ebp, 2
lea esi, [ebx + ebp]
mov eax, dword [esi + 0x14]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
test eax, eax
je 0x6f2462c6
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x64
mov dword [esp], 0
call eax
sub esp, 0x14
test byte [0x6f266140], 8
movd xmm1, dword [esp + 0x34]
jne 0x6f246379
movd dword [esp + 0x34], xmm1
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [esi + 0x14]
sub esp, 0x14
test byte [0x6f266140], 8
mov edi, eax
movd xmm1, dword [esp + 0x34]
jne 0x6f24632e
mov eax, edi
shr eax, 0x10
test eax, eax
jne 0x6f2462c6
test byte [ebx + 8], 1
je 0x6f2462be
mov edx, dword [0x6f27a340]
movd eax, xmm1
shl eax, 4
mov edi, dword [eax + 0x6f2660e4]
mov dword [eax + 0x6f2660ec], edx
test byte [0x6f266140], 8
jne 0x6f2463e7
movd eax, xmm1
add edi, 1
movd dword [esp + 0x34], xmm1
shl eax, 4
mov edx, dword [eax + 0x6f2660e8]
imul eax, edi, 0x1c
test edx, edx
je 0x6f2464af
sub edx, 0x1c
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
sub esp, 0x10
add eax, 0x1c
movd xmm1, dword [esp + 0x34]
movd edx, xmm1
shl edx, 4
mov dword [edx + 0x6f2660e8], eax
test byte [ebx + 8], 1
je 0x6f2461ea
test byte [0x6f266140], 8
jne 0x6f246457
movd edx, xmm1
shl edx, 4
mov eax, dword [edx + 0x6f2660e8]
add edx, 0x6f2660e0
mov edx, dword [edx + 0xc]
mov dword [eax - 0x1c], 0xffffffff
movd dword [eax - 0x18], xmm1
mov dword [eax - 0x14], edx
mov dword [eax - 0x10], 0
mov eax, dword [0x6f27a340]
test eax, eax
js 0x6f2462e2
lea edi, [ebp + 0x6f27a0a0]
neg ebp
xor edx, edx
mov dword [esp + 0x3c], ebp
movd ebp, xmm1
xor ebx, ebx
shl ebp, 4
mov ecx, ebp
mov ebp, edx
lea esi, [esi]
cmp dword [edi + 0xc], ebx
jg 0x6f2462d0
imul esi, ebx, 0x1c
jmp 0x6f246259
mov eax, dword [ecx + 0x6f2660e8]
movd xmm0, ebx
add ebx, 1
punpckldq xmm0, xmm1
add eax, esi
add esi, 0x1c
movq qword [eax], xmm0
mov dword [eax + 8], ebp
cmp dword [edi + 0xc], ebx
mov dword [eax + 0xc], 0
jg 0x6f2462d0
cmp dword [edi + 0x10], ebx
jle 0x6f2462d0
test byte [0x6f266140], 8
je 0x6f246230
mov eax, dword [esp + 0x3c]
movd dword [esp + 0x38], xmm1
mov dword [esp + 0x34], ecx
mov eax, dword [edi + eax + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], str._s:Trans__d______s_n
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266140
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x6f2660e0]
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6f245ff0
mov ecx, dword [esp + 0x34]
movd xmm1, dword [esp + 0x38]
jmp 0x6f246230
test edi, edi
jne 0x6f2463b4
add esp, 0x4c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
add ebp, 1
add edi, 0x54
cmp dword [0x6f27a340], ebp
jge 0x6f246218
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___04x___04x__n
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266140
mov dword [esp], 3
mov dword [esp + 0x34], edx
call fcn.6f245ff0
movd xmm1, dword [esp + 0x34]
jmp 0x6f24605c
movd eax, xmm1
shl eax, 4
mov eax, dword [eax + 0x6f2660e0]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Got__u_dev_for___s:_s__n
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x6f266140
mov dword [esp], 3
call fcn.6f245ff0
movd xmm1, dword [esp + 0x34]
jmp 0x6f24610b
mov dword [esp], eax
call fcn.6f25fde0
mov dword [esp + 0xc], str.DRVM_INIT____s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266140
mov dword [esp], 3
call fcn.6f245ff0
movd xmm1, dword [esp + 0x34]
jmp 0x6f2460c7
movd edx, xmm1
shl edx, 4
mov eax, dword [edx + 0x6f2660e4]
add edi, eax
movd xmm0, eax
movd xmm2, edi
mov dword [edx + 0x6f2660e4], edi
punpckldq xmm0, xmm2
movq qword [esi + 0xc], xmm0
test byte [0x6f266140], 8
je 0x6f246148
movd eax, xmm1
movd dword [esp + 0x38], xmm1
shl eax, 4
lea edx, [eax + 0x6f2660e0]
mov eax, dword [eax + 0x6f2660e0]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], str.Setting_min_d_max_d__ttop_d__for___s:_s__n
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266140
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f245ff0
mov edx, dword [esp + 0x34]
movd xmm1, dword [esp + 0x38]
mov edi, dword [edx + 4]
jmp 0x6f246148
imul eax, dword [edx + 0x6f2660ec], 0x54
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xc], str._s:Trans__d______s_n
mov dword [esp + 8], str.MMDRV_InitPerType
mov eax, dword [eax + 0x6f27a0a4]
mov dword [esp + 4], 0x6f266140
mov dword [esp], 3
movd dword [esp + 0x34], xmm1
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x6f2660e0]
mov dword [esp + 0x10], eax
call fcn.6f245ff0
movd xmm1, dword [esp + 0x34]
jmp 0x6f2461be
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_HeapAlloc]
sub esp, 0xc
add eax, 0x1c
movd xmm1, dword [esp + 0x34]
jmp 0x6f24619e