Function at 0x4b8fec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
push 0
call sym.stub.exe_ts_resource_ex
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x4b9018
mov eax, dword [ebp + 0xc]
push eax
call sym.stub.exe__emalloc
add esp, 4
jmp 0x4b92a0
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
add eax, 7
and al, 0xf8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 3
mov dword [ebp - 0x14], ecx
cmp dword [sym.stub.exe_zend_block_interruptions], 0
je 0x4b904a
call dword [sym.stub.exe_zend_block_interruptions]
cmp dword [ebp + 0xc], 0x7fffffff
ja 0x4b905b
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x4b90b8
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]
cmp ecx, dword [eax]
jne 0x4b9089
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 [eax]
mov dword [edx], ecx
jmp 0x4b9096
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4b90ac
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [ebp - 4], 0
jmp 0x4b9169
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]
cmp eax, dword [edx]
jne 0x4b90e5
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 - 4]
mov eax, dword [edx]
mov dword [ecx], eax
jmp 0x4b90f2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x4b9108
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
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]
cmp dword [ecx + 0x2c40], 0
je 0x4b914c
mov edx, dword [ebp - 0xc]
add edx, 0x10
push edx
mov eax, dword [ebp - 4]
push eax
push 1
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 [ecx + 0x2c40]
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x18], eax
jmp 0x4b9163
mov eax, dword [ebp - 0xc]
add eax, 0x10
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4b9212
cmp dword [ebp + 0x10], 0
jne 0x4b919d
mov eax, dword [ebp + 0xc]
push eax
push str.FATAL:__erealloc__:__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 - 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 - 0x10]
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 0x4b91de
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 - 0x10]
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 - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
cmp dword [sym.stub.exe_zend_unblock_interruptions], 0
je 0x4b920b
call dword [sym.stub.exe_zend_unblock_interruptions]
xor eax, eax
jmp 0x4b92a0
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 edx, dword [eax]
mov dword [ecx], 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]
cmp dword [eax], 0
je 0x4b9252
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 [ecx]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
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 - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0x7fffffff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
and eax, 0x80000000
or eax, ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
cmp dword [sym.stub.exe_zend_unblock_interruptions], 0
je 0x4b929a
call dword [sym.stub.exe_zend_unblock_interruptions]
mov eax, dword [ebp - 4]
add eax, 0x10
mov esp, ebp
pop ebp
ret