Function at 0x415740
Capabilities:
Reference cloudflare dns server

Disassembly:
push 0xffffffffffffffff
push 0x442958
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x45ea14]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45ea14]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
push 2
mov esi, ecx
mov dword [esp + 0x28], eax
call fcn.004124f0
mov ecx, eax
call fcn.00410330
mov ebp, 1
push ebp
push 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
xor ebx, ebx
push ebx
mov edi, 7
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4495c0
mov word [ecx + 4], dx
call fcn.004036d1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push ebx
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4495c0
mov dword [esp + 0x124], ebx
mov word [ecx + 4], ax
call fcn.004036d1
mov ecx, esi
mov dword [esp + 0x11c], 0xffffffff
call fcn.00413450
xor ecx, ecx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], cx
lea edx, [esp + 0x98]
push edx
push str.Path
push str.SOFTWAREThunder_NetworkXmp
push 0x80000002
mov dword [esp + 0xec], ebp
call fcn.0041dc00
mov eax, dword [esp + 0xac]
add esp, 0x10
cmp dword [esp + 0xb0], 8
jae 0x415854
lea eax, [esp + 0x9c]
push 0x4495c0
push eax
call dword [0x4492e8]
test eax, eax
je 0x4158fb
xor eax, eax
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], ax
lea ecx, [esp + 0xb4]
push ecx
push str.version
push str.SOFTWAREThunder_NetworkXmp
push 0x80000002
mov byte [esp + 0xec], 2
call fcn.0041dc00
mov eax, dword [esp + 0xc8]
add esp, 0x10
cmp dword [esp + 0xcc], 8
jae 0x4158bf
lea eax, [esp + 0xb8]
push str.1.0.0.1
push eax
call dword [0x4492e8]
test eax, eax
jl 0x4158d1
xor ebp, ebp
cmp dword [esp + 0xcc], 8
mov byte [esp + 0xdc], 1
jb 0x4158f3
mov edx, dword [esp + 0xb8]
push edx
call fcn.0042c02e
add esp, 4
cmp ebp, ebx
je 0x415a0f
push 0x20
xor eax, eax
push str._XLInstallProgramXMPBoot.exe
lea ecx, [esp + 0xbc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], ax
call fcn.004036d1
lea ecx, [esp + 0xb4]
push ecx
mov byte [esp + 0xe0], 3
call fcn.004124f0
mov ecx, eax
call fcn.004112a0
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x41595e
lea eax, [esp + 0xb8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0041c6b0
add esp, 8
cmp dword [esp + 0x18], ebx
je 0x4159ed
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x4495c0
push str._Uninstall
push str._XLInstallProgramXMPBoot.exe
mov dword [esp + 0x30], ebx
call fcn.004124f0
mov ecx, eax
call fcn.00411ae0
mov ebp, eax
cmp dword [esp + 0x1c], ebx
je 0x4159ad
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00415620
push ebp
push 0xa
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str._Uninstall
call fcn.00402aa2
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x44de48
mov byte [esp + 0x120], 4
call fcn.00402aa2
mov ecx, esi
mov byte [esp + 0x11c], 3
call fcn.00413450
cmp dword [esp + 0xcc], 8
mov byte [esp + 0xdc], 1
jb 0x415a0f
mov edx, dword [esp + 0xb8]
push edx
call fcn.0042c02e
add esp, 4
lea eax, [esp + 0x98]
push eax
push str.UninstallPath
push str.SOFTWAREThunder_NetworkThunder_BHO_Platform
push 0x80000002
mov dword [esp + 0x38], ebx
call fcn.0041dc00
mov eax, dword [esp + 0xac]
add esp, 0x10
cmp dword [esp + 0xb0], 8
jae 0x415a4a
lea eax, [esp + 0x9c]
mov ebp, dword [0x4492e8]
push 0x4495c0
push eax
call ebp
test eax, eax
je 0x415ac1
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x415a74
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0041c6b0
add esp, 8
cmp dword [esp + 0x28], ebx
je 0x415acb
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], ebx
jae 0x415aa4
lea eax, [esp + 0x9c]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x4495c0
push str._u__S
push eax
call fcn.004124f0
mov ecx, eax
call fcn.00411ae0
cmp dword [esp + 0x28], ebx
jne 0x415b76
lea eax, [esp + 0x98]
push eax
push str.UninstallString
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallThunder_BHO_Platform
push 0x80000002
call fcn.0041dc00
mov eax, dword [esp + 0xac]
add esp, 0x10
cmp dword [esp + 0xb0], 8
jae 0x415b02
lea eax, [esp + 0x9c]
push 0x4495c0
push eax
call ebp
test eax, eax
je 0x415b76
mov eax, dword [esp + 0x9c]
mov ebp, 8
cmp dword [esp + 0xb0], ebp
jae 0x415b2a
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.0041c6b0
add esp, 8
cmp dword [esp + 0x28], ebx
je 0x415b76
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], ebx
cmp dword [esp + 0xb0], ebp
jae 0x415b59
lea eax, [esp + 0x9c]
lea edx, [esp + 0x14]
push edx
push ebx
push 0x4495c0
push str._u__S
push eax
call fcn.004124f0
mov ecx, eax
call fcn.00411ae0
call fcn.0040fa20
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
cmp eax, ebx
jbe 0x415cfa
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x1c]
push eax
push ecx
mov edi, 8
mov dword [esp + 0x24], ebx
call fcn.0040fa30
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, ebx
je 0x415cdd
mov dword [esp + 0x30], ebx
cmp dword [eax + 0x50], edi
jb 0x415bc2
mov ecx, dword [eax + 0x3c]
jmp 0x415bc5
lea ecx, [eax + 0x3c]
cmp dword [eax + 0x18], edi
jb 0x415bcf
mov eax, dword [eax + 4]
jmp 0x415bd2
add eax, 4
lea edx, [esp + 0x30]
push edx
push 1
push 0x4495c0
push ecx
push eax
call fcn.004124f0
mov ecx, eax
call fcn.00411ae0
mov ebp, eax
cmp dword [esp + 0x30], ebx
je 0x415c02
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
call fcn.00415620
mov eax, dword [esp + 0x18]
xor edx, edx
div dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0xb8]
push 0x44dd08
push edx
mov edi, eax
add edi, 0xa
call fcn.00413ae0
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x50], 8
push ebp
mov byte [esp + 0xe0], 5
push edi
jb 0x415c44
mov edx, dword [eax + 0x3c]
jmp 0x415c47
lea edx, [eax + 0x3c]
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
mov eax, edx
mov dword [esp + 0x50], esp
lea ebp, [eax + 2]
mov di, word [eax]
add eax, 2
cmp di, bx
jne 0x415c65
sub eax, ebp
sar eax, 1
push eax
push edx
call fcn.004036d1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xfc]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x128], 6
mov word [ecx + 4], dx
call fcn.00403085
mov ecx, esi
mov byte [esp + 0x11c], 5
call fcn.00413450
cmp dword [esp + 0xcc], 8
mov byte [esp + 0xdc], 1
jb 0x415cdd
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0042c02e
add esp, 4
mov ecx, dword [esp + 0x20]
add dword [esp + 0x18], 0x28
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x14]
jb 0x415b91
mov edi, 7
cmp dword [esi + 0x34], ebx
je 0x415d9a
lea edx, [esp + 0x18]
push edx
push ebx
push 0x4495c0
push 0x449754
push str._XLInstallProgramLimitingDriver.exe
mov dword [esp + 0x2c], ebx
call fcn.004124f0
mov ecx, eax
call fcn.00411ae0
mov ebp, eax
cmp dword [esp + 0x18], ebx
je 0x415d3e
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
call fcn.00415620
push ebp
push 0x32
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 1
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x449754
mov word [ecx + 4], dx
call fcn.004036d1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x2a
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x44dc60
mov byte [esp + 0x124], 7
mov word [ecx + 4], ax
call fcn.004036d1
mov ecx, esi
mov byte [esp + 0x11c], 1
call fcn.00413450
push str._TempTMiniPackage
call fcn.004124f0
mov ecx, eax
call fcn.00411dd0
push eax
push 0x32
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebx
mov ebp, 7
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4495c0
mov word [ecx + 4], dx
call fcn.004036d1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x1a
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x44dbf8
mov byte [esp + 0x124], 8
mov word [ecx + 4], ax
call fcn.004036d1
mov ecx, esi
mov byte [esp + 0x11c], 1
call fcn.00413450
push 1
push 1
push 0x4495c0
push str._TempTMiniPackageMiniOLInstall.exe
push str._XLInstallProgramMiniThunderOnlineInstall.exe
lea ecx, [esp + 0x50]
call fcn.00413cf0
push eax
mov byte [esp + 0xe0], 9
call fcn.004124f0
mov ecx, eax
call fcn.00411960
lea ecx, [esp + 0x3c]
mov edi, eax
mov byte [esp + 0xdc], 1
call fcn.00410820
push edi
push 0x37
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebx
xor edx, edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4495c0
mov word [ecx + 4], dx
call fcn.004036d1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0x36
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x44dad0
mov byte [esp + 0x124], 0xa
mov word [ecx + 4], ax
call fcn.004036d1
mov ecx, esi
mov byte [esp + 0x11c], 1
call fcn.00413450
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x28]
sar ecx, 2
test ecx, ecx
jbe 0x415fc7
jmp 0x415ec0
mov edi, dword [esi + 0x2c]
sub edi, dword [esi + 0x28]
sar edi, 2
mov dword [esp + 0x24], edi
cmp edi, 0x40
jbe 0x415edb
mov edi, 0x40
mov dword [esp + 0x24], edi
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042b1cc
add esp, 4
cmp edi, ebx
mov ebp, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebx
jle 0x415fa1
mov ebp, dword [esi + 0x2c]
cmp dword [esi + 0x28], ebp
jbe 0x415f15
call fcn.0042c67f
mov edi, dword [esi + 0x1c]
mov ebx, edi
mov dword [esp + 0x38], ebp
test edi, edi
jne 0x415f39
call fcn.0042c67f
xor eax, eax
lea ecx, [ebp - 4]
cmp ecx, dword [eax + 0x10]
ja 0x415f44
test edi, edi
je 0x415f3d
mov edi, dword [edi]
jmp 0x415f3f
mov eax, dword [edi]
jmp 0x415f29
xor edi, edi
cmp ecx, dword [edi + 0xc]
jae 0x415f49
call fcn.0042c67f
lea edi, [ebp - 4]
test ebx, ebx
jne 0x41606d
call fcn.0042c67f
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x415f65
call fcn.0042c67f
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x2c]
mov edx, eax
sub edx, dword [esi + 0x28]
test edx, 0xfffffffc
je 0x415f88
add eax, 0xfffffffc
mov dword [esi + 0x2c], eax
inc ecx
cmp ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
jl 0x415f08
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
xor ebx, ebx
push 0xffffffffffffffff
push 1
push ebp
push edi
call dword [0x4490c8]
push ebp
call fcn.0042c456
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
add esp, 4
sar eax, 2
test eax, eax
ja 0x415ec0
push 1
push 0x46
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebx
mov edi, 7
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4495c0
mov word [ecx + 4], dx
call fcn.004036d1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push ebx
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4495c0
mov byte [esp + 0x124], 0xb
mov word [ecx + 4], ax
call fcn.004036d1
mov ecx, esi
mov byte [esp + 0x11c], 1
call fcn.00413450
cmp dword [esp + 0xb0], 8
jb 0x416041
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0042c02e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.0042c2f3
add esp, 0xcc
ret 4
mov eax, dword [ebx]
jmp 0x415f5b