Function at 0x427e20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2d52
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.00428720
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 0x427e97
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x428698
jmp 0x428692
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 0x428672
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x428672
mov dword [ebp - 0x54], ebx
jle 0x428672
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 0x428631
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 0x427f7c
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 0x427f68
push eax
call fcn.004cd54a
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42865a
jmp 0x428654
mov dword [ebp - 0x20], ebx
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push 0x4f4770
push eax
mov byte [ebp - 4], 9
call dword [edx]
test eax, eax
jl 0x4286cb
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push 0x4f4760
mov edx, dword [eax]
push eax
mov byte [ebp - 4], 0xa
call dword [edx]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x42800a
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.00427690
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x427ff6
mov word [ebp - 0x64], 0xa
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x428007
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x42813e
mov dx, word [ebp - 0x64]
cmp dx, 1
je 0x428028
cmp dx, bx
jne 0x42813e
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 0x42812a
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x42812a
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
push eax
call fcn.004d393d
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x50a090
call fcn.004d38eb
push ecx
lea edx, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 0xe
call fcn.004d35f2
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00429a00
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 0x4280b2
mov dword [ebp - 0x5c], eax
cmp esi, ebx
mov word [ebp - 0x64], 8
jne 0x4280c0
xor eax, eax
jmp 0x4280f4
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.004af200
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 0x428113
cmp esi, ebx
je 0x428113
mov word [ebp - 0x64], 0xa
mov dword [ebp - 0x5c], 0x8007000e
lea ecx, [ebp - 0x8c]
call fcn.004d387d
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
call fcn.004d387d
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 0x4285fd
push 0x517348
lea ecx, [ebp - 0x14]
call fcn.004d38eb
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 0x428184
push eax
call fcn.004cd54a
cmp word [ebp - 0x9c], 8
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x24], ebx
jne 0x4281cc
mov esi, dword [ebp - 0x94]
lea ecx, [ebp - 0x24]
call fcn.0041c260
push 0xc
call fcn.004d35be
add esp, 4
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 0x11
je 0x4281c5
push esi
mov ecx, eax
call fcn.0041c390
mov dword [ebp - 0x24], eax
jmp 0x42821a
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x42821a
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.0041c490
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041c2b0
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0x10
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x428217
push eax
call fcn.004cd54a
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x42824e
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
cmp ecx, ebx
mov edi, eax
jne 0x42824a
mov eax, dword [eax]
push eax
call fcn.004cd66c
cmp eax, ebx
mov dword [esi], eax
jne 0x42824a
cmp dword [edi], ebx
je 0x42824a
push 0x8007000e
call fcn.004cd54a
mov esi, dword [esi]
jmp 0x428250
xor esi, esi
push esi
lea ecx, [ebp - 0x14]
call fcn.004d3a06
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x428280
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42827d
cmp esi, ebx
je 0x42827d
push 1
mov ecx, esi
call fcn.0041c420
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 0x42829b
push eax
call fcn.004cd54a
lea edx, [ebp - 0x88]
push 0xc
push edx
lea ecx, [ebp - 0x14]
call fcn.004d24f2
push str.http:
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.004d258c
test eax, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
setl byte [ebp - 0x25]
call fcn.004d387d
cmp byte [ebp - 0x25], bl
je 0x42832a
push 0x508cb0
push 0x50a084
lea ecx, [ebp - 0x14]
call fcn.004d2209
push 0x508cb0
push 0x50a080
lea ecx, [ebp - 0x14]
call fcn.004d2209
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x10]
push eax
lea edx, [ebp - 0x84]
push ecx
push edx
call fcn.004d3b12
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.004d39b6
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xf
call fcn.004d387d
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.0040a860
mov ecx, dword [ebp - 0x44]
call fcn.00429910
cmp dword [ebp + 0x20], 1
jne 0x42838e
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004d35f2
mov ecx, dword [ebp + 0x14]
call fcn.00423650
cmp eax, ebx
je 0x428467
mov byte [eax + 0x24], bl
jmp 0x428467
push 0x30
call fcn.004d35be
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x4283f0
mov edx, dword [0x511ed0]
lea ecx, [esi + 0x28]
mov dword [ecx], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
push 0x517348
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.004d3a06
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x4283eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x2c], ebx
jmp 0x4283f2
xor esi, esi
lea edi, [esi + 0x28]
lea edx, [ebp - 0x14]
push edx
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004d39b6
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.00423720
test eax, eax
jne 0x428467
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x428467
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0x19
cmp eax, ebx
je 0x428453
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.004d387d
push esi
call fcn.004d35e7
add esp, 4
mov ecx, dword [0x5175b0]
call fcn.00434740
mov edi, dword [ebp + 0x14]
mov esi, eax
mov ecx, edi
call fcn.004230b0
sub esi, eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x190
jl 0x4285eb
cmp dword [ebp - 0x48], 0x12c
jl 0x4285eb
cmp esi, ebx
jl 0x4285eb
cmp esi, 0x41
jg 0x4285eb
push edi
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.004d35f2
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push eax
add ecx, 0x78
call fcn.0040cec0
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0x1a
cmp dword [edx - 8], ebx
jle 0x4285df
cmp dword [ebp + 0x20], 1
jne 0x428507
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004d35f2
mov ecx, edi
call fcn.00423650
cmp eax, ebx
je 0x4285df
mov byte [eax + 0x24], bl
jmp 0x4285df
push 0x30
call fcn.004d35be
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x428569
mov edx, dword [0x511ed0]
lea ecx, [esi + 0x28]
mov dword [ecx], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x10], ebx
push 0x517348
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.004d3a06
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x428564
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x2c], ebx
jmp 0x42856b
xor esi, esi
lea edi, [esi + 0x28]
lea edx, [ebp - 0x34]
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004d39b6
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.00423720
test eax, eax
jne 0x4285df
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x4285df
mov eax, dword [esi + 0x2c]
mov byte [ebp - 4], 0x1e
cmp eax, ebx
je 0x4285cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004d387d
push esi
call fcn.004d35e7
add esp, 4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.004d387d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.004d387d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
cmp eax, ebx
mov byte [ebp - 4], 9
je 0x42860e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 8
je 0x42861c
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 0x428649
push eax
call fcn.004cd54a
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42865a
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 0x427ec0
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x428683
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 0x428698
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004d387d
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004d387d
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 0x4286dc
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 0x428705
push eax
call fcn.004cd54a
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x42865a
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x42865a