Function at 0x402360
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0xa14]
sub esp, 0xa14
push 0xffffffffffffffff
push 0x4877b1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x504a70]
xor eax, ebp
mov dword [ebp + 0xa10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xa1c]
mov dword [ebp - 0x38], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, esi
jge 0x4023e5
push esi
push 0x10
push 0x4f11bc
call fcn.0045dce2
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x402c3a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x402c3a
lea ecx, [ebp]
push ecx
push str.Microsoft.XMLHTTP
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
cmp eax, esi
jl 0x402408
lea edx, [ebp]
push edx
lea edi, [ebp - 0x14]
call fcn.00404940
cmp eax, esi
jge 0x402431
push esi
push 0x10
push str.Could_not_initialize_XMLHTTP
call fcn.0045dce2
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x402c3a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x402c3a
call fcn.0045e8af
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40244b
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0xa20]
push ecx
lea edx, [ebp - 0x18]
push str.http:__www.techpowerup.com_vgabios_index.php_check
push edx
mov byte [ebp - 4], 4
call fcn.004040f0
add esp, 0xc
push 0x4f1250
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.00404010
add esp, 0xc
lea ecx, [ebp + 0xa24]
push ecx
push eax
lea edx, [ebp - 0x24]
mov bl, 6
push edx
mov byte [ebp - 4], bl
call fcn.00403f50
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00404670
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40251a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov word [ebp], 0xb
mov word [ebp + 8], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
cmp dword [eax - 4], 1
mov esi, 0x506228
lea ecx, [ebp]
mov ebx, esi
push ecx
jle 0x40254a
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00404780
mov edi, dword [ebp - 0x20]
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push eax
call fcn.004019f0
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x30], esp
push ecx
mov edi, 0x4f12c0
call fcn.004019f0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x14], 0
jne 0x402582
push 0x80004003
call fcn.00484140
mov edx, dword [ebp - 0x14]
push edx
mov ecx, esi
mov edx, ebx
mov byte [ebp - 4], 8
call fcn.00401b70
lea eax, [ebp]
mov byte [ebp - 4], 4
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call ebx
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x4025ae
xor eax, eax
jmp 0x4025c8
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4025b3
sub eax, edx
sar eax, 1
js 0x402a22
cmp eax, dword [esi - 8]
jg 0x402a22
mov ecx, dword [ebp - 0x20]
push ecx
mov dword [ecx - 0xc], eax
mov word [ecx + eax*2], 0
mov ecx, esp
mov dword [ebp - 0x34], esp
push ecx
mov edi, str.application_x_www_form_urlencoded
call fcn.004019f0
push ecx
mov byte [ebp - 4], 0xb
mov edx, esp
mov dword [ebp - 0x30], esp
push edx
mov edi, str.Content_Type
call fcn.004019f0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 0
jne 0x402617
push 0x80004003
call fcn.00484140
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00401cd0
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40263d
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xd
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40266a
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xe
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402697
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xf
cmp dword [esi - 4], 1
jle 0x4026bf
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404780
mov esi, dword [ebp - 0x28]
push esi
mov word [ebp], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [ebp + 8], eax
jne 0x4026e1
test esi, esi
je 0x4026e1
push 0x8007000e
call fcn.00484140
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4026f9
push 0x80004003
call fcn.00484140
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp + 4]
mov dword [eax + 4], edi
mov edi, dword [ebp + 8]
mov dword [eax + 8], edi
mov edi, dword [ebp + 0xc]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x2c]
push ecx
mov esi, ecx
call eax
test eax, eax
jge 0x40272f
push 0x4f18a0
push esi
push eax
call fcn.00484150
lea ecx, [ebp]
push ecx
mov byte [ebp - 4], 0xf
call ebx
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40274d
push 0x80004003
call fcn.00484140
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov esi, eax
mov dword [ebp - 0x1c], 0
call edx
test eax, eax
jge 0x402772
push 0x4f18a0
push esi
push eax
call fcn.00484150
cmp dword [ebp - 0x14], 0
jne 0x402782
push 0x80004003
call fcn.00484140
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00401e00
lea edi, [ebp - 0x18]
call fcn.00401b10
call fcn.0045e8af
xor ecx, ecx
cmp dword [ebp - 0x1c], 0xc8
jne 0x402a2c
test eax, eax
setne cl
test ecx, ecx
jne 0x4027bc
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov bl, 0x11
mov byte [ebp - 4], bl
cmp dword [ebp - 0x14], 0
jne 0x4027e0
push 0x80004003
call fcn.00484140
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00401e00
mov byte [ebp - 4], 0x12
mov esi, dword [eax]
test esi, esi
je 0x40280b
cmp dword [esi + 4], 0
jne 0x402806
mov ecx, dword [esi]
push ecx
call fcn.004841d0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x40280d
xor esi, esi
lea edx, [ebp + 0x90c]
mov dword [ebp + 0x908], edx
call dword [0x506254]
push eax
push esi
lea ecx, [ebp + 0x908]
call fcn.004049b0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp + 0x908]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403ee0
mov eax, dword [ebp + 0x908]
lea ecx, [ebp + 0x90c]
cmp eax, ecx
je 0x402858
push eax
call fcn.004695c4
add esp, 4
lea edi, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00401b10
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 4], 1
jle 0x40287b
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00404780
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00402310
test esi, esi
jne 0x40288a
xor eax, eax
jmp 0x4028a5
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402890
sub eax, edx
sar eax, 1
js 0x402a22
cmp eax, dword [esi - 8]
jg 0x402a22
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
cmp dword [esi - 0xc], 0
je 0x402b36
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push str.This_BIOS_is_already_part_of_our_collection:
push ecx
call fcn.004040f0
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
push eax
add ecx, 0x7c
call fcn.0045c3f0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40290a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40292a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40294d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402970
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4029c9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xa20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xa24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x402c8b
push 0x80070057
call fcn.00401440
test eax, eax
setne cl
test ecx, ecx
jne 0x402a3f
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x14], 0
jne 0x402a62
push 0x80004003
call fcn.00484140
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
call fcn.00401dc0
mov byte [ebp - 4], 0x16
mov esi, dword [eax]
test esi, esi
je 0x402a8d
cmp dword [esi + 4], 0
jne 0x402a88
mov ecx, dword [esi]
push ecx
call fcn.004841d0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x402a8f
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402a94
sub eax, edx
cmp dword [ebp - 0x14], 0
mov ebx, eax
jne 0x402ab1
push 0x80004003
call fcn.00484140
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
call fcn.00401dc0
mov byte [ebp - 4], 0x17
mov esi, dword [eax]
test esi, esi
je 0x402adc
cmp dword [esi + 4], 0
jne 0x402ad7
mov edx, dword [esi]
push edx
call fcn.004841d0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x402ade
xor esi, esi
push 0xff
lea eax, [ebp + 0x810]
push eax
add ebx, 1
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
lea edi, [ebp - 0x30]
call fcn.00401b10
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call fcn.00401b10
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp + 0x810]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.HTTP_Error:__d_n_s
push eax
call fcn.00405230
mov esi, dword [ebp - 0x18]
add esp, 0x10
push 0
push 0x10
push esi
call fcn.0045dce2
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0xf
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x402b6a
push 0x80004003
call fcn.00484140
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
mov esi, eax
call edx
test eax, eax
jge 0x402b84
push 0x4f18a0
push esi
push eax
call fcn.00484150
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ba7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402c23
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
push str.No_duplicates_found.
add ecx, 0x7c
call fcn.0045c3f0
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xa20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xa24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa10]
xor ecx, ebp
call fcn.0046875c
add ebp, 0xa14
mov esp, ebp
pop ebp
ret 0xc