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

Disassembly:
sub esp, 0x10
cmp byte [0x110c6683], 0
push esi
je 0x1107c047
test byte [0x110c66ec], 4
je 0x1107c047
push 0
mov edx, 4
mov ecx, str.Adding_sfall_opcodes.
call fcn.11011060
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x46e370
call esi
lea eax, [esp + 4]
mov dword [0x46e370], 0x300
push eax
push dword [esp + 8]
push 4
push 0x46e370
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x46ce34
call esi
lea eax, [esp + 4]
mov dword [0x46ce34], 0x110fb7b0
push eax
push dword [esp + 8]
push 4
push 0x46ce34
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x46ce6c
call esi
lea eax, [esp + 4]
mov dword [0x46ce6c], 0x110fb7b0
push eax
push dword [esp + 8]
push 4
push 0x46ce6c
call esi
lea eax, [esp + 4]
push eax
push 0x40
push 4
push 0x46e390
call esi
lea eax, [esp + 4]
mov dword [0x46e390], 0x110fb7b0
push eax
push dword [esp + 8]
push 4
push 0x46e390
call esi
mov ecx, 0x110c1280
movsx eax, word [ecx]
mov dword [eax*4 + 0x110fbe58], ecx
add ecx, 0x54
cmp ecx, 0x110c46ac
jl 0x1107c102
call fcn.1106da80
mov al, byte [0x110d71ee]
sub esp, 0x28
mov byte [0x110f6ada], al
mov ecx, 0x110e5118
mov eax, esp
mov dword [eax], 0x110bad58
mov dword [eax + 0x24], eax
lea eax, [esp + 0x30]
push eax
call fcn.110053e0
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x1107c17d
push dword [esp + 4]
mov edx, dword [esp + 0x10]
push ecx
call fcn.11008d10
mov edx, dword [esp + 0x10]
mov eax, 0x66666667
mov ecx, dword [esp + 8]
sub edx, ecx
imul edx
push 0x28
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.11004ac0
push str..ddraw.ini
call fcn.1100a210
mov ecx, eax
call fcn.1100a300
test eax, eax
je 0x1107c1f6
lea ecx, [esp + 4]
push ecx
push str.AllowUnsafeScripting
push str.Debugging
mov ecx, eax
call fcn.11003200
test al, al
je 0x1107c1f6
mov ecx, dword [esp + 4]
cmp dword [ecx + 0x14], 0x10
jb 0x1107c1b8
mov ecx, dword [ecx]
call fcn.11011f90
test eax, eax
je 0x1107c1f6
movzx ecx, byte [0x110c0e54]
xor esi, esi
cmp eax, 2
mov byte [0x110e42db], 1
cmove ecx, esi
cmp byte [0x110c6683], 0
mov byte [0x110c0e54], cl
je 0x1107c219
test byte [0x110c66ec], 4
je 0x1107c219
mov ecx, str._Unsafe_opcodes_enabled.
jmp 0x1107c20d
cmp byte [0x110c6683], 0
je 0x1107c219
test byte [0x110c66ec], 4
je 0x1107c219
mov ecx, str._Unsafe_opcodes_disabled.
push 1
mov edx, 4
call fcn.11011060
mov dword [0x110fbeec], 0x1106d5c0
mov dword [0x110fbef0], 0x1106d630
mov dword [0x110fbef4], 0x1106d6a0
mov dword [0x110fc01c], 0x1106d740
mov dword [0x110fbef8], 0x1106d880
mov dword [0x110fbefc], 0x1106d880
mov dword [0x110fbf00], 0x1106d880
mov dword [0x110fbf04], 0x1106d880
mov dword [0x110fbf08], 0x1106d880
mov dword [0x110fbf0c], 0x1106d880
mov dword [0x110fbf10], 0x1106d880
mov dword [0x110fbf14], 0x1106d880
mov dword [0x110fbf18], 0x1106d880
mov dword [0x110fbf1c], 0x1106d880
mov dword [0x110fbd08], 0x1106d4b0
mov dword [0x110fbd0c], 0x1106d4f0
mov dword [0x110fbd10], 0x1106d530
mov dword [0x110fbd14], 0x1106d570
mov dword [0x110fbd38], 0x1106bd90
mov dword [0x110fbd40], 0x1106b230
mov dword [0x110fbd44], 0x1106b800
mov dword [0x110fbd48], 0x1106b830
mov dword [0x110fbd4c], 0x1106b890
mov dword [0x110fbd50], 0x1106b8c0
mov dword [0x110fbd54], 0x1106b8f0
mov dword [0x110fbd58], 0x1106add0
mov dword [0x110fbd5c], 0x1106bc90
mov dword [0x110fbd64], 0x1106b990
mov dword [0x110fbd68], 0x1106bab0
mov dword [0x110fbd6c], 0x1106bb50
mov dword [0x110fbd70], 0x11072110
mov dword [0x110fbd78], 0x110721b0
mov dword [0x110fbd7c], 0x11072170
mov dword [0x110fbd80], 0x11072190
mov dword [0x110fbd90], 0x11070090
mov dword [0x110fbd94], 0x11070090
mov dword [0x110fbd98], 0x11070090
mov dword [0x110fbd9c], 0x11070090
mov dword [0x110fbda0], 0x11070090
mov dword [0x110fbda4], 0x11070090
mov dword [0x110fbda8], 0x11070090
mov dword [0x110fbdac], 0x11070090
mov dword [0x110fbdb0], 0x11070090
mov dword [0x110fbdb4], 0x11070090
mov dword [0x110fbdb8], 0x11070090
mov dword [0x110fbdbc], 0x11070090
mov dword [0x110fbdc0], 0x11070090
mov dword [0x110fbdc4], 0x11070090
mov dword [0x110fbdc8], 0x11070090
mov dword [0x110fbdcc], 0x11070090
mov dword [0x110fbdd0], 0x11070090
mov dword [0x110fbde0], 0x11069060
mov dword [0x110fbde4], 0x110690c0
mov dword [0x110fbde8], 0x1106ff20
mov dword [0x110fbdec], 0x1106ff40
mov dword [0x110fbdf4], 0x11070cd0
mov dword [0x110fbdfc], 0x110695b0
mov dword [0x110fbe00], 0x110695d0
mov dword [0x110fbe1c], 0x1106ae00
mov dword [0x110fbe20], 0x1106ae30
mov dword [0x110fbe30], 0x11070d90
mov dword [0x110fbe34], 0x11070dd0
mov dword [0x110fbe38], 0x11070f80
mov dword [0x110fbe3c], 0x1106e140
mov dword [0x110fbe40], 0x1106e160
mov dword [0x110fbe48], 0x1106c070
mov dword [0x110fbe4c], 0x1106c090
mov dword [0x110fbe50], 0x1106c0b0
mov dword [0x110fbe54], 0x1106c0d0
mov dword [0x110fbe5c], 0x11070690
mov dword [0x110fbe64], 0x1106bbe0
mov dword [0x110fbe68], 0x1106bc10
mov dword [0x110fbe6c], 0x11072140
mov dword [0x110fbe70], 0x1106bc60
mov dword [0x110fbe74], 0x1106b920
mov dword [0x110fbe78], 0x1106ba20
mov dword [0x110fbe7c], 0x1106e180
mov dword [0x110fbe80], 0x11070fb0
mov dword [0x110fbe84], 0x11071000
mov dword [0x110fbe88], 0x1106e1b0
mov dword [0x110fbe8c], 0x11071050
mov dword [0x110fbe90], 0x11071090
mov eax, 0x110fbd08
mov dword [0x110fbe94], 0x110710d0
mov dword [0x110fbe98], 0x11071110
mov dword [0x110fbea8], 0x11070320
mov dword [0x110fbeac], 0x11070360
mov dword [0x110fbeb0], 0x11070370
mov dword [0x110fbebc], 0x11070520
mov dword [0x110fbec0], 0x11070380
mov dword [0x110fbec8], 0x11070e50
mov dword [0x110fbed0], 0x11070f50
mov dword [0x110fbed8], 0x11070ed0
mov dword [0x110fbedc], 0x110705a0
mov dword [0x110fbee0], 0x110705d0
mov dword [0x110fbee4], 0x110705e0
mov dword [0x110fbee8], 0x11070780
mov dword [0x110fbf2c], 0x11069210
mov dword [0x110fbf30], 0x11069250
mov dword [0x110fbf48], 0x11070c50
mov dword [0x110fbf4c], 0x11070c70
mov dword [0x110fbf50], 0x11070c90
mov dword [0x110fbf54], 0x11070cb0
mov dword [0x110fbf58], 0x1106b260
mov dword [0x110fbf88], 0x1106e140
mov dword [0x110fbfc8], 0x1106b280
mov dword [0x110fbff0], 0x1106b390
mov dword [0x110fbff4], 0x1106b390
mov dword [0x110fbff8], 0x1106b3b0
mov dword [0x110fbffc], 0x1106e320
mov dword [0x110fc000], 0x1106e380
mov dword [0x110fc004], 0x1106e350
mov dword [0x110fc020], 0x1106bdc0
mov dword [0x110fc024], 0x1106bdf0
mov dword [0x110fc02c], 0x1106be60
mov dword [0x110fc030], 0x1106be80
mov dword [0x110fc034], 0x1106beb0
mov dword [0x110fc038], 0x1106dfb0
mov dword [0x110fc03c], 0x1106dfc0
mov dword [0x110fc044], 0x11070550
mov dword [0x110fc048], 0x1106e3b0
mov dword [0x110fc04c], 0x1106e3d0
mov dword [0x110fc060], 0x1106e420
mov dword [0x110fc0a8], 0x110692e0
mov dword [0x110fc0ac], 0x11069310
mov dword [0x110fc0b0], 0x1106e530
mov dword [0x110fc0c0], 0x11070bc0
mov dword [0x110fc0c4], 0x11070bf0
mov dword [0x110fc0c8], 0x11070c10
mov dword [0x110fc0cc], 0x1106ff70
mov dword [0x110fc0d0], 0x11069340
mov dword [0x110fc0d4], 0x11069380
mov dword [0x110fc0d8], 0x110693c0
mov dword [0x110fc0dc], 0x1106e560
mov dword [0x110fc0e0], 0x1106e5a0
mov dword [0x110fc0e4], 0x110695e0
cmp dword [eax], 0
jne 0x1107c76f
mov dword [eax], 0x1107bfd0
add eax, 4
cmp eax, 0x110fc3b0
jl 0x1107c764
pop esi
add esp, 0x10
ret