Function at 0x4291d0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x451486
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x460]
mov dword [esp + 0x448], 2
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
mov byte [esp + 0x17], 1
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x448], 3
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x448], 4
mov eax, dword [0x466ddc]
mov edx, dword [eax + 0xc]
mov ecx, 0x466ddc
mov dword [esp + 0x24], 0x804c8200
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x454]
mov byte [esp + 0x448], 5
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x454]
mov dword [esp + 0x38], eax
mov dword [ebp + 0x1c], 0
call fcn.00405650
mov byte [esp + 0x448], 6
mov eax, dword [eax]
lea edx, [esp + 0x16c]
push edx
mov ecx, eax
call fcn.004282e0
mov byte [esp + 0x448], 8
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4292e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x16c]
call fcn.00428520
mov edi, 0x10
mov byte [esp + 0x448], 9
cmp dword [eax + 0x18], edi
jb 0x42930f
mov eax, dword [eax + 4]
jmp 0x429312
add eax, 4
push 3
lea ecx, [esp + 0x70]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
call fcn.00415e50
mov byte [esp + 0x448], 0xa
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x42933a
xor eax, eax
jmp 0x42934f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429340
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
call fcn.00404080
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x6c]
cmp eax, edx
je 0x429370
push eax
call fcn.004329c3
add esp, 4
mov byte [esp + 0x448], 8
cmp dword [esp + 0x64], edi
jb 0x42938b
mov eax, dword [esp + 0x50]
push eax
call fcn.0043206e
add esp, 4
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x16c]
call fcn.004285c0
mov byte [esp + 0x448], 0xb
cmp dword [eax + 0x18], edi
jb 0x4293ad
mov eax, dword [eax + 4]
jmp 0x4293b0
add eax, 4
push 3
lea ecx, [esp + 0x70]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ecx
call fcn.00415e50
mov byte [esp + 0x448], 0xc
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x4293d8
xor eax, eax
jmp 0x4293ef
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4293e0
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x24]
call fcn.00404080
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x6c]
cmp eax, edx
je 0x429410
push eax
call fcn.004329c3
add esp, 4
mov byte [esp + 0x448], 8
cmp dword [esp + 0x64], edi
jb 0x42942b
mov eax, dword [esp + 0x50]
push eax
call fcn.0043206e
add esp, 4
mov ebx, dword [esp + 0x28]
cmp dword [ebx - 0xc], 0
jne 0x42943f
mov byte [esp + 0x17], 0
jmp 0x4298b8
push 0
push 0
push 0
push 1
push str.AlipayClient
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
jne 0x42946f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
mov byte [esp + 0x17], 0
jmp 0x4298c7
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [esp + 0x38]
push ecx
push 5
push esi
call edi
push 4
lea edx, [esp + 0x38]
push edx
push 6
push esi
call edi
push 4
lea eax, [esp + 0x38]
push eax
push 2
push esi
call edi
mov eax, dword [esp + 0x1e4]
cmp eax, 4
jne 0x4294ad
mov dword [esp + 0x24], 0x80cc8200
xor ecx, ecx
cmp eax, 4
jne 0x4294bb
mov ecx, 0x1bb
jmp 0x4294c3
cmp eax, 3
jne 0x4294c3
lea ecx, [eax + 0x4d]
mov ax, word [esp + reloc.winhttp.dll_WinHttpReceiveResponse]
test ax, ax
je 0x4294d3
movzx ecx, ax
push 0
push 0
push 3
push 0
push 0
push ecx
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [esp + 0x38], esi
test esi, esi
jne 0x429502
mov byte [esp + 0x17], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
jmp 0x4298ad
lea ecx, [esp + 0x45c]
push ecx
mov ecx, 0x45cb70
call fcn.00415940
add esp, 4
test al, al
je 0x42954a
mov edx, dword [esp + 0x458]
cmp dword [edx - 0xc], 0
jle 0x42954a
mov edx, 0x45cb94
lea edi, [esp + 0x20]
call fcn.00415820
mov eax, dword [esp + 0x458]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, edi
push eax
call fcn.00416370
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x45c]
push 0
push ecx
push 0
push 0
push 0
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
jne 0x429580
mov byte [esp + 0x17], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42989f
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x40]
push edx
push 0x1f
push ebx
mov dword [esp + 0x50], 4
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [esp + 0x3c], 0x3380
push 4
lea eax, [esp + 0x40]
push eax
push 0x1f
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, 0x18
mov esi, 0x45cb98
lea edi, [esp + 0x1e8]
lea eax, [esp + 0x1e8]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4295d0
sub eax, edx
lea ecx, [esp + 0x24]
sar eax, 1
push ecx
mov ecx, dword [esp + 0x45c]
mov esi, eax
call fcn.00405650
mov edx, dword [esp + 0x458]
mov ecx, dword [edx - 0xc]
mov eax, dword [eax]
push ecx
push eax
push esi
lea eax, [esp + 0x1f4]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
mov eax, dword [esp + 0x24]
sete byte [esp + 0x1f]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429637
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], 0
jne 0x429890
push 0x1f3
xor esi, esi
lea ecx, [esp + 0x24d]
push esi
push ecx
mov byte [esp + 0x254], 0
call fcn.00435a70
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
jmp 0x429670
lea edx, [esp + 0x30]
push edx
push 0x1f3
lea eax, [esp + 0x250]
push eax
push ebx
mov dword [esp + 0x40], esi
call edi
test eax, eax
je 0x429890
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x248]
mov byte [esp + ecx + 0x248], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4296a7
sub eax, edx
lea edx, [esp + 0x248]
push edx
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
call fcn.00429a00
cmp dword [esp + 0x30], esi
ja 0x429670
lea esi, [ebp + 4]
mov edx, 0x4563dc
mov edi, esi
call fcn.004039d0
mov edx, 0x4563dc
mov edi, ebp
call fcn.004039d0
lea edi, [ebp + 8]
mov edx, 0x4563dc
call fcn.004039d0
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x2c]
push 3
lea edx, [esp + 0x70]
push eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], edx
call fcn.00415e50
mov byte [esp + 0x448], 0xd
mov edx, dword [esp + 0x68]
mov edi, esi
call fcn.004039d0
mov byte [esp + 0x448], 8
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x6c]
cmp eax, ecx
je 0x429748
push eax
call fcn.004329c3
add esp, 4
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor esi, esi
push esi
lea edx, [esp + 0x1c]
push edx
push esi
push 0x16
push ebx
mov dword [esp + 0x2c], esi
call edi
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x4297ab
push eax
call fcn.00433592
mov esi, eax
add esp, 4
test esi, esi
je 0x4297ab
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push 0x16
push ebx
call edi
test eax, eax
jne 0x429791
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
mov edx, esi
mov edi, ebp
call fcn.004039d0
push esi
call fcn.004329c3
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
add esp, 4
xor esi, esi
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x13
push ebx
mov dword [esp + 0x2c], 0
call edi
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x4297f2
push eax
call fcn.00433592
mov esi, eax
add esp, 4
test esi, esi
je 0x429811
push 0
lea edx, [esp + 0x1c]
push edx
push esi
push 0x13
push ebx
call edi
test eax, eax
jne 0x4297f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
test esi, esi
je 0x429811
mov edx, esi
lea edi, [ebp + 8]
call fcn.004039d0
push esi
call fcn.004329c3
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
add esp, 4
xor esi, esi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x40000009
push ebx
mov dword [esp + 0x2c], 0
call edi
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x42985e
push eax
call fcn.00433592
mov esi, eax
add esp, 4
test esi, esi
je 0x429882
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push 0x40000009
push ebx
call edi
test eax, eax
jne 0x42985e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x1c], eax
test esi, esi
je 0x429882
mov edx, dword [esi]
mov dword [ebp + 0xc], edx
mov eax, dword [esi + 4]
mov dword [ebp + 0x10], eax
mov ecx, dword [esi + 8]
mov dword [ebp + 0x14], ecx
mov edx, dword [esi + 0xc]
push esi
mov dword [ebp + 0x18], edx
call fcn.004329c3
add esp, 4
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], 0
jmp 0x4298a2
mov byte [esp + 0x17], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x38]
mov dword [ebp + 0x1c], eax
test ebx, ebx
je 0x4298ad
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test esi, esi
je 0x4298b8
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4298c7
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea esi, [esp + 0x16c]
call fcn.00428360
mov byte [esp + 0x448], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4298fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x448], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x448], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42994b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x448], 1
mov eax, dword [esp + 0x450]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x448], 0
mov eax, dword [esp + 0x458]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4299a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x448], 0xffffffff
mov eax, dword [esp + 0x45c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4299cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.00432079
add esp, 0x438
ret