Function at 0x416100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4208ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
cmp eax, 0x3ee
push edi
mov dword [esp + 0x18], ecx
jg 0x4161d9
je 0x41617e
sub eax, 0x65
je 0x41616c
sub eax, 4
je 0x41615a
dec eax
jne 0x416a86
push str.http:__360safe.qihoo.com_host_hosttj.html
call fcn.004109c0
add esp, 4
jmp 0x416a86
push str.http:__update.360safe.com_host_host.txt
call fcn.004109c0
add esp, 4
jmp 0x416a86
push str.http:__360safe.qihoo.com_host_hostzz.html
call fcn.004109c0
add esp, 4
jmp 0x416a86
mov eax, dword [ecx + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00404690
push 0
push 0
push 0xf0
push esi
mov dword [esp + 0x244], 0x11
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
cmp eax, 1
sete cl
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405bf0
mov dword [esp + 0x234], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x416a81
sub eax, 0x3ef
je 0x416a2b
sub eax, 4
je 0x416586
dec eax
jne 0x416a86
mov edx, dword [ecx + 0x1fc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
push esi
push esi
push 0x1004
push edx
call ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x24], esi
mov byte [esp + 0x1c], cl
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], esi
lea ebp, [eax - 1]
mov dword [esp + 0x234], 0xb
cmp ebp, esi
jl 0x4162ce
lea edx, [esp + 0x58]
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x5c]
push edx
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push 0x1005
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 4
mov ecx, dword [eax + 0x1fc]
push ecx
call ebx
mov ecx, dword [esp + 0x78]
neg eax
sbb eax, eax
and eax, ecx
mov esi, eax
je 0x4162b3
cmp dword [esi], 0
je 0x4162b3
mov edx, dword [esp + 0x24]
lea edi, [esi + 4]
push edi
push edx
lea ecx, [esp + 0x24]
call fcn.004076a0
mov ecx, edi
call fcn.004037a0
push esi
call fcn.00419d30
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [eax + 0x1fc]
push 0
push ebp
push 0x1008
push ecx
call ebx
dec ebp
jns 0x416238
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp ecx, esi
je 0x4162ce
mov edx, dword [esp + 0x24]
sub edx, ecx
test edx, 0xfffffffc
jne 0x4162e4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x234], 0xffffffff
push eax
push ecx
jmp 0x41656b
mov edx, dword [0x42505c]
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 0xc
call fcn.00404690
mov al, byte [esp + 0x13]
mov dword [esp + 0x44], esi
mov byte [esp + 0x40], al
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov cl, byte [esp + 0x13]
mov dword [esp + 0x34], esi
mov byte [esp + 0x30], cl
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea edx, [esp + 0x30]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0xf
call fcn.00406000
mov eax, dword [esp + 0x44]
cmp eax, esi
jne 0x41634e
xor edx, edx
jmp 0x416357
mov edx, dword [esp + 0x48]
sub edx, eax
sar edx, 2
mov ecx, dword [esp + 0x34]
cmp ecx, esi
jne 0x416363
xor eax, eax
jmp 0x41636c
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp edx, eax
jne 0x4164b8
push ecx
mov ecx, dword [0x42505c]
mov ebx, esp
mov edx, 0x428120
test edx, edx
mov dword [esp + 0x1c], esp
mov dword [ebx], ecx
je 0x4163d4
mov eax, edx
shr eax, 0x10
jne 0x4163a4
xor eax, eax
mov ecx, edx
mov ax, cx
mov ecx, ebx
push eax
call fcn.00408250
jmp 0x4163d4
push 0x428120
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x4163d4
push esi
mov ecx, ebx
call fcn.004037d0
test eax, eax
je 0x4163d4
mov edx, dword [ebx]
push esi
inc esi
push 0x428120
push esi
push edx
call fcn.00407120
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.004064f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
xor ebx, ebx
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4164b4
mov eax, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x4164b4
xor esi, esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x416432
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x416432
mov eax, dword [eax + esi*4]
mov ecx, dword [ecx + ebx*4]
push eax
push ecx
call edi
test eax, eax
je 0x4164ae
mov ecx, dword [esp + 0x44]
inc esi
jmp 0x416404
push ebx
lea ecx, [esp + 0x34]
call fcn.004071f0
push ecx
mov ecx, dword [eax]
mov dword [esp + 0x1c], esp
mov ebp, esp
mov edx, dword [ecx - 0xc]
test edx, edx
jl 0x41645b
mov dword [ebp], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41647e
mov ecx, dword [0x42505c]
mov dword [ebp], ecx
mov esi, dword [eax]
test esi, esi
jne 0x41646e
xor eax, eax
jmp 0x416475
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
mov ecx, ebp
call fcn.004085c0
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x23c], 0x10
call fcn.004071f0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.00403200
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 0xf
call fcn.004063c0
inc ebx
jmp 0x4163e5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov byte [esp + 0x234], 0xe
push edx
push ecx
lea ecx, [esp + 0x38]
call fcn.00407a90
mov eax, dword [esp + 0x34]
push eax
call fcn.00419d30
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add esp, 4
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
push ecx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], esi
mov byte [esp + 0x23c], 0xd
call fcn.00407a90
mov eax, dword [esp + 0x44]
push eax
call fcn.00419d30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov byte [esp + 0x234], 0xc
call fcn.004046c0
mov esi, dword [esp + 0x2c]
mov eax, dword [0x425060]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x416556
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x416556
push esi
call fcn.00419d30
add esp, 4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
mov dword [esp + 0x238], 0xffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.00407a90
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00419d30
add esp, 4
jmp 0x416a86
lea ecx, [esp + 0x8c]
call fcn.00416f80
xor ebx, ebx
lea ecx, [esp + 0x1a0]
push ebx
push 8
mov dword [esp + 0x23c], ebx
call fcn.00401000
push ebx
push 8
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x23c], 1
call fcn.00401000
mov edx, dword [0x42505c]
mov dword [esp + 0x8c], 0x4214e8
mov dword [esp + 0x228], edx
mov dword [esp + 0x234], 2
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x94]
push eax
push ecx
push 0x428128
call fcn.0040a9b0
mov eax, dword [0x428130]
push ebx
push 0x40e1a0
push esi
push 0xd3
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x4169d3
mov edx, dword [esp + 0x228]
cmp dword [edx - 8], ebx
jle 0x4169d3
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
call fcn.00404690
mov al, byte [esp + 0x13]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1c], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 5
call fcn.00406000
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x416693
xor ecx, ecx
jmp 0x41669c
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
mov edx, dword [esp + 0x34]
cmp edx, ebx
jne 0x4166a8
xor eax, eax
jmp 0x4166b1
mov eax, dword [esp + 0x38]
sub eax, edx
sar eax, 2
cmp ecx, eax
jne 0x41695a
push ecx
mov ecx, dword [0x42505c]
mov edi, esp
mov edx, 0x428120
test edx, edx
mov dword [esp + 0x54], esp
mov dword [edi], ecx
je 0x416719
mov eax, edx
shr eax, 0x10
jne 0x4166e9
xor eax, eax
mov ecx, edx
mov ax, cx
mov ecx, edi
push eax
call fcn.00408250
jmp 0x416719
push 0x428120
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x416719
push esi
mov ecx, edi
call fcn.004037d0
test eax, eax
je 0x416719
mov edx, dword [edi]
push esi
inc esi
push 0x428120
push esi
push edx
call fcn.00407120
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.004064f0
xor ebp, ebp
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4167dd
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x4167dd
mov edx, dword [esp + 0x228]
mov eax, dword [eax + ebp*4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41675f
mov dword [esp + 0x2c], 1
push ebp
lea ecx, [esp + 0x34]
call fcn.004071f0
push ecx
mov ecx, dword [eax]
mov dword [esp + 0x54], esp
mov edi, esp
cmp dword [ecx - 0xc], ebx
jl 0x416785
mov dword [edi], ecx
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4167a7
mov ecx, dword [0x42505c]
mov dword [edi], ecx
mov esi, dword [eax]
cmp esi, ebx
jne 0x416797
xor eax, eax
jmp 0x41679e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
mov ecx, edi
call fcn.004085c0
push ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 6
call fcn.004071f0
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00403200
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 5
call fcn.004063c0
inc ebp
jmp 0x416724
cmp dword [esp + 0x2c], ebx
jne 0x41695a
mov edx, dword [0x42505c]
push ecx
mov edi, esp
mov eax, 0x428120
test eax, eax
mov dword [esp + 0x58], esp
mov dword [edi], edx
je 0x41684a
mov ecx, eax
shr ecx, 0x10
jne 0x41681a
xor eax, eax
mov edx, 0x428120
mov ax, dx
mov ecx, edi
push eax
call fcn.00408250
jmp 0x41684a
push 0x428120
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x41684a
push esi
mov ecx, edi
call fcn.004037d0
test eax, eax
je 0x41684a
mov eax, dword [edi]
push esi
inc esi
push 0x428120
push esi
push eax
call fcn.00407120
add esp, 0x10
push ecx
lea edx, [esp + 0x230]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x240], 7
call fcn.00403200
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], 5
call fcn.004063c0
push 8
call fcn.0041a14f
add esp, 4
cmp eax, ebx
je 0x416890
mov ecx, dword [0x42505c]
mov ebx, eax
mov dword [eax + 4], ecx
lea ebp, [ebx + 4]
mov dword [ebx], 0
mov ecx, dword [esp + 0x228]
mov eax, dword [ebp]
cmp eax, ecx
je 0x4168f2
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x4168bb
mov edx, dword [0x425060]
add eax, 0xfffffff4
cmp eax, edx
jne 0x4168c2
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x4168d0
mov edx, dword [ecx - 8]
push ecx
push edx
mov ecx, ebp
call fcn.004085c0
jmp 0x4168f2
mov ecx, ebp
call fcn.00403830
mov eax, dword [esp + 0x228]
mov dword [ebp], eax
mov ecx, dword [esp + 0x228]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x1004
mov eax, dword [edx + 0x1fc]
lea esi, [edx + 0x1fc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push 0x428120
push eax
push 1
mov ecx, esi
call fcn.004173f0
mov ebp, dword [ebp]
push 0
push 0
push 0
push 0
push ebp
mov edi, eax
push 1
push 1
push edi
mov ecx, esi
call fcn.00417360
push ebx
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call fcn.00417360
xor ebx, ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x23c], 4
call fcn.00407a90
mov eax, dword [esp + 0x34]
push eax
call fcn.00419d30
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 3
call fcn.00407a90
mov eax, dword [esp + 0x20]
push eax
call fcn.00419d30
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x234], 2
call fcn.004046c0
lea ecx, [esp + 0x228]
mov dword [esp + 0x234], 0xa
call fcn.004037a0
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x234], 9
call fcn.00402290
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x234], 8
call fcn.00402290
lea ecx, [esp + 0x8c]
mov dword [esp + 0x234], 0xffffffff
call fcn.00416da0
jmp 0x416a86
mov ecx, dword [ecx + 4]
push 0x3ef
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00404690
push 0
push 0
push 0xf0
push esi
mov dword [esp + 0x244], 0x12
call dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
cmp eax, 1
sete dl
push edx
lea ecx, [esp + 0x30]
call fcn.00405d00
mov dword [esp + 0x234], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004046c0
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x228
ret 0xc