Function at 0x427810
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3ce2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], 2
call fcn.00428110
mov edi, eax
add esp, 8
mov dword [ebp - 0x80], edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x38]
push edx
push edi
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 4
call dword [ecx + 0xbc]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x427887
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x428088
jmp 0x428082
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x428062
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x428062
mov dword [ebp - 0x54], ebx
jle 0x428062
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x54]
mov word [ebp - 0x7c], 3
mov dword [ebp - 0x74], eax
mov edi, dword [ebp - 0x7c]
lea esi, [ebp - 0x2c]
push esi
mov ecx, dword [ebp - 0x38]
sub esp, 0x10
mov byte [ebp - 4], 6
mov esi, esp
sub esp, 0x10
mov edx, dword [ecx]
mov dword [esi], edi
mov edi, dword [ebp - 0x78]
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x70]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov edi, dword [ebp - 0x7c]
mov esi, esp
push ecx
mov dword [esi], edi
mov edi, dword [ebp - 0x78]
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [esi + 0xc], eax
call dword [edx + 0x2c]
test eax, eax
jl 0x428021
mov word [ebp - 0x64], bx
mov word [ebp - 0xac], bx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ebx
cmp eax, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xe], 1
jne 0x42796c
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0xac]
push ecx
call esi
lea edx, [ebp - 0x64]
push edx
call esi
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push eax
call esi
cmp eax, ebx
jge 0x427958
push eax
call fcn.004ce4aa
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42804a
jmp 0x428044
mov dword [ebp - 0x20], ebx
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push 0x4f5768
push eax
mov byte [ebp - 4], 9
call dword [edx]
test eax, eax
jl 0x4280bb
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push 0x4f5758
mov edx, dword [eax]
push eax
mov byte [ebp - 4], 0xa
call dword [edx]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4279fa
mov dword [ebp - 0x1c], ebx
mov edx, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 4], 0xb
call dword [edx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
push 0x66
lea eax, [ebp - 0xcc]
push edx
push eax
call fcn.00427080
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x4279e6
mov word [ebp - 0x64], 0xa
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x4279f7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x427b2e
mov dx, word [ebp - 0x64]
cmp dx, 1
je 0x427a18
cmp dx, bx
jne 0x427b2e
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov byte [ebp - 4], 0xc
call dword [eax + 0xf8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x427b1a
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x427b1a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push eax
call fcn.004d48ed
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x50b340
call fcn.004d489b
push ecx
lea edx, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 0xe
call fcn.004d45a2
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0xd
call fcn.004293f0
mov esi, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x40], esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x427aa2
mov dword [ebp - 0x5c], eax
cmp esi, ebx
mov word [ebp - 0x64], 8
jne 0x427ab0
xor eax, eax
jmp 0x427ae4
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004b0390
mov eax, dword [ebp - 0x40]
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x40]
mov eax, edi
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [ebp - 0x5c], eax
jne 0x427b03
cmp esi, ebx
je 0x427b03
mov word [ebp - 0x64], 0xa
mov dword [ebp - 0x5c], 0x8007000e
lea ecx, [ebp - 0x8c]
call fcn.004d482d
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.004d482d
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
cmp word [ebp - 0x64], 1
je 0x427fed
push 0x5188e8
lea ecx, [ebp - 0x14]
call fcn.004d489b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xf
call esi
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x9c]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x427b74
push eax
call fcn.004ce4aa
cmp word [ebp - 0x9c], 8
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x24], ebx
jne 0x427bbc
mov esi, dword [ebp - 0x94]
lea ecx, [ebp - 0x24]
call fcn.0041b720
push 0xc
call fcn.004d456e
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x427bb5
push esi
mov ecx, eax
call fcn.0041b850
mov dword [ebp - 0x24], eax
jmp 0x427c0a
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x427c0a
lea edx, [ebp - 0xbc]
push edx
call esi
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xbc]
push eax
push 8
mov byte [ebp - 4], 0x12
call fcn.0041b950
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041b770
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0x10
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x427c07
push eax
call fcn.004ce4aa
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x427c3e
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
cmp ecx, ebx
mov edi, eax
jne 0x427c3a
mov eax, dword [eax]
push eax
call fcn.004ce5cc
cmp eax, ebx
mov dword [esi], eax
jne 0x427c3a
cmp dword [edi], ebx
je 0x427c3a
push 0x8007000e
call fcn.004ce4aa
mov esi, dword [esi]
jmp 0x427c40
xor esi, esi
push esi
lea ecx, [ebp - 0x14]
call fcn.004d49b6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x427c70
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x427c6d
cmp esi, ebx
je 0x427c6d
push 1
mov ecx, esi
call fcn.0041b8e0
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xf
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x427c8b
push eax
call fcn.004ce4aa
lea edx, [ebp - 0x88]
push 0xc
push edx
lea ecx, [ebp - 0x14]
call fcn.004d34a2
push str.http:
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.004d353c
test eax, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
setl byte [ebp - 0x25]
call fcn.004d482d
cmp byte [ebp - 0x25], bl
je 0x427d1a
push 0x509df0
push 0x50b334
lea ecx, [ebp - 0x14]
call fcn.004d31b9
push 0x509df0
push 0x50b330
lea ecx, [ebp - 0x14]
call fcn.004d31b9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x10]
push eax
lea edx, [ebp - 0x84]
push ecx
push edx
call fcn.004d4ac2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.004d4966
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.004d482d
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0xd]
push eax
lea edx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x68]
push eax
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
push eax
push ecx
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.00429b20
mov ecx, dword [ebp - 0x44]
call fcn.00429300
cmp dword [ebp + 0x20], 1
jne 0x427d7e
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004d45a2
mov ecx, dword [ebp + 0x14]
call fcn.00422b40
cmp eax, ebx
je 0x427e57
mov byte [eax + 0x24], bl
jmp 0x427e57
push 0x30
call fcn.004d456e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x427de0
mov edx, dword [0x513458]
lea ecx, [esi + 0x28]
mov dword [ecx], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
push 0x5188e8
mov byte [ebp - 4], 0x18
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov byte [esi + 0x24], 1
mov byte [esi + 0x25], bl
call fcn.004d49b6
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x427ddb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x2c], ebx
jmp 0x427de2
xor esi, esi
lea edi, [esi + 0x28]
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004d4966
mov eax, dword [ebp - 0x48]
push esi
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0xc], ecx
mov edx, dword [ebp - 0x4c]
mov dword [esi], edx
mov eax, dword [ebp - 0x68]
mov dword [esi + 4], eax
mov cl, byte [ebp - 0xd]
mov byte [esi + 0x25], cl
mov dl, byte [ebp - 0xe]
mov ecx, dword [ebp + 0x14]
mov byte [esi + 0x24], dl
mov dword [esi + 0x1c], 1
call fcn.00422c10
test eax, eax
jne 0x427e57
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x427e57
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0x19
cmp eax, ebx
je 0x427e43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004d482d
push esi
call fcn.004d4597
add esp, 4
mov ecx, dword [0x518b70]
call fcn.00434420
mov edi, dword [ebp + 0x14]
mov esi, eax
mov ecx, edi
call fcn.00422590
sub esi, eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x190
jl 0x427fdb
cmp dword [ebp - 0x48], 0x12c
jl 0x427fdb
cmp esi, ebx
jl 0x427fdb
cmp esi, 0x41
jg 0x427fdb
push edi
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.004d45a2
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
add ecx, 0x78
call fcn.0040d7b0
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x1a
cmp dword [edx - 8], ebx
jle 0x427fcf
cmp dword [ebp + 0x20], 1
jne 0x427ef7
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004d45a2
mov ecx, edi
call fcn.00422b40
cmp eax, ebx
je 0x427fcf
mov byte [eax + 0x24], bl
jmp 0x427fcf
push 0x30
call fcn.004d456e
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x427f59
mov edx, dword [0x513458]
lea ecx, [esi + 0x28]
mov dword [ecx], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
push 0x5188e8
mov byte [ebp - 4], 0x1d
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov byte [esi + 0x24], 1
mov byte [esi + 0x25], bl
call fcn.004d49b6
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x427f54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x2c], ebx
jmp 0x427f5b
xor esi, esi
lea edi, [esi + 0x28]
lea edx, [ebp - 0x34]
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004d4966
mov eax, dword [ebp - 0x48]
push esi
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 0xc], ecx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x14]
mov dword [esi], edx
mov eax, dword [ebp - 0x68]
mov byte [esi + 0x25], bl
mov dword [esi + 4], eax
mov eax, 1
mov byte [esi + 0x24], 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
call fcn.00422c10
test eax, eax
jne 0x427fcf
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x427fcf
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0x1e
cmp eax, ebx
je 0x427fbb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004d482d
push esi
call fcn.004d4597
add esp, 4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.004d482d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.004d482d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x427ffe
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 8
je 0x42800c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0xac]
push ecx
call esi
lea edx, [ebp - 0x64]
push edx
call esi
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 5
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x428039
push eax
call fcn.004ce4aa
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42804a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, ecx
mov dword [ebp - 0x54], eax
jl 0x4278b0
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x428073
mov edx, dword [eax]
push eax
call dword [edx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x428088
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004d482d
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004d482d
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4280cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [ebp - 0xac]
push edx
call esi
lea eax, [ebp - 0x64]
push eax
call esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
push ecx
call esi
cmp eax, ebx
jge 0x4280f5
push eax
call fcn.004ce4aa
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42804a
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x42804a