Function at 0x7d221668
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x7d232fd0
sub esp, 0x90
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
xor ebx, ebx
push esi
push edi
cmp byte [0x7d2b7080], bl
jne 0x7d233076
xor edi, edi
push 0x80
lea eax, [esp + 0x20]
push eax
mov eax, edi
or eax, 0x20000000
push eax
push dword [0x7d2b60e8]
push 0
call sym.SbieDll.dll_SbieApi_QueryConf
test eax, eax
js 0x7d233056
lea edx, [esp + 0x1c]
mov esi, ebp
cmp word [esp + 0x1c], bx
je 0x7d23304e
mov al, byte [esi]
test al, al
je 0x7d23304e
movzx ecx, word [edx]
movsx eax, al
cmp ecx, eax
jne 0x7d23304e
add edx, 2
inc esi
cmp word [edx], bx
jne 0x7d233021
mov eax, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
cmp word [edx], bx
je 0x7d23303a
inc edi
jmp 0x7d232ff1
cmp eax, 0xc0000023
jne 0x7d233060
inc edi
jmp 0x7d232ff1
movzx eax, byte [0x7d2b7080]
test edi, edi
mov ecx, 1
cmove eax, ecx
mov byte [0x7d2b7080], al
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x7d2330a6
push 1
push ebp
push dword [0x7d2b60e0]
push 0x8ff
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
push eax
call fcn.7d221910
mov edi, eax
mov al, byte [edi]
cmp al, 0xeb
jne 0x7d2330bf
movsx eax, byte [edi + 1]
add edi, 2
add edi, eax
mov al, byte [edi]
mov ebp, dword [esp + 0xac]
cmp al, 0xe9
jne 0x7d2330f1
nop word [eax + eax]
lea esi, [edi + 5]
add esi, dword [edi + 1]
cmp esi, ebp
je 0x7d2331c0
push esi
call fcn.7d221910
mov ebx, eax
cmp ebx, esi
je 0x7d233152
mov edi, ebx
cmp byte [ebx], 0xe9
je 0x7d2330d0
push 0x7d2ded00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x7d2ded30]
test esi, esi
je 0x7d23311f
mov eax, dword [esp + 0xb0]
nop dword [eax]
cmp dword [esi + 8], eax
je 0x7d2331ed
mov esi, dword [esi]
test esi, esi
jne 0x7d233110
push 0x10
call fcn.7d2217b2
mov esi, eax
test esi, esi
jne 0x7d2331cf
mov eax, dword [esp + 0xa4]
push 0x33
push eax
push dword [0x7d2b60e0]
push 0x8ff
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x10
jmp 0x7d233305
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
sub ebp, edi
inc edi
push 4
push edi
sub ebp, 5
call ebx
test eax, eax
jne 0x7d2331a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0xa8]
push 0x1f
push eax
push dword [0x7d2b60e4]
push 0x8ff
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
lea eax, [esp + 0x18]
mov dword [edi], ebp
push eax
push dword [esp + 0x14]
push 4
push edi
call ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x10
mov eax, dword [esp + 0xa4]
push 4
push eax
jmp 0x7d233084
mov eax, dword [esp + 0xb0]
push esi
push 0
push 0x7d2ded30
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
call fcn.7d221096
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x7d23322d
mov eax, dword [str.sbox5.58.0]
or eax, 0xff
push eax
call fcn.7d221bc7
mov dword [esi + 0xc], eax
test eax, eax
jne 0x7d23322d
mov eax, dword [esp + 0xa4]
push 0x34
push eax
push dword [0x7d2b60e0]
push 0x8ff
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x10
jmp 0x7d233305
push 0x80
push eax
call fcn.7d2214d3
mov esi, eax
test esi, esi
jne 0x7d233251
push eax
push 0x901
call sym.SbieDll.dll_SbieApi_Log
add esp, 8
jmp 0x7d233305
push esi
push edi
call sym.SbieDll.dll_SbieApi_HookTramp
test eax, eax
je 0x7d23327e
mov eax, dword [esp + 0xa4]
push 2
push eax
push dword [0x7d2b60e0]
push 0x8ff
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x10
jmp 0x7d233305
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x14
push eax
push 0x40
push 0x14
lea ebx, [edi - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x7d2332e3
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0xc
push eax
push 0x40
push 0xc
push edi
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x7d2332e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0xa8]
push 0x21
push eax
push dword [0x7d2b60e4]
push 0x8ff
call sym.SbieDll.dll_SbieApi_Log
add esp, 0x14
xor ebx, ebx
jmp 0x7d233305
sub ebp, edi
mov byte [edi], 0xe9
lea eax, [esp + 0x18]
sub ebp, 5
push eax
mov dword [edi + 1], ebp
push dword [esp + 0x14]
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ebx, [esi + 0x10]
push 0x7d2ded00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x90
ret 0x10