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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1025a088]
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 3
jne 0x10067132
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4030d4
call esi
lea eax, [ebp - 4]
mov byte [0x4030d4], 6
push eax
push dword [ebp - 4]
push 1
push 0x4030d4
call esi
mov eax, dword [0x1025a088]
cmp eax, 2
jne 0x10067162
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4030d4
call esi
lea eax, [ebp - 4]
mov byte [0x4030d4], 5
push eax
push dword [ebp - 4]
push 1
push 0x4030d4
call esi
mov eax, dword [0x1025a088]
cmp eax, 1
jne 0x1006718d
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x4030d4
call esi
lea eax, [ebp - 4]
mov byte [0x4030d4], 4
push eax
push dword [ebp - 4]
push 1
push 0x4030d4
call esi
cmp dword [0x1025a098], 1
jne 0x100671bc
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5528a0
call esi
lea eax, [ebp - 4]
mov byte [0x5528a0], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x5528a0
call esi
cmp dword [0x1025a090], 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x10067261
lea eax, [ebp - 4]
push eax
push 0x40
push 0xc8
push 0x8193f0
call esi
push 0xc8
push 0x90
push 0x8193f0
call fcn.10141160
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0xc8
push 0x8193f0
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7d3a4b
call esi
test eax, eax
je 0x10067248
lea eax, [ebp - 8]
mov byte [0x7d3a4b], 0xff
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7d3a4b
call esi
test eax, eax
jne 0x1006724a
call edi
push 0x10067000
push 0x77ece2
push 0xe9
call fcn.100cd930
add esp, 0xc
cmp dword [0x103282c0], 0
je 0x100672a6
lea eax, [ebp - 4]
push eax
push 0x40
push 0x11e
push 0x771310
call esi
push 0x11e
push 0x90
push 0x771310
call fcn.10141160
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x11e
push 0x771310
call esi
cmp dword [0x103282bc], 0
je 0x100672eb
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10c50
push 0x74cd30
call esi
push 0x10c50
push 0x90
push 0x74cd30
call fcn.10141160
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x10c50
push 0x74cd30
call esi
cmp dword [0x103282b8], 0
je 0x1006736c
lea eax, [ebp - 4]
push eax
push 0x40
push 0x2fe2
push 0x626190
call esi
push 0x2fe2
push 0x90
push 0x626190
call fcn.10141160
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x2fe2
push 0x626190
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x87a2
push 0x72d1b0
call esi
push 0x87a2
push 0x90
push 0x72d1b0
call fcn.10141160
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x87a2
push 0x72d1b0
call esi
cmp dword [0x1025a10c], 1
jne 0x10067471
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7af176
call esi
test eax, eax
je 0x100673b5
lea eax, [ebp - 8]
mov byte [0x7af176], 9
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7af176
call esi
test eax, eax
jne 0x100673b7
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7af416
call esi
test eax, eax
je 0x100673f3
lea eax, [ebp - 8]
mov byte [0x7af416], 9
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7af416
call esi
test eax, eax
jne 0x100673f5
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7af796
call esi
test eax, eax
je 0x10067431
lea eax, [ebp - 8]
mov byte [0x7af796], 9
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7af796
call esi
test eax, eax
jne 0x10067433
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7b0316
call esi
test eax, eax
je 0x1006746f
lea eax, [ebp - 8]
mov byte [0x7b0316], 9
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7b0316
call esi
test eax, eax
jne 0x10067471
call edi
cmp dword [0x1025a094], 1
jne 0x10067694
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5b89c6
call esi
lea eax, [ebp - 4]
mov byte [0x5b89c6], 0
push eax
push dword [ebp - 4]
push 1
push 0x5b89c6
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5b89cc
call esi
lea eax, [ebp - 4]
mov byte [0x5b89cc], 0
push eax
push dword [ebp - 4]
push 1
push 0x5b89cc
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5b89d2
call esi
lea eax, [ebp - 4]
mov byte [0x5b89d2], 0
push eax
push dword [ebp - 4]
push 1
push 0x5b89d2
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5b89d8
call esi
lea eax, [ebp - 4]
mov byte [0x5b89d8], 0
push eax
push dword [ebp - 4]
push 1
push 0x5b89d8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5b89de
call esi
lea eax, [ebp - 4]
mov byte [0x5b89de], 0
push eax
push dword [ebp - 4]
push 1
push 0x5b89de
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5b89e4
call esi
lea eax, [ebp - 4]
mov byte [0x5b89e4], 0
push eax
push dword [ebp - 4]
push 1
push 0x5b89e4
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push 0x5b89ea
call esi
xor eax, eax
mov word [0x5b89ea], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push 0x5b89ea
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c6316
call esi
lea eax, [ebp - 4]
mov byte [0x5c6316], 0
push eax
push dword [ebp - 4]
push 1
push 0x5c6316
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c6329
call esi
lea eax, [ebp - 4]
mov byte [0x5c6329], 0
push eax
push dword [ebp - 4]
push 1
push 0x5c6329
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c633c
call esi
lea eax, [ebp - 4]
mov byte [0x5c633c], 0
push eax
push dword [ebp - 4]
push 1
push 0x5c633c
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c634f
call esi
lea eax, [ebp - 4]
mov byte [0x5c634f], 0
push eax
push dword [ebp - 4]
push 1
push 0x5c634f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c6362
call esi
lea eax, [ebp - 4]
mov byte [0x5c6362], 0
push eax
push dword [ebp - 4]
push 1
push 0x5c6362
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5c6375
call esi
lea eax, [ebp - 4]
mov byte [0x5c6375], 0
push eax
push dword [ebp - 4]
push 1
push 0x5c6375
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 2
push 0x5c6388
call esi
xor eax, eax
mov word [0x5c6388], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push 0x5c6388
call esi
cmp dword [0x103282e0], 0
je 0x100676cb
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5f8924
call esi
mov eax, 0x5f8924
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x5f8924
call esi
cmp dword [0x103282d8], 0
je 0x10067721
push ecx
mov edx, 7
mov ecx, 0x60954d
call fcn.100cd080
push 0xe9
mov edx, 0x10067010
mov ecx, 0x60954d
call fcn.100cd010
add esp, 4
mov edx, 7
mov ecx, 0x60f04c
call fcn.100cd080
push 0xe9
mov edx, 0x10067080
mov ecx, 0x60f04c
call fcn.100cd010
add esp, 8
cmp dword [0x103282dc], 0
je 0x10067768
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x5de2b2
call esi
test eax, eax
je 0x10067766
lea eax, [ebp - 8]
mov byte [0x5de2b2], 1
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x5de2b2
call esi
test eax, eax
jne 0x10067768
call edi
cmp dword [0x103282d4], 0
pop edi
je 0x100677a0
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x57655b
call esi
mov eax, 0x57655b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x57655b
call esi
cmp dword [0x103282d0], 0
je 0x10067805
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x576ddb
call esi
mov eax, 0x576ddb
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x576ddb
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x5883f4
call esi
mov eax, 0x5883f4
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x5883f4
call esi
cmp dword [0x103282cc], 0
je 0x10067888
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x588661
call esi
mov eax, 0x588661
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x588661
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x51ec90
call esi
lea eax, [ebp - 4]
mov byte [0x51ec90], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x51ec90
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x51ee20
call esi
lea eax, [ebp - 4]
mov byte [0x51ee20], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x51ee20
call esi
cmp dword [0x103282c8], 0
je 0x100678b7
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x771310
call esi
lea eax, [ebp - 4]
mov byte [0x771310], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x771310
call esi
cmp dword [0x103282c4], 0
je 0x10067935
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x74cd30
call esi
lea eax, [ebp - 4]
mov byte [0x74cd30], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x74cd30
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x608fb0
call esi
lea eax, [ebp - 4]
mov byte [0x608fb0], 0xc3
push eax
push dword [ebp - 4]
push 1
push 0x608fb0
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x72d1bd
call esi
lea eax, [ebp - 4]
mov dword [0x72d1bd], 0
push eax
push dword [ebp - 4]
push 4
push 0x72d1bd
call esi
pop esi
mov esp, ebp
pop ebp
ret