Function at 0x426840
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1cfc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x18c8c
call fcn.0052e520
mov eax, dword [0x67e3b0]
xor eax, esp
mov dword [esp + 0x18c88], eax
push ebx
push esi
push edi
mov eax, dword [0x67e3b0]
xor eax, esp
push eax
lea eax, [esp + 0x18ca0]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x68a560], ebx
jne 0x4268a2
push 0x6670a4
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], ebx
call fcn.0052d54e
mov edi, 0xf
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
push 0x68a4a8
lea ecx, [esp + 0x1a4]
push str.NeXAS_AutoUpdate_for
push ecx
mov dword [esp + 0x18cb4], ebx
call fcn.0041cc40
add esp, 0xc
push 0x6471dc
push eax
lea edx, [esp + 0x110]
push edx
mov byte [esp + 0x18cb4], 1
call fcn.0041bfc0
add esp, 0xc
push 0x68a4e0
push eax
lea eax, [esp + 0x148]
push eax
mov byte [esp + 0x18cb4], 2
call fcn.0041c8c0
add esp, 0xc
push str.___Checker
push eax
lea ecx, [esp + 0x12c]
push ecx
mov byte [esp + 0x18cb4], 3
call fcn.0041bfc0
add esp, 0xc
mov byte [esp + 0x18ca8], 4
cmp dword [eax + 0x14], 0x10
jb 0x426949
mov ecx, dword [eax]
jmp 0x42694b
mov ecx, eax
mov eax, ecx
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426966
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.00405440
cmp dword [esp + 0x100], 0x10
mov eax, dword [esp + 0xec]
mov dword [esp + method.CWinInetHttp.virtual_0], vtable.CWinInetHttp.0
mov dword [esp + 0x164], ebx
mov dword [esp + 0x17c], edi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], 0
jae 0x4269bd
lea eax, [esp + 0xec]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x160], eax
mov esi, 0x10
cmp dword [esp + 0x100], esi
jb 0x4269ed
mov edx, dword [esp + 0xec]
push edx
call fcn.0052d217
add esp, 4
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], 0
cmp dword [esp + 0x138], esi
jb 0x426a1c
mov eax, dword [esp + 0x124]
push eax
call fcn.0052d217
add esp, 4
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], 0
cmp dword [esp + 0x154], esi
jb 0x426a4b
mov ecx, dword [esp + 0x140]
push ecx
call fcn.0052d217
add esp, 4
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], 0
cmp dword [esp + 0x11c], esi
jb 0x426a7a
mov edx, dword [esp + 0x108]
push edx
call fcn.0052d217
add esp, 4
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], 0
mov byte [esp + 0x18ca8], 9
cmp dword [esp + 0x1b4], esi
jb 0x426ab1
mov eax, dword [esp + 0x1a0]
push eax
call fcn.0052d217
add esp, 4
mov eax, 0x68a550
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], 0
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x160]
cmp ecx, ebx
je 0x426bad
cmp dword [eax + 0x14], esi
jb 0x426ae6
mov eax, dword [eax]
push ebx
push 0x40000000
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [esp + 0x164], edi
cmp edi, ebx
je 0x426ba4
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000013
push edi
mov dword [esp + 0x34], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [esp + 0x1c]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x426ba4
lea ecx, [esp + 0x18]
push ecx
push 0x3ff
lea edx, [esp + 0x1fc]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x426b57
mov esi, dword [esp + 0x18]
jmp 0x426b5a
or esi, 0xffffffff
lea eax, [esp + 0x1f4]
mov byte [esp + esi + 0x1f4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426b70
sub eax, edx
push eax
lea eax, [esp + 0x1f8]
push eax
lea ecx, [esp + 0xd8]
call fcn.00419290
cmp esi, ebx
ja 0x426b34
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x426ba4
mov dword [esp + 0x164], ebx
mov eax, dword [esp + 0x14]
mov esi, 0x10
cmp dword [esp + 0xe0], ebx
jne 0x426bed
add eax, 0x1c
mov dword [esp + 0x14], eax
cmp eax, 0x68a630
jl 0x426ad0
push ebx
push 0x6471f8
push 0x64720c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x6670a4
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebx
call fcn.0052d54e
push 2
lea eax, [esp + 0xd4]
call fcn.004280d0
mov edi, eax
push edi
xor esi, esi
push esi
lea edx, [esp + 0x1c4]
push edx
lea ecx, [esp + 0xdc]
call fcn.00405400
mov ebx, vtable.CVersionString.0
mov dword [esp + 0x140], ebx
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], esi
lea ecx, [esp + 0x140]
push ecx
mov esi, eax
mov byte [esp + 0x18cac], 0xb
call fcn.00428b50
mov byte [esp + 0x18ca8], 0xd
cmp dword [esp + 0x1d0], 0x10
jb 0x426c6f
mov edx, dword [esp + 0x1bc]
push edx
call fcn.0052d217
add esp, 4
xor esi, esi
push edi
push esi
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1d8], 0xf
mov dword [esp + 0x1d4], esi
mov byte [esp + 0x1c4], 0
call fcn.00401570
push 2
lea eax, [esp + 0xd4]
call fcn.00428140
push eax
push esi
lea ecx, [esp + 0xd8]
call fcn.00401570
cmp byte [esp + 0x144], 0
jne 0x426ce4
push esi
push 0x6471f8
push 0x64720c
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x6670a4
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], esi
call fcn.0052d54e
xor edi, edi
mov dword [esp + 0x108], ebx
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], edi
lea ecx, [esp + 0x108]
push ecx
mov esi, 0x68a4e0
mov byte [esp + 0x18cac], 0xe
call fcn.00428b50
lea eax, [esp + 0x140]
lea ecx, [esp + 0x108]
mov byte [esp + 0x18ca8], 0xd
call fcn.004265b0
test al, al
mov eax, dword [esp + 0x110]
sete bl
cmp eax, edi
je 0x426d50
push eax
call fcn.0052d217
add esp, 4
test bl, bl
je 0x426dad
cmp byte [ebp + 0x18], 0
je 0x426d6c
push edi
push 0x6471f8
push 0x647238
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x148]
cmp eax, edi
je 0x426d80
push eax
call fcn.0052d217
add esp, 4
lea ecx, [esp + 0x15c]
call fcn.004291a0
cmp dword [esp + 0xe4], 0x10
jb 0x426da6
mov edx, dword [esp + 0xd0]
push edx
call fcn.0052d217
add esp, 4
xor al, al
jmp 0x42760e
xor ebx, ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
lea edi, [esp + 0x108]
mov byte [esp + 0x18ca8], 0xf
call fcn.004266a0
lea eax, [esp + 0x24]
push eax
call fcn.004276a0
mov byte [esp + 0x18ca8], 0x10
mov ecx, dword [esp + 0x10c]
mov esi, dword [esp + 0x108]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x426ee5
mov dword [esp + 0x14], esi
jmp 0x426e20
mov ecx, dword [esp + 0x14]
push 0x684520
push ecx
lea edx, [esp + 0x18c]
push edx
call fcn.00402dd0
add esp, 0xc
mov byte [esp + 0x18ca8], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x426e4a
mov eax, dword [eax]
push eax
lea esi, [esp + 0x2c]
call fcn.004281b0
test eax, eax
jne 0x426e75
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x30]
lea ecx, [esp + ecx + 0x24]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x426e8e
or eax, 4
jmp 0x426e8e
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x5c]
lea ecx, [esp + ecx + 0x24]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.00419030
mov byte [esp + 0x18ca8], 0x10
cmp dword [esp + 0x198], 0x10
jb 0x426eb8
mov edx, dword [esp + 0x184]
push edx
call fcn.0052d217
add esp, 4
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov ecx, dword [esp + eax + 0x30]
lea eax, [esp + eax + 0x24]
and cl, 6
movsx edx, cl
neg edx
sbb edx, edx
not edx
test eax, edx
jne 0x426f10
add dword [esp + 0x14], 0x1c
inc ebx
cmp ebx, edi
jb 0x426e20
push 0
push 0x6471f8
push 0x647250
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x6670a4
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
call fcn.0052d54e
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov byte [esp + 0x18ca8], 0x12
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x4274d2
mov edx, dword [esp + 0xe4]
mov esi, dword [esp + 0xd0]
mov ecx, esi
cmp edx, 0x10
jae 0x426f61
lea ecx, [esp + 0xd0]
lea edi, [ecx + eax]
cmp edx, 0x10
jae 0x426f70
lea esi, [esp + 0xd0]
cmp esi, edi
jae 0x426f94
movsx ecx, byte [esi]
push 2
push ecx
push 0x6461b4
call fcn.0052e630
add esp, 0xc
test eax, eax
jne 0x427015
inc esi
cmp esi, edi
jb 0x426f74
or esi, 0xffffffff
push esi
push 0
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x20], esi
call fcn.00405400
mov byte [esp + 0x18ca8], 0x13
mov eax, dword [esp + 0x134]
push 0xffffffffffffffff
add eax, 0xfffffffc
push eax
lea ecx, [esp + 0x18c]
push ecx
lea ecx, [esp + 0x130]
call fcn.00405400
mov esi, dword [eax + 0x10]
mov ecx, esi
cmp ecx, esi
jae 0x426fe4
mov ecx, esi
cmp esi, 4
jb 0x426ff0
mov ecx, 4
cmp dword [eax + 0x14], 0x10
jb 0x426ff8
mov eax, dword [eax]
push ecx
push str..txt
push eax
call fcn.00404f50
add esp, 0xc
test eax, eax
jne 0x42703e
cmp esi, 4
jae 0x427034
or eax, 0xffffffff
jmp 0x42703c
cmp dword [esp + 0xe4], 0x10
mov eax, dword [esp + 0xd0]
jae 0x42702d
lea eax, [esp + 0xd0]
sub esi, eax
jmp 0x426f97
xor eax, eax
cmp esi, 4
setne al
test eax, eax
sete bl
mov byte [esp + 0x18ca8], 0x13
cmp dword [esp + 0x198], 0x10
jb 0x427063
mov edx, dword [esp + 0x184]
push edx
call fcn.0052d217
add esp, 4
test bl, bl
je 0x42734c
cmp dword [esp + 0xfc], 0
jne 0x4273b2
cmp dword [esp + 0x160], 0
je 0x4273b2
cmp dword [esp + 0x138], 0x10
mov eax, dword [esp + 0x124]
jae 0x42709f
lea eax, [esp + 0x124]
push 0
push 0x40000000
push 0
push 0
push eax
mov eax, dword [esp + 0x174]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [esp + 0x164], eax
test eax, eax
je 0x4273b2
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000013
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [esp + 0x1c]
cmp eax, 0xc8
jl 0x4273b2
cmp eax, 0x12c
jge 0x4273b2
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [esp + 0x164]
nop
lea ecx, [esp + 0x20]
push ecx
push 0x1869f
lea edx, [esp + 0x5fc]
push edx
push edi
call ebx
test eax, eax
je 0x42712f
mov esi, dword [esp + 0x20]
jmp 0x427132
or esi, 0xffffffff
lea eax, [esp + 0x5f4]
mov byte [esp + esi + 0x5f4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427144
sub eax, edx
push eax
lea eax, [esp + 0x5f8]
push eax
lea ecx, [esp + 0xf4]
call fcn.00419290
test esi, esi
jne 0x427110
cmp dword [esp + 0xfc], esi
je 0x42732d
push 1
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1c], 0xa
call fcn.00404fd0
mov esi, eax
cmp esi, 0xffffffff
je 0x42732d
mov byte [esp + 0x10], 0xa
lea esp, [esp]
test esi, esi
je 0x42730d
cmp dword [esp + 0x100], 0x10
mov eax, dword [esp + 0xec]
jae 0x4271c0
lea eax, [esp + 0xec]
cmp byte [esi + eax - 1], 0xd
je 0x42730d
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x1e0]
push edx
lea ecx, [esp + 0xf8]
call fcn.00405400
mov edi, eax
push esi
xor ebx, ebx
push ebx
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x18cb4], 0x15
call fcn.00405400
push 0xd
push eax
lea ecx, [esp + 0x1a8]
push ecx
mov byte [esp + 0x18cb4], 0x16
call fcn.00428610
add esp, 0xc
push edi
push eax
lea edx, [esp + 0x1c4]
push edx
mov byte [esp + 0x18cb4], 0x17
call fcn.0041c010
add esp, 0xc
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x18cac], 0x18
call fcn.004012e0
mov edi, 0x10
cmp dword [esp + 0x1d0], edi
jb 0x42726c
mov eax, dword [esp + 0x1bc]
push eax
call fcn.0052d217
add esp, 4
mov dword [esp + 0x1d0], 0xf
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], 0
cmp dword [esp + 0x1b4], edi
jb 0x42729f
mov ecx, dword [esp + 0x1a0]
push ecx
call fcn.0052d217
add esp, 4
mov dword [esp + 0x1b4], 0xf
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], 0
cmp dword [esp + 0x198], edi
jb 0x4272d2
mov edx, dword [esp + 0x184]
push edx
call fcn.0052d217
add esp, 4
mov byte [esp + 0x18ca8], 0x13
mov dword [esp + 0x198], 0xf
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], 0
cmp dword [esp + 0x1ec], edi
jb 0x42730d
mov eax, dword [esp + 0x1d8]
push eax
call fcn.0052d217
add esp, 4
push 1
inc esi
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xf8]
call fcn.00404fd0
mov esi, eax
cmp esi, 0xffffffff
jne 0x4271a0
mov edx, dword [esp + 0x164]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x4273b2
mov dword [esp + 0x164], 0
jmp 0x4273b2
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00428650
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0041a3e0
mov edx, dword [esi]
mov eax, dword [edx + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x427391
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x427391
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4273b2
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x4273aa
or eax, 4
push 0
push eax
call fcn.00419030
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xe0]
cmp eax, esi
jae 0x4273c3
mov esi, eax
mov ebx, 0x10
test esi, esi
je 0x427423
mov edi, dword [esp + 0xe4]
mov ecx, dword [esp + 0xd0]
mov edx, ecx
cmp edi, ebx
jae 0x4273e9
lea edx, [esp + 0xd0]
mov ecx, edx
sub eax, esi
push eax
add edx, esi
push edx
push ecx
call fcn.0052d5a0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xdc]
sub eax, esi
add esp, 0xc
mov dword [esp + 0xe0], eax
cmp dword [esp + 0xe4], ebx
jae 0x42741f
lea ecx, [esp + 0xd0]
mov byte [ecx + eax], 0
push 2
lea eax, [esp + 0xd4]
call fcn.00428140
mov esi, eax
mov eax, dword [esp + 0xe0]
cmp eax, esi
jae 0x427440
mov esi, eax
test esi, esi
je 0x4274a2
mov edi, dword [esp + 0xe4]
mov ecx, dword [esp + 0xd0]
mov edx, ecx
cmp edi, ebx
jae 0x427461
lea edx, [esp + 0xd0]
mov ecx, edx
sub eax, esi
push eax
add edx, esi
push edx
push ecx
call fcn.0052d5a0
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xdc]
sub eax, esi
add esp, 0xc
mov dword [esp + 0xe0], eax
cmp dword [esp + 0xe4], ebx
jae 0x427497
lea ecx, [esp + 0xd0]
mov byte [ecx + eax], 0
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x18ca8], 0x12
cmp dword [esp + 0x138], ebx
jb 0x4274ca
mov eax, dword [esp + 0x124]
push eax
call fcn.0052d217
mov eax, dword [esp + 0xe4]
add esp, 4
test eax, eax
jne 0x426f45
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xf4]
push ecx
mov ecx, 0x687ec4
call fcn.004018d0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push 0
push 0x429340
mov dword [0x692414], edx
movzx edx, word [ebp + 8]
push 0
push edx
push 0
mov dword [0x69241c], eax
mov dword [0x692418], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
mov edi, 0x10
sete bl
cmp dword [esp + 0x100], edi
jb 0x427543
mov eax, dword [esp + 0xec]
push eax
call fcn.0052d217
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov byte [esp + 0x18ca8], 0xf
call fcn.004277d0
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x88], vtable.std::ios_base.0
call fcn.0051b82f
mov esi, dword [esp + 0x10c]
add esp, 4
test esi, esi
je 0x4275bf
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10c]
push edx
lea eax, [esp + 0x118]
push eax
push ecx
push esi
call fcn.0040e030
push esi
call fcn.0052d217
add esp, 0x14
mov eax, dword [esp + 0x148]
test eax, eax
je 0x4275d3
push eax
call fcn.0052d217
add esp, 4
mov eax, dword [esp + 0x164]
test eax, eax
je 0x4275e5
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x160]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0xe4], edi
jb 0x42760c
mov eax, dword [esp + 0xd0]
push eax
call fcn.0052d217
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x18ca0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18c88]
xor ecx, esp
call fcn.00530614
mov esp, ebp
pop ebp
ret