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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102c7388], 1
jne 0x100491b4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x501957
call esi
lea eax, [ebp - 4]
mov byte [0x501957], 0
push eax
push dword [ebp - 4]
push 1
push 0x501957
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54eae1
call esi
mov eax, 0x54eae1
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54eae1
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54fc92
call esi
mov eax, 0x54fc92
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54fc92
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x50226b
call esi
lea eax, [ebp - 4]
mov byte [0x50226b], 0
push eax
push dword [ebp - 4]
push 1
push 0x50226b
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54eca3
call esi
mov eax, 0x54eca3
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54eca3
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54fcec
call esi
mov eax, 0x54fcec
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54fcec
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x502c4d
call esi
lea eax, [ebp - 4]
mov byte [0x502c4d], 0
push eax
push dword [ebp - 4]
push 1
push 0x502c4d
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54ed6d
call esi
mov eax, 0x54ed6d
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54ed6d
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54fd5f
call esi
mov eax, 0x54fd5f
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54fd5f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x54fe3e
call esi
mov eax, 0x54fe3e
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x54fe3e
call esi
pop esi
cmp dword [0x102c725c], 0
je 0x1004974e
push 0x100461c0
push 0x7df8bb
push 0xe8
call fcn.100bed50
push 0x10046220
push 0x7dd304
push 0xe8
call fcn.100bed50
push 0x10046220
push 0x833b08
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48f918
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48f94b
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48f97e
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x10046460
push 0x48f9b1
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48f9f3
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48fa35
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48fa74
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x48faa4
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x501777
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x10046460
push 0x580178
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x58035a
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x5803c9
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x58046f
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x5804c5
push 0xe8
call fcn.100bed50
push 0x10046460
push 0x58051b
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x10046460
push 0x580567
push 0xe8
call fcn.100bed50
push 0xe8
push 0x10046260
push 0x664267
push 0xe8
call fcn.100bed50
push 0x10046b40
push 0x5f820c
push 0xe8
call fcn.100bed50
push 0x10046b40
push 0x5f847d
push 0xe8
call fcn.100bed50
push 0x10046bd0
push 0x50186c
push 0xe9
call fcn.100bed50
add esp, 0x40
push 0x10046c60
push 0x551920
push 0xe9
call fcn.100bed50
push 0x10046d10
push 0x54ead2
push 0xe9
call fcn.100bed50
push 0x10046e00
push 0x54f6b8
push 0xe9
call fcn.100bed50
push 0x10046e60
push 0x54f8f4
push 0xe9
call fcn.100bed50
push 0x10046ec0
push 0x54fc87
push 0xe9
call fcn.100bed50
push 0x10046fc0
push 0x550710
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x100470b0
push 0x550771
push 0xe9
call fcn.100bed50
push 0x10047170
push 0x5507d7
push 0xe9
call fcn.100bed50
push 0x10047230
push 0x55083d
push 0xe9
call fcn.100bed50
push 0x100472f0
push 0x552781
push 0xe9
call fcn.100bed50
push 0x10047380
push 0x55299f
push 0xe9
call fcn.100bed50
push 0x100473e0
push 0x552b92
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x10047440
push 0x5531e2
push 0xe9
call fcn.100bed50
push 0x100474a0
push 0x55d211
push 0xe9
call fcn.100bed50
push 0x10047530
push 0x564bac
push 0xe9
call fcn.100bed50
push 0x100475b0
push 0x48e61b
push 0xe9
call fcn.100bed50
push 0x10047630
push 0x59b663
push 0xe9
call fcn.100bed50
push 0x10047690
push 0x5b6ece
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x10047750
push 0x5517ae
push 0xe9
call fcn.100bed50
push 0x100477b0
push 0x55d1e3
push 0xe9
call fcn.100bed50
push 0x10047840
push 0x564c26
push 0xe9
call fcn.100bed50
push 0x100478d0
push 0x5964e0
push 0xe9
call fcn.100bed50
push 0x10047930
push 0x5a3821
push 0xe9
call fcn.100bed50
push 0x100479b0
push 0x8140cf
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x10047a10
push 0x5af273
push 0xe9
call fcn.100bed50
push 0x10047a70
push 0x501860
push 0xe9
call fcn.100bed50
push 0x10047b30
push 0x502d1d
push 0xe9
call fcn.100bed50
push 0x10047b80
push 0x502e4c
push 0xe9
call fcn.100bed50
push 0x10047bd0
push 0x5030d3
push 0xe9
call fcn.100bed50
push 0x10047c20
push 0x50313f
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x10047c70
push 0x4d72f2
push 0xe9
call fcn.100bed50
push 0x10047cc0
push 0x48e4d8
push 0xe9
call fcn.100bed50
push 0x10047d10
push 0x48e542
push 0xe9
call fcn.100bed50
push 0x10047d60
push 0x57e112
push 0xe9
call fcn.100bed50
push 0x10047de0
push 0x63edd2
push 0xe9
call fcn.100bed50
push 0x10047e60
push 0x640a96
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x10047ee0
push 0x640ddb
push 0xe9
call fcn.100bed50
push 0x10047f70
push 0x564e78
push 0xe9
call fcn.100bed50
push 0x10048000
push 0x5e0b4b
push 0xe9
call fcn.100bed50
push 0x10048070
push 0x5e03d6
push 0xe9
call fcn.100bed50
push 0x100480e0
push 0x5e0370
push 0xe9
call fcn.100bed50
push 0x10048340
push 0x48e17d
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x10048340
push 0x503756
push 0xe8
call fcn.100bed50
push 0x10048150
push 0x5b5409
push 0xe9
call fcn.100bed50
push 0x10048280
push 0x813eab
push 0xe9
call fcn.100bed50
push 0x100482e0
push 0x813ef8
push 0xe9
call fcn.100bed50
add esp, 0x30
mov esp, ebp
pop ebp
ret