Function at 0x100058f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x10024014]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push str.HackShield_Bypass
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
mov dword [esp + 0x28], 0
call fcn.10009f11
push eax
push 0x10021360
lea eax, [esp + 0x30]
push 0x10021364
push eax
call fcn.1000b6cd
push 1
call fcn.10009f11
push eax
push 0x10021368
lea eax, [esp + 0x44]
push 0x10021364
push eax
call fcn.1000b6cd
push 2
call fcn.10009f11
push eax
push 0x10021368
lea eax, [esp + 0x58]
push 0x10021364
push eax
call fcn.1000b6cd
add esp, 0x3c
lea eax, [esp + 0x28]
push pe_nt_image_headers32
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10005bd2
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
lea edx, [ecx + 1]
mov dword [esp + 0x20], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100059c5
sub ecx, edx
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.10002980
lea eax, [esp + 0xc]
mov ecx, 0x1002e8f8
push eax
call fcn.10003f10
mov edx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x10005a22
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005a18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bee
push edx
push ecx
call fcn.100068ee
add esp, 8
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.10007da0
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0
add esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0xf
lea edx, [ecx + 1]
mov byte [eax], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005a53
sub ecx, edx
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.10002980
lea eax, [esp + 0xc]
mov ecx, 0x1002e910
push eax
call fcn.10003f10
mov edx, dword [esp + 0x20]
cmp edx, 0x10
jb 0x10005ab0
mov ecx, dword [esp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005aa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bee
push edx
push ecx
call fcn.100068ee
add esp, 8
call fcn.10001190
push 4
call fcn.100068be
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
push eax
push 0x40
push 0x2e
push 0x1002ebd8
call edi
push 4
call fcn.100068be
add esp, 4
push eax
push 0x40
push 0xff
push 0x1002ea60
call edi
mov ecx, 0x1002ea60
nop
cmp dword [ecx], 0xfffff67a
mov esi, 0x1002ec08
je 0x10005b08
inc ecx
cmp ecx, 0x1002eb5b
jb 0x10005af0
jmp 0x10005b11
mov eax, esi
sub eax, ecx
sub eax, 4
mov dword [ecx], eax
mov ecx, 0x1002ea60
cmp dword [ecx], 0xfffff63d
je 0x10005b29
inc ecx
cmp ecx, 0x1002eb5b
jb 0x10005b16
jmp 0x10005b32
mov eax, esi
sub eax, ecx
sub eax, 4
mov dword [ecx], eax
push 4
call fcn.100068be
add esp, 4
push eax
push 0x40
push 0xc0
push 0x1002e9a0
call edi
mov edx, 0x1002e9a0
lea ecx, [edx + 0xbc]
mov eax, edx
cmp edx, ecx
jae 0x10005b6d
nop dword [eax]
cmp dword [eax], 0xf315f10
je 0x10005b85
inc eax
cmp eax, ecx
jb 0x10005b60
mov ecx, 0x1002e9a0
cmp dword [ecx], 0xfffffec3
je 0x10005b8f
inc ecx
cmp ecx, 0x1002ea5c
jb 0x10005b72
jmp 0x10005b9b
mov edx, eax
mov dword [eax], 0x1002eb60
jmp 0x10005b50
mov eax, 0x1002ea60
sub eax, ecx
sub eax, 4
mov dword [ecx], eax
mov eax, 0x1002e9a0
cmp dword [eax], 0xfffff580
je 0x10005bb2
inc eax
cmp eax, 0x1002ea5c
jb 0x10005ba0
jmp 0x10005bb9
sub esi, eax
sub esi, 4
mov dword [eax], esi
push 4
call fcn.100068be
add esp, 4
push eax
push 0x40
push 0x8c5
push 0x1002ec08
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100068b0
mov esp, ebp
pop ebp
ret
call fcn.10009ded
int3