Function at 0x439540
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x469b77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
mov eax, dword [0x48d20c]
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp eax, ebp
push edi
mov dword [esp + 0x34], esi
jne 0x439aec
call fcn.00439400
test eax, eax
jne 0x439aec
mov ecx, 0x48c328
call fcn.0043aa10
push ebp
push 0x439250
call dword [sym.imp.USER32.dll_EnumWindows]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
lea eax, [esp + 0x25c]
push 0x1ff
push eax
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
call fcn.00405c50
lea edi, [esp + 0x25c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x25c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00405aa0
mov edi, str.SE_AxControl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x464], ebp
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x40]
not ecx
dec ecx
push ecx
push str.SE_AxControl
push eax
push ebp
lea ecx, [esp + 0x48]
call fcn.0040a300
cmp eax, ebp
jne 0x4399e8
mov eax, dword [0x48d1fc]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x4399f0
jmp 0x439638
mov ebx, dword [esp + 0x2c]
cmp ebx, dword [ecx + 0xc]
jne 0x4399cc
push 0
push str.SE_SogouExplorerFrame
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x4399cc
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.SE_TuotuoRebar
mov ecx, eax
push 0
push ecx
call edi
push 0
push str.SE_TuotuoAddressBar
push 0
push eax
call edi
push 0
push str.SE_TuotuoAddressBarComboBox
push 0
push eax
call edi
push 0
push str.SE_TuotuoAddressBarEditCtrl
push 0
push eax
call edi
mov edx, eax
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x5c]
test edx, edx
rep stosd dword es:[edi], eax
je 0x4396c4
lea eax, [esp + 0x58]
lea ecx, [esp + 0x5c]
push eax
push 0x3e8
push 0xa
push ecx
push 0x1fe
push 0xd
push edx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.00405c50
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00405aa0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x464], 1
test eax, eax
jbe 0x4397ea
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x439715
mov eax, 0x46c630
push str.se:home
push eax
call fcn.004439d0
add esp, 8
test eax, eax
jne 0x439748
mov edi, str.http:__se.123.sogou.com_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.http:__se.123.sogou.com_
lea ecx, [esp + 0x20]
call fcn.00405aa0
jmp 0x4397ea
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x439755
mov eax, 0x46c630
push str.se:search
push eax
call fcn.004439d0
add esp, 8
test eax, eax
jne 0x439785
mov edi, str.http:__se.search.sogou.com_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.http:__se.search.sogou.com_
lea ecx, [esp + 0x20]
call fcn.00405aa0
jmp 0x4397ea
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x439792
mov eax, 0x46c630
push str.se:123.sogou.com
push eax
call fcn.004439d0
add esp, 8
test eax, eax
jne 0x4397ea
mov edi, str.http:__se.123.sogou.com_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00407310
test al, al
je 0x4397ea
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, str.http:__se.123.sogou.com_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004072f0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edi, 0x4868b4
or ecx, 0xffffffff
mov ebp, dword [eax + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [ebp + 8]
push 0x4868b4
push ecx
push eax
mov ecx, ebp
call fcn.0040a300
test eax, eax
je 0x439914
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x439827
mov eax, 0x46c630
mov edx, dword [esp + 0x20]
mov ecx, ebp
push edx
push eax
mov eax, dword [ebp + 8]
push eax
push 0
call fcn.0040a300
test eax, eax
je 0x4399ab
push ebp
call fcn.0041f680
mov cl, byte [ebp]
add esp, 4
mov byte [esp + 0x48], cl
lea ecx, [esp + 0x48]
push 0
call fcn.00405c50
mov edx, dword [0x46c634]
lea ecx, [esp + 0x48]
push edx
push 0
push ebp
call fcn.004058a0
mov ecx, ebp
mov byte [esp + 0x464], 2
call fcn.0041d110
mov eax, dword [0x481a70]
mov cl, byte [esp + 0x48]
mov dword [ebp + 0x30], eax
mov edx, dword [0x481a70]
sub esp, 0x10
inc edx
mov edi, esp
mov dword [0x481a70], edx
mov dword [esp + 0x38], esp
push 0
mov byte [edi], cl
mov ecx, edi
call fcn.00405c50
mov edx, dword [0x46c634]
lea eax, [esp + 0x58]
push edx
push 0
push eax
mov ecx, edi
call fcn.004058a0
sub esp, 0x10
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x488], 3
call fcn.00404d80
mov ecx, ebp
mov byte [esp + 0x484], 2
call fcn.0041c580
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x38], ecx
mov ecx, ebp
call fcn.0041cfa0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x468], 1
call fcn.00405c50
jmp 0x4399ab
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x40], esp
push 0
mov ecx, ebx
mov byte [ebx], dl
call fcn.00405c50
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x40], edi
call fcn.00407310
test al, al
je 0x439977
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
mov esi, 0x4868b4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
mov ecx, ebx
call fcn.004072f0
mov esi, dword [esp + 0x44]
sub esp, 0x10
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x488], 4
call fcn.00404d80
mov ecx, ebp
mov byte [esp + 0x484], 1
call fcn.0041c160
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x38], ecx
mov edx, dword [ebp + 0x38]
push ebp
mov ecx, esi
mov dword [esi + 4], edx
call fcn.00439530
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x468], 0
call fcn.00405c50
lea ecx, [esp + 0x14]
call fcn.0043a690
mov ecx, dword [esp + 0x14]
mov eax, dword [0x48d1fc]
cmp ecx, eax
jne 0x439634
jmp 0x4399f0
mov dword [esi + 4], ebp
mov eax, dword [0x48d1fc]
mov esi, dword [eax]
cmp esi, eax
je 0x439ac6
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
test eax, eax
je 0x439a53
push eax
call ebx
cmp eax, 1
jne 0x439a53
mov eax, dword [esi + 8]
mov ecx, dword [0x48d214]
cmp eax, ecx
je 0x439a38
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
je 0x439aba
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x439a2b
jmp 0x439aba
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x439a4a
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x439a40
cmp dword [esi + 8], eax
je 0x439aba
mov esi, eax
jmp 0x439aba
push edi
call fcn.0041f680
mov eax, dword [esi + 8]
mov ecx, dword [0x48d214]
add esp, 4
cmp eax, ecx
mov edx, esi
je 0x439a7d
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
je 0x439a96
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x439a73
jmp 0x439a96
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x439a8f
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x439a85
cmp dword [esi + 8], eax
je 0x439a96
mov esi, eax
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0x48d1f8
call fcn.00439eb0
test edi, edi
je 0x439aba
mov ecx, edi
call fcn.0041c0c0
push edi
call fcn.00460f37
add esp, 4
cmp esi, dword [0x48d1fc]
jne 0x439a00
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x439af7
mov al, byte [ecx - 1]
test al, al
je 0x439ae0
cmp al, 0xff
je 0x439ae0
dec al
mov byte [ecx - 1], al
jmp 0x439af7
dec ecx
push ecx
call fcn.00460f37
add esp, 4
jmp 0x439af7
push 0x1770
call dword [0x46c208]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x458
ret