Function at 0x7d28daf0
Capabilities:
Map section object

Disassembly:
sub esp, 0x124
push ebx
push ebp
mov ebp, dword [esp + 0x130]
push esi
push edi
mov dword [esp + 0x14], 0
mov ecx, dword [ebp + 8]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d28db10
sub ecx, edx
mov edx, dword [ebp + 0xc]
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7d28db25
sub edx, esi
mov esi, dword [ebp + 0x10]
sar edx, 1
lea edi, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x7d28db40
sub esi, edi
mov edi, dword [ebp + 0x18]
sar esi, 1
lea ebx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x7d28db55
sub edi, ebx
mov ebx, dword [ebp + 0x14]
sar edi, 1
lea eax, [ebx + 1]
mov dword [esp + 0x10], eax
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x7d28db70
mov ebp, dword [ebp + 0x1c]
sub ebx, dword [esp + 0x10]
lea eax, [ebp + 1]
mov dword [esp + 0x10], eax
mov al, byte [ebp]
inc ebp
test al, al
jne 0x7d28db85
sub ebp, dword [esp + 0x10]
lea eax, [edi + esi]
add eax, edx
add ebx, 0x1b
add eax, ecx
lea eax, [eax*2]
add eax, ebp
add eax, ebx
push eax
mov dword [esp + 0x14], eax
call fcn.7d221505
mov ebx, dword [esp + 0x138]
mov edi, eax
mov ecx, dword [str.sbox5.58.0]
mov dword [esp + 0x2c], edi
mov dword [edi], ecx
lea esi, [edi + 0x10]
mov dword [edi + 4], 0
mov edx, esi
mov ecx, dword [ebx]
mov dword [edi + 8], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebx + 8]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x7d28dbe0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d28dbf6
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
mov ecx, dword [ebx + 0xc]
add esi, 2
mov edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x7d28dc10
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d28dc26
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
mov ecx, dword [ebx + 0x10]
add esi, 2
mov edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x7d28dc40
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d28dc56
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
mov ecx, dword [ebx + 0x18]
add esi, 2
mov edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x7d28dc70
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d28dc86
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
mov ecx, dword [ebx + 0x14]
add esi, 2
mov edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x7d28dca0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x7d28dcb3
sub ecx, edx
add esi, ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [esi + 1]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x7d28dcc4
lea ecx, [esi + 1]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x7d28dcd8
sub ecx, edx
xor ebp, ebp
mov byte [ecx + esi + 2], 0x2a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x18]
push edi
push dword [0x7d2b6d88]
call sym.SbieDll.dll_SbieDll_QueuePutReq
mov ebx, eax
cmp ebx, 0xc0000034
jne 0x7d28ddeb
mov ecx, dword [0x7d2b7348]
and ecx, 2
or ecx, 0
jne 0x7d28de1a
movups xmm0, xmmword [str.SBIE_BOXED_]
mov edx, dword [str.RPCSS_SXS]
mov esi, edx
movups xmmword [esp + 0x34], xmm0
movq xmm0, qword [0x7d29b350]
movq qword [esp + 0x44], xmm0
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7d28dd50
lea edi, [esp + 0x34]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d28dd64
mov ecx, edx
lea eax, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, 0xfffffffe
rep movsb byte es:[edi], byte [esi]
mov cx, word [eax + 2]
lea eax, [eax + 2]
test cx, cx
jne 0x7d28dd85
mov ecx, dword [str._READY]
mov dword [eax], ecx
mov ecx, dword [0x7d2a5598]
mov dword [eax + 4], ecx
mov ecx, dword [0x7d2a559c]
mov dword [eax + 8], ecx
mov cx, word [0x7d2a55a0]
mov word [eax + 0xc], cx
lea eax, [esp + 0x34]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
mov esi, eax
call sym.SbieDll.dll_SbieDll_StartCOM
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edi, dword [esp + 0x2c]
jmp 0x7d28de0e
test ebx, ebx
jne 0x7d28dfd3
push 0x7530
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x18]
mov ebx, eax
call esi
test ebx, ebx
je 0x7d28de39
inc ebp
cmp ebp, 3
jb 0x7d28dcf0
jmp 0x7d28de54
push edi
call fcn.7d221537
mov eax, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov byte [eax], 1
xor eax, eax
pop ebx
add esp, 0x124
ret 8
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x38]
push dword [0x7d2b6d88]
call sym.SbieDll.dll_SbieDll_QueueGetRpl
mov ebx, eax
push edi
call fcn.7d221537
test ebx, ebx
jne 0x7d28dfd9
mov edi, dword [esp + 0x20]
cmp edi, 4
jne 0x7d28de89
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0xffffffff
jne 0x7d28ded0
push eax
call fcn.7d221537
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret 8
cmp edi, 0x14
jne 0x7d28ded0
mov ebx, dword [esp + 0x1c]
lea esi, [edi - 4]
mov ecx, ebx
mov edx, str.UseAltCreateActCtx
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x7d28ded0
add ecx, 4
add edx, 4
sub esi, 4
jae 0x7d28dea0
mov eax, dword [esp + 0x13c]
push ebx
mov byte [eax], 1
call fcn.7d221537
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret 8
push 0
push 0x8000000
push 4
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edi
push eax
push 0
push 0xf0007
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
js 0x7d28dfb9
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
mov esi, dword [sym.imp.ntdll.dll_NtMapViewOfSection]
push 4
push 0x400000
push 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
movlpd qword [esp + 0x34], xmm0
push eax
push 0
push 0
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
call esi
test eax, eax
js 0x7d28dfaf
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x1c]
call sub.ntdll.dll_memcpy
add esp, 0xc
push dword [esp + 0x14]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
push 2
push 0x400000
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x20], 0
push eax
push 0
push 0
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
movlpd qword [esp + 0x4c], xmm0
call esi
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [esp + 0x14], ecx
push dword [esp + 0x18]
call dword [sym.imp.ntdll.dll_NtClose]
push dword [esp + 0x1c]
call fcn.7d221537
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 8
push edi
call fcn.7d221537
cmp ebx, 0xc0000061
jne 0x7d28e001
mov byte [0x7d2debb0], 1
mov eax, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov byte [eax], 1
xor eax, eax
pop ebx
add esp, 0x124
ret 8
cmp ebx, 0xc000000a
je 0x7d28dfe8
push ebx
push dword [0x7d2b7310]
push dword [0x7d2b6d88]
push str._S____S___08X_
push 0x89b
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 8