Function at 0x4b8a50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 4], 0
push 0
push 0
call sym.stub.exe_ts_resource_ex
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 7
and al, 0xf8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 3
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0x7fffffff
ja 0x4b8a92
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 8]
jae 0x4b8a97
jmp 0x4b8bcd
mov eax, 1
test eax, eax
je 0x4b8b72
cmp dword [ebp - 0x10], 0xb
jae 0x4b8b72
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [sym.stub.exe_alloc_globals_id]
mov ecx, dword [edx + eax*4 - 4]
mov edx, dword [ebp - 0x10]
cmp dword [ecx + edx*4 + 0x2c04], 0
jbe 0x4b8b72
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [sym.stub.exe_alloc_globals_id]
mov eax, dword [ecx + edx*4 - 4]
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
lea edx, [eax + ecx + 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov eax, dword [sym.stub.exe_alloc_globals_id]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4 + 0x2c04]
sub ecx, 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov esi, dword [sym.stub.exe_alloc_globals_id]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x10]
mov dword [eax + esi*4 + 0x2c04], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [sym.stub.exe_alloc_globals_id]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + ecx*4 + 0x2c04]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0x7fffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
and edx, 0x7fffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
and ecx, 0x80000000
or ecx, edx
mov edx, dword [ebp - 4]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 4]
add eax, 0x10
jmp 0x4b8ca7
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [sym.stub.exe_alloc_globals_id]
mov eax, dword [ecx + edx*4 - 4]
cmp dword [eax + 0x2c40], 0
je 0x4b8bb4
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
push ecx
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [sym.stub.exe_alloc_globals_id]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [edx + 0x2c40]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x14], eax
jmp 0x4b8bc7
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
cmp dword [sym.stub.exe_zend_block_interruptions], 0
je 0x4b8bdc
call dword [sym.stub.exe_zend_block_interruptions]
cmp dword [ebp - 4], 0
jne 0x4b8c06
mov eax, dword [ebp + 8]
push eax
push str.FATAL:__emalloc__:__Unable_to_allocate__ld_bytes_n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0x7fffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [sym.stub.exe_alloc_globals_id]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [sym.stub.exe_alloc_globals_id]
mov edx, dword [eax + ecx*4 - 4]
cmp dword [edx], 0
je 0x4b8c58
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [sym.stub.exe_alloc_globals_id]
mov eax, dword [ecx + edx*4 - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [sym.stub.exe_alloc_globals_id]
mov eax, dword [ecx + edx*4 - 4]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp + 8]
and eax, 0x7fffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
and edx, 0x80000000
or edx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
cmp dword [sym.stub.exe_zend_unblock_interruptions], 0
je 0x4b8ca1
call dword [sym.stub.exe_zend_unblock_interruptions]
mov eax, dword [ebp - 4]
add eax, 0x10
pop esi
mov esp, ebp
pop ebp
ret