Function at 0x40e990
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52e979
mov eax, dword fs:[0]
push eax
sub esp, 0xbf0
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0xbe8], eax
push ebx
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0xc00]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov esi, dword [edi]
mov ebx, ecx
mov dword [esp + 0x20], edi
mov ecx, str.click
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ea16
test dx, dx
je 0x40ea12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ea16
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e9f0
xor eax, eax
jmp 0x40ea1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f884
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x14c]
push edx
call eax
mov eax, dword [eax]
mov ecx, str.DownDropBtn
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ea66
test dx, dx
je 0x40ea62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ea66
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ea40
xor eax, eax
jmp 0x40ea6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
sete byte [esp + 0x13]
cmp eax, ecx
je 0x40ea8d
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40eb2d
mov ecx, dword [ebx + 0x11cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [ebx + 0x11cc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x14c]
push eax
call edx
mov eax, dword [eax]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40eac2
mov ecx, dword [ebx + 0x11cc]
mov ecx, dword [ecx + 0x734]
sub eax, edx
sar eax, 1
test ecx, ecx
je 0x40eaf3
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 4]
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x40eb0e
push eax
call fcn.0050a8b9
add esp, 4
mov edx, dword [ebx - 0x1c]
push 0
push 0x32
push 4
push edx
mov dword [ebx + 0x11b4], 0
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x14c]
push edx
call eax
mov eax, dword [eax]
mov ecx, str.MenuBtn
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40eb76
test dx, dx
je 0x40eb72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40eb76
add eax, 4
add ecx, 4
test dx, dx
jne 0x40eb50
xor eax, eax
jmp 0x40eb7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
sete byte [esp + 0x13]
cmp eax, ecx
je 0x40eb9d
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40ec51
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor eax, eax
lea edx, [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx - 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [edi + 0x108]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
lea edi, [ecx + edx - 0x120]
mov ecx, dword [esp + 0x28]
push 0x7f0
lea esi, [eax + ecx + 5]
call fcn.0050a753
add esp, 4
mov dword [esp + 0x20], eax
xor edx, edx
mov dword [esp + 0xc08], edx
cmp eax, edx
je 0x40ec1f
push eax
call fcn.004d8d70
mov edx, eax
push esi
lea ecx, [ebx + 0x1194]
push edi
add ebx, 0xc
push ebx
push ecx
mov eax, esp
mov dword [esp + 0xc18], 0xffffffff
mov dword [eax], str.Menu_main.xml
xor eax, eax
mov esi, edx
mov dword [esp + 0x30], esp
call fcn.004d8f40
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x14c]
push eax
call edx
mov ecx, str.FavoriteOnBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x40ec8f
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40ecfc
mov edx, dword [ebx + 0xf80]
mov ecx, dword [edx + 0xec4]
call fcn.00406880
cmp eax, 0xffffffff
jne 0x40ecc1
mov eax, dword [ebx + 0xf80]
mov ecx, dword [eax + 0xec4]
push ecx
lea esi, [ebx - 0x20]
call fcn.004138f0
mov edx, dword [ebx + 0xf80]
mov dword [edx + 0xec4], 0
mov ecx, dword [ebx + 0x11d8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc4]
push 0
call edx
mov ebx, dword [ebx + 0x11dc]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc4]
push 1
mov ecx, ebx
call edx
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x14c]
push edx
call eax
mov ecx, str.FavoriteOffBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x40ed3a
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40eede
lea edx, [esp + 0x14c]
push edx
call fcn.00401170
push 0x904
mov dword [esp + 0xc0c], 1
call fcn.0050a753
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov byte [esp + 0xc08], 2
test esi, esi
je 0x40ede1
mov ecx, dword [ebx + 0x11cc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x44]
push edx
call eax
mov edi, eax
mov byte [esp + 0xc08], 3
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0x18], 1
call edx
mov dword [esp + 0xc08], 4
mov edi, dword [edi]
mov eax, dword [eax]
lea ecx, [esp + 0x14c]
push ecx
push edi
push esi
mov edx, eax
mov dword [esp + 0x20], 3
call fcn.004012f0
mov edi, eax
jmp 0x40ede3
xor edi, edi
test byte [esp + 0x14], 2
je 0x40ee0a
mov eax, dword [esp + 0xc8]
and dword [esp + 0x14], 0xfffffffd
lea edx, [esp + 0xcc]
cmp eax, edx
je 0x40ee0a
push eax
call fcn.0050a8b9
add esp, 4
mov dword [esp + 0xc08], 1
test byte [esp + 0x14], 1
je 0x40ee31
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40ee31
push eax
call fcn.0050a8b9
add esp, 4
mov edx, dword [ebx - 0x1c]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x180
push 0x96c80000
push 0
push edx
mov eax, edi
call fcn.004abb90
mov eax, dword [edi + 4]
push 0x13
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
call fcn.004abc60
cmp eax, 1
jne 0x40eecd
mov ecx, dword [ebx + 0x11d8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc4]
call eax
mov ecx, dword [ebx + 0x11dc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push 0
call eax
mov ecx, dword [ebx + 0xf80]
mov edx, dword [esp + 0x14c]
mov dword [ecx + 0xec4], edx
cmp dword [esp + 0x158], 0xffffffff
jne 0x40eecd
add ebx, 0xffffffe0
push ebx
lea ecx, [esp + 0x150]
call fcn.00413660
lea esi, [esp + 0x14c]
call fcn.00401200
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, str.SearchBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40ef13
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x40fee8
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.CloseBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40ef53
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40ef89
mov edx, dword [ebx - 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ef74
mov eax, dword [ebx - 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx - 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.MinBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40efbe
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40efe0
mov edx, dword [ebx - 0x1c]
push 0
push 0xf020
push 0x112
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, str.MaxBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f015
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f037
mov edx, dword [ebx - 0x1c]
push 0
push 0xf030
push 0x112
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, str.RestoreBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f06c
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f098
mov edx, dword [ebx - 0x1c]
push 0
push 0xf120
push 0x112
push edx
mov dword [ebx + 0x10d0], 1
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, str.NewItemBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f0cd
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f0e9
mov edx, dword [ebx + 0xf9c]
push edx
add ebx, 0xffffffe0
push ebx
call fcn.00414740
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, str.BackBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f11e
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f159
mov edx, dword [ebx + 0xf80]
mov eax, dword [edx + 0xeac]
push eax
call fcn.0041c090
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx + 0xeac]
push 0x533194
push 0xbd1
mov ecx, eax
call fcn.0041d5c0
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.ForwardBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f18e
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f1c9
mov edx, dword [ebx + 0xf80]
mov eax, dword [edx + 0xeac]
push eax
call fcn.0041c090
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx + 0xeac]
push 0x533194
push 0xbd2
mov ecx, eax
call fcn.0041d5c0
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.RefreshBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f1fe
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f275
mov edx, dword [ebx + 0xf80]
mov dword [edx + 0xebc], 1
mov eax, dword [ebx + 0xf80]
push 0
push eax
call fcn.004199d0
mov ecx, dword [ebx + 0xf80]
mov eax, dword [ecx + 0xeac]
push eax
call fcn.0041c090
mov edx, dword [ebx + 0xf80]
mov edx, dword [edx + 0xeac]
push 0x533194
push 0xbd5
mov ecx, eax
call fcn.0041d5c0
cmp dword [ebx + 0x1160], 0
je case.default.0x40ff72
mov eax, dword [ebx + 0xf80]
mov eax, dword [eax + 0xeac]
call fcn.00413330
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.EditClose_btn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f2aa
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f2e5
mov edx, dword [ebx + 0xf80]
mov eax, dword [edx + 0xeac]
push eax
call fcn.0041c090
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx + 0xeac]
push 0x533194
push 0xbd6
mov ecx, eax
call fcn.0041d5c0
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.HomePageBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f31a
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f36b
mov eax, dword [ebx + 0xf9c]
push eax
call fcn.0041e120
mov edx, dword [ebx + 0xf80]
mov esi, eax
mov eax, dword [edx + 0xeac]
add esp, 4
push eax
call fcn.0041c090
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx + 0xeac]
push esi
push 0xbd4
mov ecx, eax
call fcn.0041d5c0
push esi
call fcn.0050a226
add esp, 4
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.FavoritesBarMoreBtn
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40f3a0
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40f52b
mov edx, dword [ebx + 0xf94]
sub edx, dword [ebx + 0xf90]
mov eax, dword [ebx + 0x1020]
sar edx, 2
inc eax
cmp eax, edx
je case.default.0x40ff72
mov ecx, dword [ebx + 0x102c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f3ed
mov edx, dword [ebx + 0x102c]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x108]
mov dword [ebx + 0x11d0], eax
cmp byte [eax + 0xb68], 0
jne case.default.0x40ff72
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x24]
mov edi, dword [eax + 0xc]
lea eax, [ecx + edx - 5]
mov ecx, dword [esp + 0x28]
lea edx, [edi + ecx]
push 0x91c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.0050a753
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0xc08], 7
test eax, eax
je 0x40f4ab
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0x1020]
push edx
push 0
sub esi, edi
sub esi, dword [esp + 0x34]
inc ecx
push esi
push ecx
push 0xffffffffffffffff
push eax
call fcn.0040b610
mov esi, eax
jmp 0x40f4ad
xor esi, esi
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x180
push 0x96c80000
mov dword [esp + 0xc20], 0xffffffff
mov edx, dword [ebx - 0x1c]
push 0
push edx
mov eax, esi
call fcn.004abb90
mov eax, dword [esi + 4]
push 0x13
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f513
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov dword [ebx + 0x102c], eax
mov dword [0x620f3c], 1
jmp case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, 0x533dc0
call eax
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x40f566
test cx, cx
je 0x40f562
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x40f566
add eax, 4
add esi, 4
test cx, cx
jne 0x40f540
xor eax, eax
jmp 0x40f56b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f79b
mov ecx, dword [ebx + 0x102c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f597
mov edx, dword [ebx + 0x102c]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [edi + 0x108]
cmp dword [esi + 0xb78], 1
jne 0x40f6f7
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push 0
mov dword [esp + 0x1c], eax
call edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebx - 0x1c]
xor edi, edi
push ecx
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0xb68]
push edx
call fcn.00414a60
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
cmp ecx, edi
je case.default.0x40ff72
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
call edx
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
lea edi, [ecx + edx]
mov ecx, dword [esp + 0x38]
add eax, ecx
lea edx, [edi + 0xc8]
cmp edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
jle 0x40f631
mov edi, dword [esp + 0x14]
push 0x91c
call fcn.0050a753
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0xc08], 8
test eax, eax
je 0x40f673
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0xb68]
push edi
push 1
push edx
push 0
push ecx
push eax
call fcn.0040b610
mov esi, eax
xor edi, edi
jmp 0x40f677
xor edi, edi
xor esi, esi
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x180
mov dword [esp + 0xc1c], 0xffffffff
push 0x96c80000
mov dword [esi + 0x7d4], edi
mov edx, dword [ebx - 0x1c]
push edi
push edx
mov eax, esi
call fcn.004abb90
mov eax, dword [esi + 4]
push 0x13
push edi
push edi
push edi
push edi
push edi
push eax
mov dword [esi + 0x7d0], edi
mov dword [0x620f28], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f6e9
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov dword [ebx + 0x102c], eax
jmp case.default.0x40ff72
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x1d4], ecx
xor edx, edx
lea eax, [esp + 0x25c]
xor ecx, ecx
mov dword [0x620f38], 0
mov word [esp + 0x1d8], dx
mov dword [esp + 0x258], eax
mov word [esp + 0x25c], cx
mov eax, str.Menu_NewUrl
lea ecx, [esp + 0x1d4]
mov dword [esp + 0xc08], 9
call fcn.004b5190
cmp dword [esi + 0xbb0], 0x10
jb 0x40f765
mov edx, dword [esi + 0xb9c]
mov dword [esp + 0x2f0], edx
jmp 0x40f772
add esi, 0xb9c
mov dword [esp + 0x2f0], esi
mov ecx, dword [0x6210b4]
mov eax, dword [ecx + 0x20]
mov eax, dword [eax]
add ecx, 0x20
lea edx, [esp + 0x1d4]
push edx
call eax
lea eax, [esp + 0x1d4]
call fcn.00404e80
jmp case.default.0x40ff72
mov edi, dword [edi + 0x108]
mov edx, dword [edi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call edx
mov eax, dword [eax]
mov ecx, str.AddressReturnBtn
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f7dc
test dx, dx
je 0x40f7d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f7dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f7b6
xor eax, eax
jmp 0x40f7e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
sete bl
cmp eax, ecx
je 0x40f7fb
push eax
call fcn.0050a8b9
add esp, 4
test bl, bl
je case.default.0x40ff72
lea edx, [esp + 0x1d8]
mov dword [esp + 0x1d4], edx
xor eax, eax
lea ecx, [esp + 0x25c]
xor edx, edx
mov word [esp + 0x1d8], ax
mov dword [esp + 0x258], ecx
mov word [esp + 0x25c], dx
mov eax, str.return
lea ecx, [esp + 0x1d4]
mov dword [esp + 0xc08], 0xa
call fcn.004b5190
mov eax, dword [0x6210b4]
mov ecx, dword [eax + 0x11ec]
mov dword [esp + 0x2dc], ecx
mov edx, dword [eax + 0x20]
mov edx, dword [edx]
lea ecx, [eax + 0x20]
lea eax, [esp + 0x1d4]
push eax
call edx
lea eax, [esp + 0x1d4]
call fcn.00404e80
jmp case.default.0x40ff72
mov ecx, str.CloseTabBtn
mov eax, esi
jmp 0x40f890
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f8b6
test dx, dx
je 0x40f8b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f8b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f890
xor eax, eax
jmp 0x40f8bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f8cf
add ebx, 0xffffffe0
push ebx
mov ecx, edi
call fcn.004133f0
jmp case.default.0x40ff72
mov ecx, str.EditUrlChanged
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f8fc
test dx, dx
je 0x40f8f8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f8fc
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f8d6
xor eax, eax
jmp 0x40f901
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f930
mov ecx, dword [ebx - 0x1c]
push 0
push 0xa
mov dword [ebx + 0x11b4], 1
mov eax, dword [edi + 0x11c]
push 4
push ecx
mov dword [ebx + 0x11b8], eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x40ff72
mov ecx, str.EditUrlKillFocus
mov eax, edi
call fcn.004b51f0
test al, al
je 0x40f96a
mov edx, dword [ebx + 0x1028]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.default.0x40ff72
mov eax, dword [ebx - 0x1c]
push 0
push 0x32
push 5
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x40ff72
mov ecx, str.Menu_NewUrl
mov eax, edi
call fcn.004b51f0
test al, al
je 0x40f9dc
push 0x8fe
lea ecx, [esp + 0x2f9]
push 0
push ecx
mov byte [esp + 0x300], 0
call fcn.0050e6a0
mov edi, dword [edi + 0x11c]
lea ecx, [esp + 0x300]
add esp, 0xc
sub ecx, edi
mov al, byte [edi]
mov byte [ecx + edi], al
inc edi
test al, al
jne 0x40f9a8
lea edx, [esp + 0x2f4]
push edx
call fcn.0041e180
add esp, 4
mov esi, eax
push esi
add ebx, 0xffffffe0
push ebx
call fcn.00414740
push esi
call fcn.0050a226
add esp, 4
jmp case.default.0x40ff72
mov ecx, str.selectchanged
mov eax, edi
call fcn.004b51f0
test al, al
je 0x40fce4
mov dword [ebx + 0x1160], 1
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x14c]
push edx
call eax
mov ecx, str.tabOption
lea eax, [esp + 0x14c]
mov dword [esp + 0xc08], 0xb
call fcn.004b51f0
test al, al
je 0x40fccf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0xf80]
test eax, eax
jne 0x40fa4f
mov eax, dword [esp + 0x14c]
jmp 0x40fd7d
push 0
mov esi, eax
call fcn.00419d50
mov esi, dword [edi + 0x108]
push 1
mov dword [ebx + 0xf80], esi
call fcn.00419d50
mov edx, dword [ebx + 0xf80]
cmp dword [edx + 0xec4], 0
mov byte [esp + 0x14], 0
jle 0x40fa84
mov byte [esp + 0x14], 1
mov ecx, dword [ebx + 0x11d8]
mov eax, dword [ecx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xc4]
push edx
call eax
cmp byte [esp + 0x14], 0
mov ecx, dword [ebx + 0x11dc]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc4]
sete al
movzx eax, al
push eax
call edx
mov eax, dword [ebx + 0xf80]
cmp dword [eax + 0xeac], 0
jne 0x40fad0
mov eax, dword [esp + 0x14c]
jmp 0x40fd7d
mov eax, dword [ebx + 0x11c0]
mov edx, dword [eax + 0x64c]
lea ecx, [eax + 0x64c]
mov eax, dword [edx + 0xc]
call eax
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
test eax, eax
jle 0x40fc08
mov ecx, dword [ebx + 0x11c0]
mov eax, dword [ecx + 0x64c]
add ecx, 0x64c
push edx
mov edx, dword [eax]
call edx
push str.tabOption
mov esi, eax
call fcn.004c5620
mov esi, eax
test esi, esi
je 0x40fbf5
mov edi, dword [esi + 0xeac]
test edi, edi
je 0x40fbf5
push edi
call fcn.0041c090
mov edx, dword [ebx + 0xf80]
cmp esi, edx
jne 0x40fbe2
mov eax, dword [edx + 0xeac]
push 0xbd8
push eax
lea edi, [ebx - 0x20]
call fcn.0040e860
mov ecx, dword [ebx + 0xf80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x44]
push edx
call eax
mov eax, dword [eax]
mov ecx, dword [ebx - 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40fb90
push eax
call fcn.0050a8b9
add esp, 4
cmp dword [ebx + 0x11e8], 0
je 0x40fbf5
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x44]
push eax
call edx
mov byte [esp + 0xc08], 0xc
mov eax, dword [eax]
mov ecx, dword [ebx + 0x11e8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
call eax
mov byte [esp + 0xc08], 0xb
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40fbf5
push eax
call fcn.0050a8b9
add esp, 4
jmp 0x40fbf5
push 0x533194
push 0xbd9
mov edx, edi
mov ecx, eax
call fcn.0041d5c0
mov edx, dword [esp + 0x14]
inc edx
cmp edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
jl 0x40faf9
mov eax, dword [ebx + 0xf80]
lea edi, [esp + 0x18]
call fcn.00419be0
mov byte [esp + 0xc08], 0xd
mov eax, dword [eax]
mov ecx, dword [ebx + 0x11cc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, edi
mov byte [esp + 0xc08], 0xb
call fcn.00415f20
mov ecx, dword [ebx + 0x11cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xec]
call eax
test al, al
je 0x40fc7c
mov eax, dword [ebx + 0xf80]
lea edi, [esp + 0x18]
call fcn.00419be0
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov eax, dword [ebx + 0x11cc]
push edx
or ecx, 0xffffffff
call fcn.004bc410
mov eax, edi
call fcn.00415f20
lea edi, [ebx - 0x20]
call fcn.00415440
cmp dword [ebx + 0x11bc], 0
je 0x40fcbe
mov esi, dword [ebx + 0xf80]
add esi, 0xea4
call fcn.00408dd0
mov ecx, dword [ebx + 0x11bc]
push ecx
call fcn.004c5dc0
mov esi, dword [ebx + 0xf80]
add esi, 0xea4
or eax, 0xffffffff
call fcn.00415da0
mov esi, dword [ebx + 0xf80]
call fcn.0040e7e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
jmp 0x40fd86
mov ecx, str.return
mov eax, edi
call fcn.004b51f0
test al, al
je 0x40fef5
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, str.urlEdit
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40fd2d
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je 0x40fea8
mov ecx, dword [ebx + 0x11cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xec]
call eax
mov ecx, dword [ebx + 0x11cc]
test ecx, ecx
je 0x40fe9c
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x14c]
push eax
call edx
mov dword [esp + 0xc08], 0xe
mov eax, dword [esp + 0x14c]
cmp word [eax], 0
jne 0x40fd9a
lea ecx, [esp + 0x150]
cmp eax, ecx
je case.default.0x40ff72
push eax
call fcn.0050a8b9
add esp, 4
jmp case.default.0x40ff72
lea ecx, [esp + 0x14c]
call fcn.00415500
mov edx, dword [esp + 0x14c]
push edx
call fcn.0041e120
mov ecx, dword [0x534a60]
mov edx, dword [0x534a64]
add esp, 4
mov esi, eax
mov eax, dword [0x534a5c]
push 0x8f1
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x2f8], eax
mov ax, word [0x534a68]
lea ecx, [esp + 0x306]
push 0
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x308], edx
mov word [esp + 0x30c], ax
call fcn.0050e6a0
add esp, 0xc
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fe10
lea edi, [esp + 0x2f4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40fe21
mov edx, dword [ebx + 0xf80]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 0xeac]
push eax
call fcn.0041c090
mov ecx, dword [ebx + 0xf80]
mov edx, dword [ecx + 0xeac]
lea ecx, [esp + 0x2f4]
push ecx
push 0xbd4
mov ecx, eax
call fcn.0041d5c0
mov edx, dword [esp + 0x18]
push edx
call fcn.0050a226
mov dword [esp + 0xc0c], 0xffffffff
mov eax, dword [esp + 0x150]
lea ecx, [esp + 0x154]
add esp, 4
cmp eax, ecx
je 0x40fe9c
push eax
call fcn.0050a8b9
add esp, 4
lea edi, [ebx - 0x20]
call fcn.00415440
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, str.SearchEdit
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
je 0x40fedd
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je case.default.0x40ff72
lea edi, [ebx - 0x20]
call fcn.00414be0
jmp case.default.0x40ff72
mov ecx, str.itemselect
mov eax, edi
call fcn.004b51f0
test al, al
je case.default.0x40ff72
mov ecx, dword [edi + 0x108]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0xc8]
push eax
call edx
mov ecx, str.cboSearchName
call fcn.004b51f0
mov byte [esp + 0x13], al
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xcc]
cmp eax, ecx
je 0x40ff47
push eax
call fcn.0050a8b9
add esp, 4
cmp byte [esp + 0x13], 0
je case.default.0x40ff72
mov eax, dword [ebx + 0x11d4]
mov edx, dword [eax + 0x680]
lea ecx, [eax + 0x680]
mov eax, dword [edx + 4]
call eax
cmp eax, 3
ja case.default.0x40ff72
jmp dword [eax*4 + 0x4100c0]
mov ecx, dword [ebx + 0x11d4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
push str.http:__www.sogou.com_web_query
call eax
mov eax, dword [0x6210b4]
add eax, 0x10f8
mov ecx, 0x533d60
call fcn.004b51f0
test al, al
je 0x40ffb0
mov eax, str.filesogou.png_dest5_5_21_21
jmp 0x41008b
mov edx, dword [ebx + 0x11d4]
push edx
mov eax, str.filesogou.png_dest5_11_21_27
jmp 0x410092
mov ecx, dword [ebx + 0x11d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb4]
push str.http:__www.baidu.com_s_wd
call edx
mov eax, dword [0x6210b4]
add eax, 0x10f8
mov ecx, 0x533d60
call fcn.004b51f0
test al, al
je 0x40ffff
mov eax, dword [ebx + 0x11d4]
push eax
mov eax, str.filebaidu.png_dest5_5_21_21
jmp 0x410092
mov eax, str.filebaidu.png_dest5_11_21_27
jmp 0x41008b
mov ecx, dword [ebx + 0x11d4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
push str.http:__www.google.com.hk_search_hlzh_CNsourcehpq
call eax
mov eax, dword [0x6210b4]
add eax, 0x10f8
mov ecx, 0x533d60
call fcn.004b51f0
test al, al
je 0x41003d
mov eax, str.filegoogle.png_dest5_5_21_21
jmp 0x41008b
mov edx, dword [ebx + 0x11d4]
push edx
mov eax, str.filegoogle.png_dest5_11_21_27
jmp 0x410092
mov ecx, dword [ebx + 0x11d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xb4]
push str.http:__cn.bing.com_search_q
call edx
mov eax, dword [0x6210b4]
add eax, 0x10f8
mov ecx, 0x533d60
call fcn.004b51f0
test al, al
je 0x410086
mov eax, dword [ebx + 0x11d4]
push eax
mov eax, str.filebing.png_dest5_5_21_21
jmp 0x410092
mov eax, str.filebing.png_dest5_11_21_27
mov ecx, dword [ebx + 0x11d4]
push ecx
call fcn.004c5dc0
mov ecx, dword [esp + 0xc00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xbe8]
xor ecx, esp
call fcn.0050a231
mov esp, ebp
pop ebp
ret 4