Function at 0x408020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x9dd804]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x2f
push ebx
mov dword [ebp - 0x1b0], eax
mov edi, ebx
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
call fcn.0069a190
add esp, 8
test eax, eax
je 0x40806a
lea edi, [eax + 1]
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x408070
sub esi, ecx
add esi, 6
push esi
call fcn.00698567
push 0x703eb4
push edi
push str._s__s
push esi
push eax
mov dword [ebp - 0x1a8], eax
call fcn.00409380
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0
push dword [0x9de2c0]
push dword [0x9de2bc]
push 0x703eb4
push ebx
push 1
call fcn.00406d40
add esp, 0x38
mov esi, eax
push dword [ebp - 0x1a8]
test esi, esi
jne 0x408148
call fcn.00698570
mov esi, dword [ebp - 0x1a0]
add esp, 4
push dword [ebp - 0x1a4]
cmp esi, 0x3e8
jne 0x408109
call fcn.0069b79a
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00698575
mov esp, ebp
pop ebp
ret
push 0x703e58
call fcn.00407c90
push dword [ebp - 0x1a4]
call fcn.0069b79a
add esp, 0xc
mov dword [ebp - 0x1a4], 0
call fcn.005b8de0
call fcn.0049aca0
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x408812
jmp 0x4087f9
mov dword [0x9de2d4], esi
call fcn.00698570
push esi
call fcn.0049c050
add esp, 8
call fcn.0049c140
cmp dword [0x9de2a8], 1
jne 0x408174
call fcn.004078a0
jmp 0x4087dc
call fcn.004ad920
mov edi, eax
push esi
mov dword [ebp - 0x1a8], edi
call fcn.004a43b0
mov dword [ebp - 0x1ac], eax
mov esi, dword [eax + 0x10]
call fcn.004acb60
push eax
push edi
push esi
call fcn.004a48a0
mov ecx, dword [0x9de2a8]
add esp, 0x10
cmp ecx, 2
je 0x4081b0
cmp ecx, 3
jne 0x4081c3
call fcn.00409630
test al, al
je 0x408827
mov ecx, dword [0x9de2a8]
cmp byte [0x9de2c4], 0
je 0x408214
call fcn.004b2ee0
mov edi, eax
push edi
call fcn.004a36d0
add esp, 4
test al, al
je 0x40820e
push edi
call fcn.004a41b0
add esp, 4
test al, al
je 0x408844
call fcn.0049c8f0
call fcn.004b0a40
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00698575
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x9de2a8]
cmp byte [0x9de2c5], 0
je 0x408237
call fcn.004b3130
mov edi, eax
push edi
call fcn.004a36d0
add esp, 4
test al, al
je 0x4087dc
jmp 0x4081e0
cmp ecx, 2
jne 0x408697
mov dword [ebp - 0x19c], 0x703edc
mov dword [ebp - 0x198], 0x703eec
mov dword [ebp - 0x194], str._getMainClosure
mov dword [ebp - 0x190], 0x703edc
mov dword [ebp - 0x18c], 0x703eec
mov dword [ebp - 0x188], str._getPrintClosure
mov dword [ebp - 0x184], 0x703edc
mov dword [ebp - 0x180], 0x703eec
mov dword [ebp - 0x17c], str._getUriBaseClosure
mov dword [ebp - 0x178], 0x703edc
mov dword [ebp - 0x174], 0x703eec
mov dword [ebp - 0x170], str._resolveInWorkingDirectory
mov dword [ebp - 0x16c], 0x703edc
mov dword [ebp - 0x168], 0x703eec
mov dword [ebp - 0x164], str._setWorkingDirectory
mov dword [ebp - 0x160], 0x703edc
mov dword [ebp - 0x15c], 0x703eec
mov dword [ebp - 0x158], str._setPackageRoot
mov dword [ebp - 0x154], 0x703edc
mov dword [ebp - 0x150], 0x703eec
mov dword [ebp - 0x14c], str._setPackagesMap
mov dword [ebp - 0x148], 0x703edc
mov dword [ebp - 0x144], 0x703eec
mov dword [ebp - 0x140], str._libraryFilePath
mov dword [ebp - 0x13c], 0x703d88
mov dword [ebp - 0x138], 0x703eec
mov dword [ebp - 0x134], str._makeUint8ListView
mov dword [ebp - 0x130], 0x703d88
mov dword [ebp - 0x12c], 0x703eec
mov dword [ebp - 0x128], str._makeDatagram
mov dword [ebp - 0x124], 0x703d88
mov dword [ebp - 0x120], 0x703eec
mov dword [ebp - 0x11c], str._setupHooks
mov dword [ebp - 0x118], 0x703d88
mov dword [ebp - 0x114], 0x703eec
mov dword [ebp - 0x110], str._getWatchSignalInternal
mov dword [ebp - 0x10c], 0x703d88
mov dword [ebp - 0x108], 0x703fd8
mov dword [ebp - 0x104], str.CertificateException.
mov dword [ebp - 0x100], 0x703d88
mov dword [ebp - 0xfc], 0x702ae0
mov dword [ebp - 0xf8], str.Directory.
mov dword [ebp - 0xf4], 0x703d88
mov dword [ebp - 0xf0], 0x702aec
mov dword [ebp - 0xec], str.File.
mov dword [ebp - 0xe8], 0x703d88
mov dword [ebp - 0xe4], 0x70401c
mov dword [ebp - 0xe0], str.FileSystemException.
mov dword [ebp - 0xdc], 0x703d88
mov dword [ebp - 0xd8], 0x704048
mov dword [ebp - 0xd4], str.HandshakeException.
mov dword [ebp - 0xd0], 0x703d88
mov dword [ebp - 0xcc], 0x702af4
mov dword [ebp - 0xc8], str.Link.
mov dword [ebp - 0xc4], 0x703d88
mov dword [ebp - 0xc0], 0x704078
mov dword [ebp - 0xbc], str.OSError.
mov dword [ebp - 0xb8], 0x703d88
mov dword [ebp - 0xb4], 0x70408c
mov dword [ebp - 0xb0], str.TlsException.
mov dword [ebp - 0xac], 0x703d88
mov dword [ebp - 0xa8], 0x7040ac
mov dword [ebp - 0xa4], str.X509Certificate._
mov dword [ebp - 0xa0], 0x703d88
mov dword [ebp - 0x9c], 0x7040d0
mov dword [ebp - 0x98], str.set:data
mov dword [ebp - 0x94], 0x703d88
mov dword [ebp - 0x90], 0x7040d0
mov dword [ebp - 0x8c], str.get:start
mov dword [ebp - 0x88], 0x703d88
mov dword [ebp - 0x84], 0x7040d0
mov dword [ebp - 0x80], str.set:start
mov dword [ebp - 0x7c], 0x703d88
mov dword [ebp - 0x78], 0x7040d0
mov dword [ebp - 0x74], str.get:end
mov dword [ebp - 0x70], 0x703d88
mov dword [ebp - 0x6c], 0x7040d0
mov dword [ebp - 0x68], str.set:end
mov dword [ebp - 0x64], 0x703d88
mov dword [ebp - 0x60], 0x704114
mov dword [ebp - 0x5c], str.set:_nativeScript
mov eax, dword [0x9de2b8]
xor esi, esi
mov dword [ebp - 0x58], 0x703d88
mov dword [ebp - 0x54], 0x704134
mov dword [ebp - 0x50], str.set:_errorCode
mov dword [ebp - 0x4c], 0x703d88
mov dword [ebp - 0x48], 0x704134
mov dword [ebp - 0x44], str.set:_errorMessage
mov dword [ebp - 0x40], 0x703d88
mov dword [ebp - 0x3c], 0x70416c
mov dword [ebp - 0x38], str.get:buffers
mov dword [ebp - 0x34], 0x703d88
mov dword [ebp - 0x30], 0x70416c
mov dword [ebp - 0x2c], str.get:ENCRYPTED_SIZE
mov dword [ebp - 0x28], 0x703d88
mov dword [ebp - 0x24], 0x70416c
mov dword [ebp - 0x20], str.get:SIZE
mov dword [ebp - 0x1c], str.dart:vmservice_io
mov dword [ebp - 0x18], 0x703eec
mov dword [ebp - 0x14], 0x703eb4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x1a0], esi
test eax, eax
je 0x40863c
push esi
push eax
call fcn.0041f6c0
mov edi, eax
add esp, 8
test edi, edi
je 0x40886c
mov ecx, edi
call fcn.0041f260
push eax
mov dword [ebp - 0x1a0], eax
call fcn.0069b79f
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1a0]
mov ecx, edi
cdq
push edx
push eax
push esi
call fcn.0041e590
test al, al
je 0x40887b
mov ecx, edi
call fcn.00407ff0
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
push esi
push eax
call fcn.0049ad30
add esp, 0xc
mov edi, eax
test esi, esi
je 0x408661
push esi
call fcn.0069b79a
add esp, 4
push edi
call fcn.004a36d0
add esp, 4
test al, al
jne 0x4081e0
cmp dword [0x9de2a8], 2
jne 0x408697
cmp byte [0x9de2c6], al
je 0x40868d
call fcn.00407760
jmp 0x4087dc
call fcn.00407690
jmp 0x4087dc
push dword [ebp - 0x1a8]
call fcn.004a3f10
add esp, 4
test al, al
jne 0x40888a
mov esi, dword [ebp - 0x1ac]
push 0
push 0
push str._getMainClosure
mov esi, dword [esi + 0x10]
call fcn.004abb10
add esp, 4
push eax
push esi
call fcn.004a2370
mov edi, eax
push edi
call fcn.004a36d0
add esp, 0x14
test al, al
jne 0x4081e0
push dword [ebp - 0x1b0]
mov dword [ebp - 0x1b8], edi
call fcn.004072b0
push 0x704208
mov dword [ebp - 0x1b4], eax
call fcn.004abb10
push eax
call fcn.004a89e0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x1b8]
push eax
push 2
push str._startMainIsolate
call fcn.004abb10
add esp, 4
push eax
push esi
call fcn.004a2370
mov edi, eax
push edi
call fcn.004a36d0
add esp, 0x14
test al, al
jne 0x4081e0
call fcn.004ad9e0
cmp dword [0x9de2a8], 3
mov edi, eax
jne 0x40876c
push edi
call fcn.004a34d0
add esp, 4
test al, al
jne 0x40876c
push edi
call fcn.004a41b0
add esp, 4
test al, al
jne 0x40876c
call fcn.00407820
push edi
call fcn.004a36d0
add esp, 4
test al, al
jne 0x4081e0
cmp dword [0x9de2b4], 0
je 0x4087dc
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a0], 0
push eax
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a8], 0
push eax
call fcn.004adc80
mov esi, eax
push esi
call fcn.004a36d0
add esp, 0xc
test al, al
jne 0x40889a
push dword [ebp - 0x1a8]
push dword [ebp - 0x1a0]
push 0
push dword [0x9de2b4]
call fcn.00408f00
add esp, 0x10
call fcn.0049c8f0
call fcn.004b0a40
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00698575
mov esp, ebp
pop ebp
ret
push eax
push str.VM_cleanup_failed:__s_n
call fcn.00407c90
push dword [ebp - 0x1a4]
call fcn.0069b79a
add esp, 0xc
call fcn.00409e60
test esi, esi
mov eax, 0xff
cmovne eax, esi
push eax
call fcn.0040e160
call fcn.00409440
push eax
push str.VM_service_loading_failed:__s_n
call fcn.00407c90
add esp, 8
push 0xff
call fcn.0069ba07
push edi
call fcn.004a34d0
movzx esi, al
neg esi
push edi
sbb esi, esi
add esi, 0xff
call fcn.0049d280
add esp, 8
push eax
push 0x703e58
push esi
call fcn.004075c0
push str.Failed_to_read_JIT_feedback._n
push 0xff
call fcn.004075c0
push str.Failed_to_read_JIT_feedback._n
push 0xff
call fcn.004075c0
push ebx
push str.Unable_to_find_root_library_for__s_n
push 0xff
call fcn.004075c0
push esi
call fcn.0049d280
add esp, 4
push eax
push 0x703e58
push 0xff
call fcn.004075c0
int3