Function at 0x4010c0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49505b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4b6170]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x4b6170]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x5c], ebx
call fcn.00401930
mov esi, eax
call fcn.00411a80
test al, al
je 0x401177
mov esi, 1
mov dword [esp + 0x24], esi
call fcn.00401a50
call fcn.004169b0
test al, al
je 0x401177
push ebx
push ebx
push ebx
push 0x4010a0
push ebx
push ebx
mov dword [esp + 0x74], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebx
je 0x401177
call fcn.00401930
mov eax, dword [eax + 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401170
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00401930
mov eax, dword [eax + 0x24]
mov dword [esp + 0x28], 0x63
cmp eax, 0x64
jae 0x401190
mov dword [esp + 0x28], eax
sub esp, 0x1c
mov dword [esp + 0x7c], esp
call fcn.00401930
mov esi, esp
call fcn.00416400
lea edi, [esp + 0xdc]
call fcn.00403cd0
add esp, 0x1c
mov dword [esp + 0x298], ebx
call fcn.00401930
cmp byte [eax], bl
je 0x401843
mov ecx, dword [esp + 0x28]
push 0xa
lea eax, [esp + 0x174]
push eax
push ecx
mov byte [esp + 0x17c], bl
mov dword [esp + 0x17d], ebx
mov dword [esp + 0x181], ebx
mov byte [esp + 0x185], bl
call fcn.0048c29c
add esp, 0xc
lea edx, [esp + 0xdc]
push edx
call fcn.0042aab0
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x58], ebx
mov byte [esp + 0x298], 3
push 2
mov esi, 0xf
push 0x4a35b0
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.004022f0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x128]
mov byte [esp + 0x2a4], 5
call fcn.00401fb0
cmp dword [esp + 0x134], 0x10
mov eax, dword [esp + 0x120]
jae 0x40128a
lea eax, [esp + 0x120]
mov ecx, dword [esp + 0x130]
push 1
lea edx, [esp + 0x50]
push edx
add ecx, eax
push ecx
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0042ab70
test al, al
je 0x401791
call fcn.00401930
cmp byte [eax + 0x160], bl
je 0x40163e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], edx
push 0x4a35b4
lea ebx, [esp + 0x50]
mov byte [esp + 0x29c], 6
call fcn.0042f680
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], edx
push str.WEBKIT
mov byte [esp + 0x29c], 7
call fcn.0042f680
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
call fcn.00401930
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
push str.TIMEOUT
mov byte [esp + 0x29c], 8
call fcn.0042f680
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
call fcn.00401a50
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov byte [esp + 0x298], 9
push str.LOADWEBKIT
call fcn.0042f680
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
call fcn.00401a50
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 4]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
push str.LOADBROWSER
mov byte [esp + 0x29c], 0xa
call fcn.0042f680
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
call fcn.00401a50
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 8]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
push str.CREATEWND
mov byte [esp + 0x29c], 0xb
call fcn.0042f680
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
mov ecx, dword [0x4b9260]
sub ecx, dword [0x4b925c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x40163e
mov dword [esp + 0x24], edi
push 0x103
lea ecx, [esp + 0x181]
push 0
push ecx
mov byte [esp + 0x188], 0
call fcn.00446600
add esp, 0xc
push edi
lea edx, [esp + 0x180]
push str.OPEN_PAGE___d_
push edx
call fcn.0043f949
mov ecx, dword [0x4b9260]
sub ecx, dword [0x4b925c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 0xc
cmp edi, eax
jb 0x4015b1
call fcn.0043fb41
mov ecx, dword [esp + 0x24]
mov edx, dword [0x4b925c]
lea eax, [ecx + edx]
lea esi, [esp + 0x14]
call fcn.0042e940
lea eax, [esp + 0x17c]
push eax
lea ebx, [esp + 0x50]
mov byte [esp + 0x29c], 0xc
call fcn.0042f680
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
mov ecx, dword [0x4b9260]
sub ecx, dword [0x4b925c]
add dword [esp + 0x24], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x401554
lea eax, [esp + 0xc0]
lea esi, [esp + 0x14]
call fcn.0042e940
push 0x4a35fc
lea ebx, [esp + 0x50]
mov byte [esp + 0x29c], 0xd
call fcn.0042f680
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
lea edx, [esp + 0x170]
push edx
lea esi, [esp + 0x18]
call fcn.0042e8e0
push 0x4a3600
mov byte [esp + 0x29c], 0xe
call fcn.0042f680
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.0042e9b0
lea ecx, [esp + 0x2c]
mov edx, esi
call fcn.0042ec20
call fcn.0042eb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.0042eb00
xor ebx, ebx
mov esi, vtable.Json::FastWriter.0
mov eax, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov byte [esp + 0xbc], bl
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2a0], al
call fcn.00431640
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2a4], 0x10
call fcn.00401fb0
mov edi, 0x10
cmp dword [esp + 0x44], edi
jb 0x401762
mov eax, dword [esp + 0x30]
push eax
call fcn.0043f604
add esp, 4
mov byte [esp + 0x298], 5
mov dword [esp + 0x9c], esi
cmp dword [esp + 0xb8], edi
jb 0x40178a
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0043f604
add esp, 4
xor ebx, ebx
mov esi, 0xf
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x88]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401fb0
mov byte [esp + 0x2b4], 0x11
call fcn.00401930
mov byte [esp + 0x2b4], 5
call fcn.00414df0
mov edi, 0x10
cmp dword [esp + 0x7c], edi
jb 0x4017e5
mov eax, dword [esp + 0x68]
push eax
call fcn.0043f604
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
cmp dword [esp + 0x98], edi
jb 0x40180a
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0043f604
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov byte [esp + 0x298], 1
call fcn.0042eb00
lea edi, [esp + 0xdc]
mov byte [esp + 0x298], bl
call fcn.004018a0
call fcn.00401930
call fcn.004019d0
cmp dword [esp + 0xd8], 0x10
jb 0x401867
mov edx, dword [esp + 0xc4]
push edx
call fcn.0043f604
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0043f4b7
mov esp, ebp
pop ebp
ret 8