Function at 0x427770
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3e42
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.00428070
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 0x4277e7
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x427fe8
jmp 0x427fe2
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 0x427fc2
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x427fc2
mov dword [ebp - 0x54], ebx
jle 0x427fc2
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 0x427f81
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 0x4278cc
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 0x4278b8
push eax
call fcn.004ce60a
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x427faa
jmp 0x427fa4
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 0x42801b
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 0x42795a
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.00426fe0
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x427946
mov word [ebp - 0x64], 0xa
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x427957
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x427a8e
mov dx, word [ebp - 0x64]
cmp dx, 1
je 0x427978
cmp dx, bx
jne 0x427a8e
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 0x427a7a
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x427a7a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push eax
call fcn.004d4a4d
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x50b318
call fcn.004d49fb
push ecx
lea edx, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 0xe
call fcn.004d4702
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00429350
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 0x427a02
mov dword [ebp - 0x5c], eax
cmp esi, ebx
mov word [ebp - 0x64], 8
jne 0x427a10
xor eax, eax
jmp 0x427a44
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.004b04f0
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 0x427a63
cmp esi, ebx
je 0x427a63
mov word [ebp - 0x64], 0xa
mov dword [ebp - 0x5c], 0x8007000e
lea ecx, [ebp - 0x8c]
call fcn.004d498d
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.004d498d
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 0x427f4d
push 0x518908
lea ecx, [ebp - 0x14]
call fcn.004d49fb
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 0x427ad4
push eax
call fcn.004ce60a
cmp word [ebp - 0x9c], 8
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x24], ebx
jne 0x427b1c
mov esi, dword [ebp - 0x94]
lea ecx, [ebp - 0x24]
call fcn.0041b750
push 0xc
call fcn.004d46ce
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x427b15
push esi
mov ecx, eax
call fcn.0041b7a0
mov dword [ebp - 0x24], eax
jmp 0x427b6a
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x427b6a
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.0041b8a0
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041b670
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0x10
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x427b67
push eax
call fcn.004ce60a
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x427b9e
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
cmp ecx, ebx
mov edi, eax
jne 0x427b9a
mov eax, dword [eax]
push eax
call fcn.004ce72c
cmp eax, ebx
mov dword [esi], eax
jne 0x427b9a
cmp dword [edi], ebx
je 0x427b9a
push 0x8007000e
call fcn.004ce60a
mov esi, dword [esi]
jmp 0x427ba0
xor esi, esi
push esi
lea ecx, [ebp - 0x14]
call fcn.004d4b16
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x427bd0
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x427bcd
cmp esi, ebx
je 0x427bcd
push 1
mov ecx, esi
call fcn.0041b830
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 0x427beb
push eax
call fcn.004ce60a
lea edx, [ebp - 0x88]
push 0xc
push edx
lea ecx, [ebp - 0x14]
call fcn.004d3602
push str.http:
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.004d369c
test eax, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
setl byte [ebp - 0x25]
call fcn.004d498d
cmp byte [ebp - 0x25], bl
je 0x427c7a
push 0x509e00
push 0x50b30c
lea ecx, [ebp - 0x14]
call fcn.004d3319
push 0x509e00
push 0x50b308
lea ecx, [ebp - 0x14]
call fcn.004d3319
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x10]
push eax
lea edx, [ebp - 0x84]
push ecx
push edx
call fcn.004d4c22
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.004d4ac6
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.004d498d
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.0040b1a0
mov ecx, dword [ebp - 0x44]
call fcn.00429260
cmp dword [ebp + 0x20], 1
jne 0x427cde
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004d4702
mov ecx, dword [ebp + 0x14]
call fcn.00422aa0
cmp eax, ebx
je 0x427db7
mov byte [eax + 0x24], bl
jmp 0x427db7
push 0x30
call fcn.004d46ce
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x427d40
mov edx, dword [0x51347c]
lea ecx, [esi + 0x28]
mov dword [ecx], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
push 0x518908
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.004d4b16
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x427d3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x2c], ebx
jmp 0x427d42
xor esi, esi
lea edi, [esi + 0x28]
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004d4ac6
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.00422b70
test eax, eax
jne 0x427db7
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x427db7
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0x19
cmp eax, ebx
je 0x427da3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004d498d
push esi
call fcn.004d46f7
add esp, 4
mov ecx, dword [0x518b90]
call fcn.00434340
mov edi, dword [ebp + 0x14]
mov esi, eax
mov ecx, edi
call fcn.004224f0
sub esi, eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x190
jl 0x427f3b
cmp dword [ebp - 0x48], 0x12c
jl 0x427f3b
cmp esi, ebx
jl 0x427f3b
cmp esi, 0x41
jg 0x427f3b
push edi
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.004d4702
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
add ecx, 0x78
call fcn.0040d800
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x1a
cmp dword [edx - 8], ebx
jle 0x427f2f
cmp dword [ebp + 0x20], 1
jne 0x427e57
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004d4702
mov ecx, edi
call fcn.00422aa0
cmp eax, ebx
je 0x427f2f
mov byte [eax + 0x24], bl
jmp 0x427f2f
push 0x30
call fcn.004d46ce
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x427eb9
mov edx, dword [0x51347c]
lea ecx, [esi + 0x28]
mov dword [ecx], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
push 0x518908
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.004d4b16
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x427eb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x2c], ebx
jmp 0x427ebb
xor esi, esi
lea edi, [esi + 0x28]
lea edx, [ebp - 0x34]
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004d4ac6
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.00422b70
test eax, eax
jne 0x427f2f
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x427f2f
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0x1e
cmp eax, ebx
je 0x427f1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004d498d
push esi
call fcn.004d46f7
add esp, 4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.004d498d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.004d498d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x427f5e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 8
je 0x427f6c
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 0x427f99
push eax
call fcn.004ce60a
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x427faa
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 0x427810
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x427fd3
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 0x427fe8
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004d498d
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004d498d
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 0x42802c
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 0x428055
push eax
call fcn.004ce60a
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x427faa
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x427faa