Function at 0x419940
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov eax, dword [esi]
cmp byte [eax], 0
je 0x419966
push 0x488a7c
push eax
call fcn.0046449c
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x41996e
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.00419820
push esi
lea ecx, [ebp + 0x30]
call fcn.00405080
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x4199a2
push edi
push 0x496618
push 7
mov ecx, ebp
call fcn.00419f70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov eax, dword [edi + 0x10]
push eax
call fcn.00464404
push 0x3e800
mov esi, eax
call fcn.004640eb
add esp, 8
mov dword [ebp + 0x34], eax
test eax, eax
jne 0x4199d7
push eax
push str.data
push 2
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
lea ecx, [esi + 0x1000]
push ecx
call fcn.004640eb
add esp, 4
mov dword [ebp + 0x44], eax
test eax, eax
jne 0x419a03
push eax
push 0x489b68
push 2
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
add eax, 0xfe2
push edi
push esi
push 1
lea edx, [eax + esi]
push eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], edx
call fcn.004642c6
mov eax, dword [ebp + 8]
mov edi, 0x80
add esp, 0x10
cmp eax, edi
jge 0x419ade
mov esi, dword [ebp + 0xc]
push 0x604
mov dword [esp + 0x1c], esi
call fcn.004640eb
add esp, 4
test eax, eax
je 0x419a67
lea ebx, [eax + 4]
mov dword [eax], edi
mov edi, ebx
mov esi, 0x80
mov ecx, edi
call fcn.00419ca0
add edi, 0xc
dec esi
jne 0x419a52
mov esi, dword [esp + 0x18]
mov eax, ebx
jmp 0x419a69
xor eax, eax
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x419a88
mov eax, dword [0x496644]
push 0x80
push str.___ERROR___::LIST:_Not_enough_memory__i
push eax
call fcn.004071f0
add esp, 0xc
test esi, esi
je 0x419ad6
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
jle 0x419acd
mov eax, dword [esp + 0x18]
mov ebx, 0xfffffff8
add esi, 8
sub ebx, eax
mov eax, dword [ebp + 0xc]
mov cl, byte [esi - 8]
add eax, ebx
push esi
add eax, esi
mov byte [eax], cl
mov edx, dword [esi - 4]
lea ecx, [eax + 8]
mov dword [eax + 4], edx
call fcn.00405080
mov eax, dword [ebp + 8]
inc edi
add esi, 0xc
cmp edi, eax
jl 0x419aa3
mov esi, dword [esp + 0x18]
push 3
mov ecx, esi
call fcn.004031f0
mov edi, 0x80
mov dword [ebp + 8], edi
cmp dword [ebp + 0x18], edi
jge 0x419b7f
mov ebx, dword [ebp + 0x1c]
push 0xc04
mov dword [esp + 0x1c], ebx
call fcn.004640eb
add esp, 4
test eax, eax
je 0x419b24
lea ebx, [eax + 4]
mov dword [eax], 0x80
mov esi, ebx
mov edi, 0x80
mov ecx, esi
call fcn.0041f1b0
add esi, 0x18
dec edi
jne 0x419b0f
mov eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0x419b26
xor eax, eax
test eax, eax
mov dword [ebp + 0x1c], eax
jne 0x419b45
mov eax, dword [0x496644]
push 0x80
push str.___ERROR___::LIST:_Not_enough_memory__i
push eax
call fcn.004071f0
add esp, 0xc
test ebx, ebx
je 0x419b78
mov eax, dword [ebp + 0x18]
xor edi, edi
test eax, eax
jle 0x419b6f
xor esi, esi
mov eax, dword [ebp + 0x1c]
lea ecx, [esi + ebx]
push ecx
mov ecx, esi
add ecx, eax
call fcn.0041f1d0
mov eax, dword [ebp + 0x18]
inc edi
add esi, 0x18
cmp edi, eax
jl 0x419b54
push 3
mov ecx, ebx
call fcn.0041ed80
mov dword [ebp + 0x18], 0x80
xor esi, esi
mov ecx, ebp
mov dword [ebp + 0x48], esi
call fcn.0041ca10
test eax, eax
jne 0x419b9a
mov ecx, ebp
call fcn.0041ca10
test eax, eax
je 0x419b8f
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x38]
push eax
mov eax, dword [0x496644]
push ecx
push edx
push str.LoadScript::ByteCode_i_varNo_i_DefineNo_i_stackNo_i
push eax
call fcn.00407190
mov eax, dword [ebp + 0x2c]
add esp, 0x18
cmp eax, esi
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x24], esi
je 0x419bef
mov ecx, dword [eax - 4]
lea ebx, [eax - 4]
lea esi, [eax + ecx*8]
dec ecx
js 0x419be6
lea edi, [ecx + 1]
sub esi, 8
mov ecx, esi
call fcn.0041ef20
dec edi
jne 0x419bd9
push ebx
call fcn.004640e0
add esp, 4
mov dword [ebp + 0x2c], 0
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x419c62
cmp eax, 0x3e800
jle 0x419c13
push eax
push str.byte_code_size
push 2
mov ecx, ebp
call fcn.00419f70
mov ecx, dword [ebp + 0x38]
push ecx
call fcn.004640eb
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x419c3b
push eax
push 0x489b1c
push 2
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
mov ecx, dword [ebp + 0x38]
mov esi, dword [ebp + 0x34]
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x34]
push eax
call fcn.004640e0
add esp, 4
mov dword [ebp + 0x34], ebx
jmp 0x419c69
mov ecx, ebp
call fcn.00419820
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x419c79
push eax
call fcn.004640e0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x44], 0
push ecx
call fcn.004643ae
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4