Function at 0x647018ae
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x647410df
mov eax, dword fs:[0]
push eax
mov eax, 0x21c8
call fcn.64726940
mov eax, dword [0x6475a360]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2194], edi
mov dword [ebp - 0x2180], eax
test edi, edi
jne 0x647018fd
xor eax, eax
jmp 0x64701cf7
push str.JMT__CPostDataParamThread::SyncPostData_begin......
call fcn.64721861
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x218c], 0
mov dword [ebp - 0x2198], eax
lea eax, [ebp - 0x2188]
push eax
push 0x104
push str.Content_Type:application_x_www_form_urlencoded
call fcn.64701803
test eax, eax
jne 0x647018f6
mov al, byte [edi]
mov ecx, edi
mov dword [ebp - 0x2190], 0xa4003000
mov dword [ebp - 0x217c], 0x50
jmp 0x6470195a
cmp al, 0x20
je 0x64701957
cmp al, 9
jne 0x6470195e
inc ecx
mov al, byte [ecx]
test al, al
jne 0x6470194f
push ecx
lea ecx, [ebp - 0x2178]
call fcn.647011e6
mov esi, eax
and dword [ebp - 4], 0
mov ebx, 0x647456ec
push ebx
call fcn.64725b00
pop ecx
push eax
push 0
push ebx
mov ecx, esi
call fcn.64702345
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2178]
call fcn.647020ab
inc bl
je 0x647019b5
mov dword [ebp - 0x2190], 0xa4803000
mov ebx, 0x1bb
jmp 0x647019bb
mov ebx, dword [ebp - 0x217c]
mov esi, 0x3ff
mov byte [ebp - 0xd60], 0
push esi
lea eax, [ebp - 0xd5f]
push 0
push eax
call fcn.64725a70
push esi
lea eax, [ebp - 0x115f]
mov byte [ebp - 0x1160], 0
push 0
push eax
call fcn.64725a70
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x21d4]
push 0
push eax
call fcn.64725a70
add esp, 0x24
mov dword [ebp - 0x21d4], esi
lea eax, [ebp - 0xd60]
mov ecx, 0x400
mov dword [ebp - 0x21c4], eax
lea eax, [ebp - 0x1160]
mov dword [ebp - 0x21a8], eax
lea eax, [ebp - 0x21d4]
push eax
push 0x10000000
push dword [ebp + 0xc]
mov dword [ebp - 0x21c0], ecx
push edi
mov dword [ebp - 0x21a4], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x647018f6
mov eax, dword [ebp - 0x21c4]
mov esi, dword [ebp - 0x21a8]
mov dword [ebp - 0x2188], eax
xor eax, eax
push eax
push eax
push eax
push eax
push 0x647456f4
mov dword [ebp - 0x217c], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x647018f6
push 0xff
lea eax, [ebp - 0x15f]
mov byte [ebp - 0x160], 0
push 0
push eax
call fcn.64725a70
add esp, 0xc
mov dword [ebp - 0x2184], 0x100
lea eax, [ebp - 0x2184]
push eax
lea eax, [ebp - 0x160]
push eax
push 0
call sub.urlmon.dll_ObtainUserAgentString
cmp eax, 0x8007000e
jne 0x64701b48
push dword [ebp - 0x2184]
call fcn.64722f0e
mov esi, eax
pop ecx
test esi, esi
je 0x64701b04
lea eax, [ebp - 0x2184]
push eax
push esi
push 0
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x64701afd
push dword [ebp - 0x2184]
push esi
push 0x29
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push esi
call fcn.647261f1
pop ecx
mov esi, dword [ebp - 0x217c]
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push ebx
push dword [ebp - 0x2188]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2188], eax
test eax, eax
jne 0x64701b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetConnect___X_
call fcn.6471ba48
pop ecx
pop ecx
jmp 0x64701cee
test eax, eax
jne 0x64701b0a
push dword [ebp - 0x2184]
lea eax, [ebp - 0x160]
push eax
push 0x29
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
jmp 0x64701b0a
xor ecx, ecx
push ecx
push dword [ebp - 0x2190]
push ecx
push ecx
push ecx
push esi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
jne 0x64701cb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpOpenRequest___X_
call fcn.6471ba48
pop ecx
pop ecx
jmp 0x64701ce6
push 0
lea eax, [ebp - 0x217c]
mov dword [ebp - 0x217c], 0x50
push eax
lea eax, [ebp - 0x60]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x64701db5
lea eax, [ebp - 0x60]
push eax
call fcn.647261d4
pop ecx
cmp eax, 0x12c
jb 0x64701d22
cmp eax, 0x191
je 0x64701bf5
cmp eax, 0x193
je 0x64701bf5
cmp eax, 0x197
jne 0x64701ce3
push 0
push 3
push 0x2eee
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x64701d15
lea eax, [ebp - 0x217c]
mov byte [ebp - 0x560], 0
push eax
lea eax, [ebp - 0x560]
mov dword [ebp - 0x217c], 0x400
push eax
push 0x2b
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
lea eax, [ebp - 0x217c]
mov byte [ebp - 0x960], 0
push eax
lea eax, [ebp - 0x960]
mov dword [ebp - 0x217c], 0x400
push eax
push 0x2c
push esi
call dword [sym.imp.WININET.dll_InternetQueryOptionA]
lea eax, [ebp - 0x560]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov dword [ebp - 0x217c], eax
lea eax, [ebp - 0x560]
push eax
push 0x2b
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 0x960]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov dword [ebp - 0x217c], eax
lea eax, [ebp - 0x960]
push eax
push 0x2c
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push dword [ebp + 0x14]
push dword [ebp - 0x2180]
push 0xffffffffffffffff
push str.Content_Type:application_x_www_form_urlencoded
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x64701b9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpSendRequest:__lu
call fcn.6471ba48
pop ecx
pop ecx
push esi
call ebx
push dword [ebp - 0x2188]
call ebx
push edi
call ebx
mov eax, dword [ebp - 0x218c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.647263d1
mov esp, ebp
pop ebp
ret 0x10
push eax
push str.InternetErrorDlg:_d
call fcn.64713cdf
jmp 0x64701ce1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp - 0x2194]
sub eax, dword [ebp - 0x2198]
push eax
push str.JMT__CAsyncUrlCall::SyncPostData_POST_JMF_OK__d_URL_s
call fcn.64721861
push 0xfff
lea eax, [ebp - 0x215f]
mov dword [ebp - 0x218c], 1
push 0
push eax
mov byte [ebp - 0x2160], 0
call fcn.64725a70
add esp, 0x18
jmp 0x64701d92
cmp dword [ebp - 0x2180], 0
je 0x64701ce3
push 0xfff
lea eax, [ebp - 0x215f]
mov byte [ebp - 0x2160], 0
push 0
push eax
call fcn.64725a70
add esp, 0xc
lea eax, [ebp - 0x2180]
push eax
push 0x1000
lea eax, [ebp - 0x2160]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x64701d68
jmp 0x64701ce3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CATGpcExtension::_HttpQueryInfo_error_code_:__lu
jmp 0x64701cdc