Function at 0x40b2d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a699c
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4d6750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.do_update
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 1
call fcn.00403c60
mov byte [ebp - 4], 2
lea edx, [ebp - 0x27c]
mov ecx, dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x288]
mov eax, dword [eax + 4]
test eax, eax
je 0x40b33d
cmp dword [eax + 4], 0
jne 0x40b347
test esi, esi
je 0x40b374
cmp dword [esi + 4], 0
je 0x40b374
test eax, eax
je 0x40b36f
cmp dword [eax + 4], 0
je 0x40b36f
test esi, esi
je 0x40b368
cmp dword [esi + 4], 0
je 0x40b368
push esi
push eax
call dword [sym.imp.libcef.dll_cef_string_utf16_cmp]
add esp, 8
jmp 0x40b376
mov eax, 1
jmp 0x40b376
or eax, 0xffffffff
jmp 0x40b376
xor eax, eax
mov ebx, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
test eax, eax
mov eax, dword [ebp - 0x278]
sete byte [ebp - 0x26d]
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
test eax, eax
je 0x40b3c4
cmp byte [ebp - 0x274], 0
je 0x40b3b3
push eax
call ebx
push dword [ebp - 0x278]
call fcn.00488361
add esp, 8
mov dword [ebp - 0x278], 0
mov byte [ebp - 0x274], 0
mov byte [ebp - 4], 1
test esi, esi
je 0x40b3e1
cmp byte [ebp - 0x284], 0
je 0x40b3e1
push esi
call ebx
push esi
call fcn.00488361
add esp, 8
cmp byte [ebp - 0x26d], 0
je 0x40b47b
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x280]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x280]
push 0
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp eax, 1
jne 0x40b428
push dword [edi + 0x284]
mov byte [edi + 0x288], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40b446
test eax, eax
jne 0x40b441
push dword [edi + 0x284]
mov byte [edi + 0x288], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40b456
cmp eax, 2
jne 0x40b456
mov ecx, edi
call fcn.0040b8d0
push 0
mov ecx, edi
call fcn.00455960
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x40b474
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x40b708
push str.html_compalte
lea ecx, [ebp - 0x28c]
call fcn.00403c60
mov byte [ebp - 4], 4
lea edx, [ebp - 0x27c]
mov ecx, dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x288]
mov eax, dword [eax + 4]
test eax, eax
je 0x40b4b1
cmp dword [eax + 4], 0
jne 0x40b4bb
test esi, esi
je 0x40b4e8
cmp dword [esi + 4], 0
je 0x40b4e8
test eax, eax
je 0x40b4e3
cmp dword [eax + 4], 0
je 0x40b4e3
test esi, esi
je 0x40b4dc
cmp dword [esi + 4], 0
je 0x40b4dc
push esi
push eax
call dword [sym.imp.libcef.dll_cef_string_utf16_cmp]
add esp, 8
jmp 0x40b4ea
mov eax, 1
jmp 0x40b4ea
or eax, 0xffffffff
jmp 0x40b4ea
xor eax, eax
test eax, eax
mov dword [ebp - method.CefStringBase_struct_CefStringTraitsUTF16_.virtual_0], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov eax, dword [ebp - 0x278]
sete byte [ebp - 0x26d]
test eax, eax
je 0x40b532
cmp byte [ebp - 0x274], 0
je 0x40b521
push eax
call ebx
push dword [ebp - 0x278]
call fcn.00488361
add esp, 8
mov dword [ebp - 0x278], 0
mov byte [ebp - 0x274], 0
mov byte [ebp - 4], 1
test esi, esi
je 0x40b54f
cmp byte [ebp - 0x284], 0
je 0x40b54f
push esi
call ebx
push esi
call fcn.00488361
add esp, 8
cmp byte [ebp - 0x26d], 0
je 0x40b6b8
mov ecx, edi
call fcn.00455720
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push 0xff
lea eax, [ebp - 0x26b]
mov byte [ebp - 4], 6
push 0
push eax
mov byte [ebp - 0x26c], 0
call fcn.0048d420
push 0x140
lea eax, [ebp - 0x16c]
push 0
push eax
call fcn.0048d420
add esp, 0x18
lea ecx, [ebp - 0x2c]
call fcn.00401170
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmovae eax, dword [ebp - 0x2c]
push 0x100
push eax
lea eax, [ebp - 0x26c]
push eax
call esi
push 0x100
push str.http:__pk.update.ali213.net_ali213
lea eax, [ebp - 0x16c]
push eax
call esi
cmp dword [edi + 0x1b8], 0x10
lea eax, [edi + 0x1a4]
jb 0x40b5f5
mov eax, dword [eax]
push 0x14
push eax
lea eax, [ebp - 0x6c]
push eax
call esi
cmp dword [edi + 0x1d4], 0x10
lea eax, [edi + 0x1c0]
jb 0x40b60f
mov eax, dword [eax]
push 0x14
push eax
lea eax, [ebp - 0x58]
push eax
call esi
cmp dword [edi + 0x20c], 0x10
lea eax, [edi + 0x1f8]
jb 0x40b629
mov eax, dword [eax]
push 0x14
push eax
lea eax, [ebp - 0x44]
push eax
call esi
test edi, edi
je 0x40b63e
lea eax, [edi + 0x1a0]
jmp 0x40b640
xor eax, eax
mov dword [edi + 0x230], eax
lea esi, [edi + 0x218]
push 0x240
lea eax, [ebp - 0x26c]
push eax
lea eax, [esi + 0x74]
push 0x240
push eax
call fcn.00489a3a
add esp, 0x10
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x4063a0
push 0
push 0
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0x10
mov dword [esi + 0x68], eax
jb 0x40b6a6
push dword [ebp - 0x2c]
call fcn.00488361
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x280], esp
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x40b6d9
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push dword [ebp + 0xc]
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x40b6fb
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004560b0
mov bl, al
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x40b723
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x40b741
mov edx, dword [ecx + 4]
add ecx, 4
mov edx, dword [edx + 4]
add ecx, edx
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488366
mov esp, ebp
pop ebp
ret 0xc