Function at 0x401c50
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596e36
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x60cff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x401c9e
push eax
call esi
mov dword [ebx + 8], 0
mov eax, dword [0x616438]
add eax, 0xfffffff0
push eax
call fcn.00406350
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 1
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
call fcn.00433ed5
or ebx, 0xffffffff
test eax, eax
je 0x401e2a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x401d3c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 8], eax
jmp 0x401db3
mov byte [ebp - 4], 3
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x3c]
push str._s:_s
push eax
call fcn.00405c70
mov esi, dword [ebp - 0x3c]
add esp, 0x10
push 0
push 0
push esi
push 3
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x34]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
mov dword [ecx + 8], eax
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x401dad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
test eax, eax
jne 0x401dc5
lea esi, [eax + 2]
jmp 0x40208f
push 0
push 0
push 3
push 0
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x401deb
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
jmp 0x401e19
push 0
push 0x80c00200
push 0
push 0
push 0
push dword [ebp - 0x68]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x401e32
push dword [ebp - 0x4c]
call esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
test eax, eax
je 0x401e2a
push eax
call esi
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], 0
or esi, 0xffffffff
jmp 0x40208f
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push str._REQUESTINFO_
push eax
call fcn.00405780
lea eax, [ebp - 0x20]
push str._FIRMUPDATETOOLINFO_
push eax
call fcn.00405780
push dword [0x616400]
lea eax, [ebp - 0x20]
push str._FIRMCATEGORY__s__FIRMCATEGORY_
push eax
call fcn.00405780
push dword [0x616414]
lea eax, [ebp - 0x20]
push str._OS__s__OS_
push eax
call fcn.00405780
push dword [0x616418]
lea eax, [ebp - 0x20]
push str._OSVERSION__s__OSVERSION_
push eax
call fcn.00405780
push dword [0x616404]
lea eax, [ebp - 0x20]
push str._AREA__s__AREA_
push eax
call fcn.00405780
xor eax, eax
add esp, 0x40
cmp byte [0x6163c5], al
setne al
push eax
lea eax, [ebp - 0x20]
push str._INSPECTMODE__d__INSPECTMODE_
push eax
call fcn.00405780
lea eax, [ebp - 0x20]
push str.__FIRMUPDATETOOLINFO_
push eax
call fcn.00405780
mov esi, dword [ebp + 0x10]
add esp, 0x14
cmp dword [esi + 0xc], 0
je 0x401f3f
lea eax, [ebp - 0x20]
push str._FIRMUPDATEINFO_
push eax
call fcn.00405780
lea eax, [ebp - 0x20]
push str._MODELINFO_
push eax
call fcn.00405780
push dword [esi + 0xc]
lea eax, [ebp - 0x20]
push str._NAME__s__NAME_
push eax
call fcn.00405780
lea eax, [ebp - 0x20]
push str.__MODELINFO_
push eax
call fcn.00405780
lea eax, [ebp - 0x20]
push str.__FIRMUPDATEINFO_
push eax
call fcn.00405780
add esp, 0x2c
lea eax, [ebp - 0x20]
push str.__REQUESTINFO_
push eax
call fcn.00405780
mov esi, dword [ebp - 0x20]
add esp, 8
test esi, esi
je 0x401fb0
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f60
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x401fb0
lea eax, [ecx + ecx]
mov dword [ebp - 0x2c], eax
call fcn.0056e950
mov eax, esp
mov dword [ebp - 0x14], eax
test eax, eax
je 0x401fb0
push 0
push 0
push dword [ebp - 0x2c]
mov byte [eax], 0
push eax
push 0xffffffffffffffff
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x14]
cmove eax, ecx
jmp 0x401fb2
xor eax, eax
push dword [esi - 0xc]
mov dword [ebp - 0x14], eax
push eax
push 0x16
push str.Content_Type:_text_xml
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], 0
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x402068
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x402e51
mov eax, dword [ebp - 0x18]
cmp eax, 0x197
jne 0x402121
mov eax, dword [0x6162f8]
push 0
push 7
push 0x2eee
push dword [ebp - 0x30]
push dword [eax + 0x20]
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x402117
mov eax, dword [ebp - 0x3c]
cmp eax, 2
jge 0x40210d
push dword [esi - 0xc]
inc eax
push dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
push 0x16
push str.Content_Type:_text_xml
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x401fe0
mov esi, 2
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x34]
call fcn.00401c30
lea ecx, [ebp - 0x20]
call fcn.00406270
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4020ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4020cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4020e7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
lea esp, [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e21e
mov esp, ebp
pop ebp
ret 0xc
mov esi, 4
jmp 0x40206d
mov esi, 5
jmp 0x40206d
cmp eax, 0xc8
jne 0x402e51
push dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push eax
call fcn.00404410
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 0xc], 0
jne 0x40214d
or esi, 0xffffffff
jmp 0x402e29
push 0x5e2d2c
lea ecx, [ebp - 0x24]
call fcn.004055a0
mov byte [ebp - 4], 6
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e65
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004320d0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00406270
push str._RESPONSEINFO_FIRMUPDATETOOLINFO_VERSION
lea ecx, [ebp - 0x70]
call fcn.004055a0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov esi, dword [edx]
lea ecx, [eax - 0x10]
sub esi, 0x10
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
je 0x402226
cmp dword [esi + 0xc], 0
jl 0x402218
mov ecx, dword [eax - 0x10]
cmp ecx, dword [esi]
jne 0x402218
push dword [ebp - 0x2c]
call fcn.00406350
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40220e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
jmp 0x402223
push dword [eax - 0xc]
mov ecx, edx
push eax
call fcn.004060b0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
push str._RESPONSEINFO_FIRMUPDATETOOLINFO_PASSWORD
setne cl
lea ecx, [ecx*2 - 1]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x24]
call fcn.004055a0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4022b1
cmp dword [esi + 0xc], 0
jl 0x4022a5
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4022a5
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40229d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x4022b1
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x40]
call fcn.00406270
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov esi, dword [edx + 4]
lea ecx, [eax - 0x10]
sub esi, 0x10
mov dword [ebp - 0x18], ecx
cmp ecx, esi
je 0x402325
cmp dword [esi + 0xc], 0
jl 0x402319
mov ecx, dword [ecx]
cmp ecx, dword [esi]
jne 0x402319
push dword [ebp - 0x18]
call fcn.00406350
mov dword [ebp - 0x18], eax
add esp, 4
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40230b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx + 4], eax
jmp 0x402325
push dword [eax - 0xc]
lea ecx, [edx + 4]
push eax
call fcn.004060b0
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MODEL
lea ecx, [ebp - 0x24]
call fcn.004055a0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x40239e
cmp dword [esi + 0xc], 0
jl 0x402392
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402392
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40238a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x40239e
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x40]
call fcn.00406270
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00406270
push 0x5e2d2c
lea ecx, [ebp - 0x24]
call fcn.004055a0
mov byte [ebp - 4], 0x11
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004320d0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x14
call fcn.00406270
push str.NAME
lea ecx, [ebp - 0x50]
call fcn.004055a0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00432430
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402476
cmp dword [esi + 0xc], 0
jl 0x40246a
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40246a
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402462
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402476
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x54]
call fcn.00406270
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x14
call fcn.00406270
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x40]
mov esi, dword [esi + 4]
call fcn.004063d0
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
push eax
call fcn.00406350
add eax, 0x10
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x38], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4024d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0x18
push eax
call fcn.00404850
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x14
call fcn.00405550
push 0x5e25f8
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x40256d
cmp dword [esi + 0xc], 0
jl 0x402561
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402561
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402559
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x40256d
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
call fcn.00406270
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
cmp dword [eax - 0xc], 0
mov eax, ebx
je 0x4025c9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4025a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5e2d2c
lea ecx, [ebp - 0x24]
call fcn.004055a0
mov byte [ebp - 4], 0x11
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
jne 0x4023d2
jmp 0x402e5b
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4025db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._RESPONSEINFO_RESISTINFO_FIRMINFO_FIRM
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402654
cmp dword [esi + 0xc], 0
jl 0x402648
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402648
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402640
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402654
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x54]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
push 0x5e2d2c
lea ecx, [ebp - 0x24]
call fcn.004055a0
mov byte [ebp - 4], 0x1d
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004320d0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x20
call fcn.00406270
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
je 0x402e5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
push 0x5e2658
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00432430
mov byte [ebp - 4], 0x23
add esi, 0xfffffff0
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402761
cmp dword [esi + 0xc], 0
jl 0x402755
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402755
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40274d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x64], eax
jmp 0x402761
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004060b0
lea ecx, [ebp - 0x54]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x21
call fcn.00406270
push str._NAME
lea ecx, [ebp - 0x40]
call fcn.004055a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00432430
mov byte [ebp - 4], 0x25
mov ecx, dword [eax]
mov esi, dword [ebp - 0x60]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4027ee
cmp dword [esi + 0xc], 0
jl 0x4027e2
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4027e2
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4027da
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x60], eax
jmp 0x4027ee
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004060b0
lea ecx, [ebp - 0x38]
call fcn.00406270
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x21
call fcn.00406270
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x64]
add ecx, 0xc
push eax
lea eax, [ebp - 0x78]
push dword [ecx + 4]
push eax
call fcn.004046a0
push str.FIRM
lea ecx, [ebp - 0x50]
call fcn.004055a0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x27
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402891
cmp dword [esi + 0xc], 0
jl 0x402885
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402885
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40287d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402891
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x28]
call fcn.00406270
lea ecx, [ebp - 0x50]
call fcn.00406270
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
cmp dword [eax - 0xc], 0
je 0x4028f5
call fcn.00401bc0
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4028d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5e2d2c
lea ecx, [ebp - 0x24]
call fcn.004055a0
mov byte [ebp - 4], 0x1d
call fcn.00433b0d
mov ecx, eax
test ecx, ecx
jne 0x402688
jmp 0x402e5b
call fcn.00401bc0
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402918
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK1
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x29
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402991
cmp dword [esi + 0xc], 0
jl 0x402985
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402985
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40297d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402991
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x4029ba
mov dword [0x61651c], 1
jmp 0x4029cc
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x61651c], eax
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK2
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x2b
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402a45
cmp dword [esi + 0xc], 0
jl 0x402a39
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402a39
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402a31
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402a45
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x402a6e
mov dword [0x616520], 1
jmp 0x402a80
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x616520], eax
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK3
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x2d
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402af9
cmp dword [esi + 0xc], 0
jl 0x402aed
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402aed
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402ae5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402af9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x402b22
mov dword [0x616524], 1
jmp 0x402b34
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x616524], eax
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK4
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x2e
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x2f
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402bad
cmp dword [esi + 0xc], 0
jl 0x402ba1
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402ba1
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402b99
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402bad
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x402bd6
mov dword [0x616528], 1
jmp 0x402be8
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x616528], eax
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK5
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x30
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x31
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402c61
cmp dword [esi + 0xc], 0
jl 0x402c55
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402c55
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402c4d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402c61
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x402c8a
mov dword [0x61652c], 1
jmp 0x402c9c
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x61652c], eax
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK6
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x32
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x33
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402d15
cmp dword [esi + 0xc], 0
jl 0x402d09
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402d09
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402d01
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402d15
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x402d3e
mov dword [0x616530], 1
jmp 0x402d50
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x616530], eax
push str._RESPONSEINFO_RESISTINFO_MODELINFO_MARK7
lea ecx, [ebp - 0x18]
call fcn.004055a0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x34
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00432430
mov byte [ebp - 4], 0x35
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x402dc9
cmp dword [esi + 0xc], 0
jl 0x402dbd
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x402dbd
push edx
call fcn.00406350
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402db5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x402dc9
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004060b0
lea ecx, [ebp - 0x1c]
call fcn.00406270
lea ecx, [ebp - 0x18]
call fcn.00406270
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x402dee
mov dword [0x616534], 1
jmp 0x402e00
push 0
push 0
push eax
call fcn.005777e9
add esp, 0xc
mov dword [0x616534], eax
lea ecx, [ebp - 0x14]
call fcn.00406270
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402e26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.00406270
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x30]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, 1
je 0x402087
jmp 0x40207f
mov esi, 3
jmp 0x40206d
push 0x80004005
call fcn.00406290
push 0x80004005
call fcn.00406290
int3