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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1030393c], 1
jne 0x1004fa94
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 [0x10303800], 0
je 0x1005002e
push 0x1004c850
push 0x7df8bb
push 0xe8
call fcn.100eb560
push 0x1004c910
push 0x7dd304
push 0xe8
call fcn.100eb560
push 0x1004c910
push 0x833b08
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48f918
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48f94b
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48f97e
push 0xe8
call fcn.100eb560
add esp, 0x48
push 0x1004cb90
push 0x48f9b1
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48f9f3
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48fa35
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48fa74
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x48faa4
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x501777
push 0xe8
call fcn.100eb560
add esp, 0x48
push 0x1004cb90
push 0x580178
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x58035a
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x5803c9
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x58046f
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x5804c5
push 0xe8
call fcn.100eb560
push 0x1004cb90
push 0x58051b
push 0xe8
call fcn.100eb560
add esp, 0x48
push 0x1004cb90
push 0x580567
push 0xe8
call fcn.100eb560
push 0xe8
push 0x1004c960
push 0x664267
push 0xe8
call fcn.100eb560
push 0x1004d3d0
push 0x5f820c
push 0xe8
call fcn.100eb560
push 0x1004d3d0
push 0x5f847d
push 0xe8
call fcn.100eb560
push 0x1004d490
push 0x50186c
push 0xe9
call fcn.100eb560
add esp, 0x40
push 0x1004d520
push 0x551920
push 0xe9
call fcn.100eb560
push 0x1004d5d0
push 0x54ead2
push 0xe9
call fcn.100eb560
push 0x1004d6c0
push 0x54f6b8
push 0xe9
call fcn.100eb560
push 0x1004d720
push 0x54f8f4
push 0xe9
call fcn.100eb560
push 0x1004d780
push 0x54fc87
push 0xe9
call fcn.100eb560
push 0x1004d870
push 0x550710
push 0xe9
call fcn.100eb560
add esp, 0x48
push 0x1004d960
push 0x550771
push 0xe9
call fcn.100eb560
push 0x1004da20
push 0x5507d7
push 0xe9
call fcn.100eb560
push 0x1004dae0
push 0x55083d
push 0xe9
call fcn.100eb560
push 0x1004dba0
push 0x552781
push 0xe9
call fcn.100eb560
push 0x1004dc30
push 0x55299f
push 0xe9
call fcn.100eb560
push 0x1004dc90
push 0x552b92
push 0xe9
call fcn.100eb560
add esp, 0x48
push 0x1004dcf0
push 0x5531e2
push 0xe9
call fcn.100eb560
push 0x1004dd50
push 0x55d211
push 0xe9
call fcn.100eb560
push 0x1004dde0
push 0x564bac
push 0xe9
call fcn.100eb560
push 0x1004de60
push 0x48e61b
push 0xe9
call fcn.100eb560
push 0x1004dee0
push 0x59b663
push 0xe9
call fcn.100eb560
push 0x1004df40
push 0x5b6ece
push 0xe9
call fcn.100eb560
add esp, 0x48
push 0x1004e000
push 0x5517ae
push 0xe9
call fcn.100eb560
push 0x1004e060
push 0x55d1e3
push 0xe9
call fcn.100eb560
push 0x1004e0f0
push 0x564c26
push 0xe9
call fcn.100eb560
push 0x1004e180
push 0x5964e0
push 0xe9
call fcn.100eb560
push 0x1004e1e0
push 0x5a3821
push 0xe9
call fcn.100eb560
push 0x1004e260
push 0x8140cf
push 0xe9
call fcn.100eb560
add esp, 0x48
push 0x1004e2c0
push 0x5af273
push 0xe9
call fcn.100eb560
push 0x1004e320
push 0x501860
push 0xe9
call fcn.100eb560
push 0x1004e3e0
push 0x502d1d
push 0xe9
call fcn.100eb560
push 0x1004e430
push 0x502e4c
push 0xe9
call fcn.100eb560
push 0x1004e480
push 0x5030d3
push 0xe9
call fcn.100eb560
push 0x1004e4d0
push 0x50313f
push 0xe9
call fcn.100eb560
add esp, 0x48
push 0x1004e520
push 0x4d72f2
push 0xe9
call fcn.100eb560
push 0x1004e570
push 0x48e4d8
push 0xe9
call fcn.100eb560
push 0x1004e5c0
push 0x48e542
push 0xe9
call fcn.100eb560
push 0x1004e610
push 0x57e112
push 0xe9
call fcn.100eb560
push 0x1004e690
push 0x63edd2
push 0xe9
call fcn.100eb560
push 0x1004e710
push 0x640a96
push 0xe9
call fcn.100eb560
add esp, 0x48
push 0x1004e790
push 0x640ddb
push 0xe9
call fcn.100eb560
push 0x1004e820
push 0x564e78
push 0xe9
call fcn.100eb560
push 0x1004e8a0
push 0x5e0b4b
push 0xe9
call fcn.100eb560
push 0x1004e910
push 0x5e03d6
push 0xe9
call fcn.100eb560
push 0x1004e980
push 0x5e0370
push 0xe9
call fcn.100eb560
push 0x1004ebe0
push 0x48e17d
push 0xe8
call fcn.100eb560
add esp, 0x48
push 0x1004ebe0
push 0x503756
push 0xe8
call fcn.100eb560
push 0x1004e9f0
push 0x5b5409
push 0xe9
call fcn.100eb560
push 0x1004eb20
push 0x813eab
push 0xe9
call fcn.100eb560
push 0x1004eb80
push 0x813ef8
push 0xe9
call fcn.100eb560
add esp, 0x30
mov esp, ebp
pop ebp
ret