Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov ebx, dword [ebp + 8]
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [esi + 0x128], eax
mov dword [esi + 0xf4], 0
call dword [sym.imp.KERNEL32.dll_IsThreadAFiber]
mov edi, 2
test eax, eax
jne 0x4010a9
push 1
push 0
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiberEx]
test eax, eax
je 0x40108b
lea ecx, [esi + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], eax
push ecx
push 0x4017d0
push 1
push sym.nw.exe_Ordinal_0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFiberEx]
test eax, eax
je 0x40108f
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
mov edi, dword [esi + 0x18]
jmp 0x4017b0
xor edi, edi
jmp 0x401092
xor edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esi + 0xf4]
mov dword [ecx], eax
push ecx
call fcn.00402910
add esp, 4
call fcn.00402488
mov dword [esi + 0x10], 0xffffffff
cmp edi, 2
je 0x40110d
push 2
call fcn.00423e70
add esp, 4
mov ebx, eax
push edi
call fcn.00423e70
add esp, 4
lea edi, [esi + 0x10]
mov ecx, edi
push ebx
push eax
push str.fiber_status__FiberStatus::kSuccess
call fcn.00424270
cmp dword [edi], 0
je 0x40110d
lea ebx, [esi + 0xc0]
push edi
push 0x101
push str..._.._chrome_app_chrome_exe_main_win.cc
push ebx
call fcn.00423d80
add esp, 0x10
mov ecx, ebx
call fcn.00423d50
mov ecx, ebx
call fcn.00423d60
call fcn.00440880
xor eax, eax
push eax
push eax
call fcn.00424be0
add esp, 8
call fcn.00424ec0
mov edi, eax
xor eax, eax
dec eax
lea ecx, [esi + 0xe8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov eax, 0x53f360
lea ebx, [esi + 0x10]
mov dword [ebx], eax
push eax
call fcn.0052b730
add esp, 4
mov dword [ebx + 4], eax
mov dword [esi + 0xc], edi
mov ecx, edi
push ebx
lea eax, [esi + 0xe8]
push eax
call fcn.00425460
push str.crashpad_handler
call fcn.0052b730
add esp, 4
lea ecx, [esi + 0xe8]
movzx edx, byte [ecx]
mov ebx, edx
shr ebx, 1
and dl, 1
mov edi, dword [ecx + 4]
mov ecx, edi
cmove ecx, ebx
cmp eax, ecx
jne 0x4011b8
lea ecx, [esi + 0xe8]
push eax
push str.crashpad_handler
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
je 0x40134e
movzx ebx, byte [esi + 0xe8]
mov edi, dword [esi + 0xec]
mov edx, ebx
and dl, 1
shr ebx, 1
mov dword [esi + 8], edi
push str.fallback_handler
mov edi, edx
call fcn.0052b730
add esp, 4
mov ecx, edi
test cl, cl
cmovne ebx, dword [esi + 8]
cmp eax, ebx
jne 0x4011f3
lea ecx, [esi + 0xe8]
push eax
push str.fallback_handler
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
je 0x4014b4
lea eax, [esi + 0xb8]
xor edi, edi
dec edi
mov dword [eax + 4], edi
mov dword [eax], edi
push eax
call fcn.0043aa80
add esp, 4
call sub.nw_elf.dll_SignalChromeElf
lea ecx, [esi + 0xc0]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx], xmm0
call fcn.004231e0
movzx ebx, byte [esi + 0xe8]
test bl, 1
je 0x40123c
mov ebx, dword [esi + 0xec]
jmp 0x40123e
shr ebx, 1
test ebx, ebx
je 0x40126c
push 0x53f34e
call fcn.0052b730
add esp, 4
cmp eax, ebx
jne 0x401271
lea ecx, [esi + 0xe8]
push ebx
push 0x53f34e
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
jne 0x401271
call fcn.00441ee0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.004280e0
push ebx
push 7
call fcn.004315e0
add esp, 8
test al, al
je 0x401671
lea ecx, [esi + 0x10]
call fcn.004296d0
test al, al
je 0x401671
mov eax, edi
lea edi, [esi + 0x11c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004417d0
mov ecx, edi
push 0x2001f
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push 0x80000001
call fcn.004417f0
test eax, eax
jne 0x401666
xor eax, eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x118], eax
lea eax, [esi + 0x12]
test byte [eax - 2], 1
je 0x4012fc
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x110]
lea ecx, [esi + 0x11c]
push edx
push eax
call fcn.00441940
test eax, eax
mov eax, 0xffffffff
jne 0x40164f
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
movzx eax, byte [esi + 0x110]
test al, 1
je 0x401551
mov ecx, dword [esi + 0x118]
mov eax, dword [esi + 0x114]
jmp 0x401559
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
push ecx
push ecx
mov dword [esi + 8], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pcmpeqd xmm0, xmm0
lea eax, [esi + 0xc0]
movdqu xmmword [eax + 0xc], xmm0
movdqa xmmword [eax], xmm0
sub esp, 0x14
movdqa xmm0, xmmword [section..rdata]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [esi + 0xc]
push ebx
call fcn.0044c3c4
add esp, 4
mov ecx, ebx
push str.no_periodic_tasks
call fcn.004253f0
test al, al
mov edi, 0xffffffff
jne 0x4014ce
lea ecx, [esi + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
call fcn.0044d9d0
lea eax, [esi + 0x11c]
mov ecx, ebx
push 0x53f084
mov ebx, eax
push eax
call fcn.00425460
lea ecx, [esi + 0x10]
push ebx
call fcn.0044da24
test byte [ebx], 1
je 0x401408
push dword [esi + 0x124]
mov ebx, eax
call fcn.005128f8
mov eax, ebx
add esp, 4
xor ebx, ebx
test al, al
je 0x4014c8
lea eax, [esi + 0x110]
mov dword [eax], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
mov dword [esi + 8], eax
mov edi, dword [esi + 0x38]
call ebx
push 2
push 0
push 0x400
lea ecx, [esi + 0x110]
push ecx
push dword [esi + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4014c3
xor eax, eax
dec eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x11c], eax
lea ecx, [esi + 0x11c]
push dword [esi + 0x110]
call fcn.004408f0
push 0x58
call fcn.00512878
add esp, 4
mov ebx, eax
mov ecx, eax
call fcn.0044bfa8
mov edi, esp
sub esp, 8
mov ecx, esp
lea eax, [esi + 0x11c]
push eax
call fcn.004409e0
mov ecx, ebx
call fcn.0044c066
mov esp, edi
test al, al
je 0x4014a7
mov ecx, ebx
call fcn.0044c1a2
lea ecx, [esi + 0x11c]
call fcn.00440a90
jmp 0x4014c5
mov ecx, dword [esi + 0xc]
call fcn.004017f2
mov edi, eax
jmp 0x401799
xor ebx, ebx
xor edi, edi
dec edi
mov dword [esi + 8], ebx
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov eax, str.user_data_dir
mov edi, ebx
lea ebx, [esi + 0x11c]
mov dword [ebx], eax
push eax
call fcn.0052b730
add esp, 4
mov dword [ebx + 4], eax
mov ecx, edi
push ebx
lea edi, [esi + 0x10]
push edi
call fcn.00425570
call fcn.00424ec0
mov ecx, str.user_data_dir
push ecx
push 0x53f360
push edi
push eax
call fcn.0044c6d4
add esp, 0x10
mov edi, eax
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x40152c
test edi, edi
je 0x40152c
mov ecx, ebx
call fcn.0044c338
lea ecx, [esi + 0x10]
call fcn.00428200
test ebx, ebx
je 0x401799
mov ecx, ebx
call fcn.0044c046
push ebx
call fcn.005128f8
add esp, 4
jmp 0x401799
shr eax, 1
lea ecx, [esi + 0x112]
xor edx, edx
inc edx
lea edi, [esi + 0x104]
push edx
push edx
push edx
push 0x53f168
push eax
push ecx
push edi
call fcn.004358d0
add esp, 0x1c
mov edi, 0xffffffcc
lea ebx, [esi + 0xf8]
mov eax, dword [edi + 0x53f1a0]
mov dword [esi + 0xf8], eax
push ebx
lea eax, [esi + 0x104]
push eax
call fcn.00401a0a
add esp, 8
add edi, 4
jne 0x401580
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x108]
cmp eax, ecx
je 0x4015f4
xor edx, edx
dec edx
mov dword [esi + 0xf8], edx
mov dword [esi + 0xfc], edx
mov dword [esi + 0x100], edx
sub ecx, eax
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
push 1
push 0x53f168
push eax
push ecx
push ebx
call fcn.00437660
add esp, 0x14
test byte [esi + 0xf8], 1
je 0x40160e
mov eax, dword [esi + 0x100]
jmp 0x401614
test byte [esi + 0x10], 1
lea eax, [esi + 0x12]
je 0x401600
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x11c]
push eax
call fcn.004418a0
jmp 0x401644
lea eax, [esi + 0xfa]
lea edx, [esi + 0x12]
test byte [esi + 0x10], 1
je 0x401620
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x11c]
push eax
push edx
call fcn.00441a30
test byte [esi + 0xf8], 1
je 0x401644
push dword [esi + 0x100]
call fcn.005128f8
add esp, 4
lea ecx, [esi + 0x104]
call fcn.00401c40
test byte [esi + 0x110], 1
je 0x401666
push dword [esi + 0x118]
call fcn.005128f8
add esp, 4
lea ecx, [esi + 0x11c]
call fcn.00441860
lea ecx, [esi + 0x10]
call fcn.00428200
push 0x28
push str..._.._chrome_app_chrome_exe_main_win.cc
call fcn.0042ae40
add esp, 8
test eax, eax
jle 0x4016bc
lea edi, [esi + 0x10]
mov ecx, edi
push 0xffffffffffffffff
push 0x161
push str..._.._chrome_app_chrome_exe_main_win.cc
call fcn.0042aea0
lea eax, [esi + 0x18]
push 0x17
push str.About_to_load_main_DLL.
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, edi
call fcn.0042b2a0
call fcn.00402409
mov ebx, eax
mov ecx, eax
push dword [esi + 0xbc]
push dword [esi + 0xb8]
push dword [ebp + 8]
call fcn.0040220c
mov dword [esi + 8], eax
mov ecx, ebx
call fcn.0040238e
test ebx, ebx
je 0x4016ef
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
push 0x53f365
call fcn.0052b730
add esp, 4
movzx edx, byte [esi + 0xe8]
mov ebx, edx
shr ebx, 1
and dl, 1
mov edi, dword [esi + 0xec]
mov ecx, edi
cmove ecx, ebx
cmp eax, ecx
jne 0x401749
lea ecx, [esi + 0xe8]
push eax
push 0x53f365
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
mov edi, dword [esi + 8]
je 0x401780
movzx ebx, byte [esi + 0xe8]
mov edi, dword [esi + 0xec]
mov edx, ebx
and dl, 1
shr ebx, 1
mov dword [esi + 0xc], edx
push 0x53f35a
call fcn.0052b730
add esp, 4
cmp byte [esi + 0xc], 0
cmovne ebx, edi
cmp eax, ebx
mov edi, dword [esi + 8]
jne 0x40178e
lea ecx, [esi + 0xe8]
push eax
push 0x53f35a
push 0xffffffffffffffff
push 0
call fcn.004214de
test eax, eax
jne 0x40178e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esi + 0xc0]
call fcn.00423210
test byte [esi + 0xe8], 1
je 0x4017b0
push dword [esi + 0xf0]
call fcn.005128f8
add esp, 4
mov ecx, dword [esi + 0x128]
xor ecx, ebp
call fcn.00512931
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10