Function at 0x40ebec
Capabilities:
Check http status code
Connect to http server
Create http request
Get file size
Read and send data from client to server
Read data from internet
Read file on windows
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x215
push 0
push 0
dec ecx
jne 0x40ebf4
push ebx
push esi
push edi
mov dword [ebp - 0x1054], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40ffd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x188], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x14c
call fcn.004583b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x1014], eax
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x128], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x117], 1
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x101c]
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call sym.WeiXun.exe__Auhttp_ParseURL_qqr17System_AnsiStringr17System_AnsiStringt2t2t2t2t2rus
lea edx, [ebp - 0x1080]
mov eax, dword [ebp - 0x102c]
call sym.WeiXun.exe__Auhttp_URLEncode_qqrx17System_AnsiString
mov edx, dword [ebp - 0x1080]
lea eax, [ebp - 0x102c]
call fcn.00458448
cmp dword [ebp - 0x1024], 0
jne 0x40ecc9
lea eax, [ebp - 0x1024]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x30]
call fcn.00458448
cmp dword [ebp - 0x1028], 0
jne 0x40ece3
lea eax, [ebp - 0x1028]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x34]
call fcn.00458448
push ebp
call fcn.0040e77c
pop ecx
mov eax, dword [ebp - 0x1018]
mov edx, 0x40fff0
call fcn.004587ac
sete byte [ebp - 0x1039]
cmp byte [ebp - 0x1039], 0
jne 0x40fa8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp - 0x1040]
cmp byte [eax + 4], 2
jne 0x40ee50
mov eax, dword [ebp - 0x1040]
cmp dword [eax + 0x10], 0
jne 0x40edc0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x71]
mov eax, dword [eax*4 + 0x4dd068]
push eax
push 0
mov eax, dword [ebp - 0x1040]
push dword [eax + 0xc]
push 0x410000
lea edx, [ebp - 0x1088]
mov eax, dword [ebp - 0x1040]
mov eax, dword [eax + 8]
call fcn.004466b8
push dword [ebp - 0x1088]
lea eax, [ebp - 0x1084]
mov edx, 3
call fcn.00458728
mov eax, dword [ebp - 0x1084]
call fcn.00458860
push eax
mov eax, dword [ebp - 0x1040]
movzx eax, byte [eax + 4]
mov eax, dword [eax*4 + 0x4dd070]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00458860
push eax
call sub.WININET.DLL_InternetOpenA
mov edx, dword [ebp - 4]
mov dword [edx + 0x138], eax
jmp 0x40ee8f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x71]
mov eax, dword [eax*4 + 0x4dd068]
push eax
mov eax, dword [ebp - 0x1040]
mov eax, dword [eax + 0x10]
call fcn.00458860
push eax
mov eax, dword [ebp - 0x1040]
push dword [eax + 0xc]
push 0x410000
lea edx, [ebp - 0x1090]
mov eax, dword [ebp - 0x1040]
mov eax, dword [eax + 8]
call fcn.004466b8
push dword [ebp - 0x1090]
lea eax, [ebp - 0x108c]
mov edx, 3
call fcn.00458728
mov eax, dword [ebp - 0x108c]
call fcn.00458860
push eax
mov eax, dword [ebp - 0x1040]
movzx eax, byte [eax + 4]
mov eax, dword [eax*4 + 0x4dd070]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00458860
push eax
call sub.WININET.DLL_InternetOpenA
mov edx, dword [ebp - 4]
mov dword [edx + 0x138], eax
jmp 0x40ee8f
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x71]
mov eax, dword [eax*4 + 0x4dd068]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1040]
movzx eax, byte [eax + 4]
mov eax, dword [eax*4 + 0x4dd070]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00458860
push eax
call sub.WININET.DLL_InternetOpenA
mov edx, dword [ebp - 4]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0x1040]
cmp byte [eax + 4], 1
je 0x40eedd
mov eax, dword [ebp - 0x1040]
cmp dword [eax + 0x14], 0
je 0x40eedd
mov eax, dword [ebp - 0x1040]
cmp dword [eax + 0x18], 0
je 0x40eedd
push ebp
mov eax, dword [ebp - 0x1040]
mov edx, dword [eax + 0x14]
mov eax, 0x2b
call fcn.0040e80c
pop ecx
push ebp
mov eax, dword [ebp - 0x1040]
mov edx, dword [eax + 0x18]
mov eax, 0x2c
call fcn.0040e80c
pop ecx
push 0x40c744
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
push eax
call sub.WININET.DLL_InternetSetStatusCallback
mov eax, dword [ebp - 4]
cmp dword [eax + 0x138], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40ffa0
push ebp
call fcn.0040e77c
pop ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 0x1028]
call fcn.00458860
push eax
mov eax, dword [ebp - 0x1024]
call fcn.00458860
push eax
mov ax, word [ebp - 0x1010]
push eax
mov eax, dword [ebp - 0x101c]
call fcn.00458860
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
push eax
call sub.WININET.DLL_InternetConnectA
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13c], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40ffa0
push ebp
call fcn.0040e77c
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00458860
mov dword [ebp - 0x1034], eax
xor eax, eax
mov dword [ebp - 0x1030], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x69], 0
jne 0x40efd9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
jne 0x40efcf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x68], 1
je 0x40efcf
xor eax, eax
jmp 0x40efd1
mov al, 1
mov byte [ebp - 0x100d], al
jmp 0x40efe7
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x69]
dec eax
mov byte [ebp - 0x100d], al
xor eax, eax
mov dword [ebp - 0x100c], eax
mov eax, dword [ebp - 0x1018]
mov edx, 0x41000c
call fcn.004587ac
jne 0x40f00d
add dword [ebp - 0x100c], 0x800000
jmp 0x40f01d
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 0x20
je 0x40f01d
add dword [ebp - 0x100c], 0x10
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 1
je 0x40f030
add dword [ebp - 0x100c], 0x80000000
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 2
je 0x40f043
add dword [ebp - 0x100c], 0x400
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 4
je 0x40f056
add dword [ebp - 0x100c], 0x800
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 8
je 0x40f069
add dword [ebp - 0x100c], 0x100
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 0x10
je 0x40f07c
add dword [ebp - 0x100c], 0x4000000
mov eax, dword [ebp - 4]
test byte [eax + 0x58], 0x40
je 0x40f08f
add dword [ebp - 0x100c], 0x10000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 1
je 0x40f0a2
add dword [ebp - 0x100c], 0x1000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 2
je 0x40f0b5
add dword [ebp - 0x100c], 0x2000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 8
je 0x40f0c8
add dword [ebp - 0x100c], 0x8000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 0x10
je 0x40f0db
add dword [ebp - 0x100c], 0x4000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 0x20
je 0x40f0ee
add dword [ebp - 0x100c], 0x400000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 0x40
je 0x40f101
add dword [ebp - 0x100c], 0x40000
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 0x80
je 0x40f114
add dword [ebp - 0x100c], 0x200000
mov eax, dword [ebp - 4]
test byte [eax + 0x5a], 1
je 0x40f127
add dword [ebp - 0x100c], 0x80000
push 0
mov eax, dword [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1034]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00458860
push eax
push 0
lea eax, [ebp - 0x1094]
mov ecx, dword [ebp - 0x102c]
mov edx, dword [ebp - 0x1020]
call fcn.004586b4
mov eax, dword [ebp - 0x1094]
call fcn.00458860
push eax
xor eax, eax
mov al, byte [ebp - 0x100d]
mov eax, dword [eax*4 + 0x4dd07c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.WININET.DLL_HttpOpenRequestA
mov edx, dword [ebp - 4]
mov dword [edx + 0x140], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x140], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40ffa0
push ebp
call fcn.0040e77c
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x1044], eax
mov eax, dword [ebp - 0x1044]
cmp dword [eax + 4], 0
je 0x40f1ea
push ebp
mov eax, dword [ebp - 0x1044]
mov edx, dword [eax + 4]
mov eax, 2
call fcn.0040e844
pop ecx
mov eax, dword [ebp - 0x1044]
cmp dword [eax + 8], 0
je 0x40f20b
push ebp
mov eax, dword [ebp - 0x1044]
mov edx, dword [eax + 8]
mov eax, 6
call fcn.0040e844
pop ecx
mov eax, dword [ebp - 0x1044]
cmp dword [eax + 0xc], 0
je 0x40f22c
push ebp
mov eax, dword [ebp - 0x1044]
mov edx, dword [eax + 0xc]
mov eax, 5
call fcn.0040e844
pop ecx
mov eax, dword [ebp - 4]
test byte [eax + 0x59], 4
je 0x40f246
push ebp
mov edx, 0x100
mov eax, 0x1f
call fcn.0040e844
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x70], 0
je 0x40f274
mov eax, dword [ebp - 4]
call sym.WeiXun.exe__Auhttp_TauCustomHTTP_IsGlobalOffline_qqrv
test al, al
je 0x40f274
push 0
call sub.USER32.DLL_GetDesktopWindow
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.00458860
push eax
call sub.WININET.DLL_InternetGoOnline
mov eax, dword [ebp - 4]
cmp word [eax + 0x7a], 0
je 0x40f293
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x140]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x7c]
call dword [ebx + 0x78]
push ebp
mov al, 1
call fcn.0040e95c
pop ecx
test al, al
je 0x40ffa0
push ebp
call fcn.0040e77c
pop ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x115], 0
cmp byte [ebp - 0x100d], 0
je 0x40f4d6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x68], 0
jne 0x40f30d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00458668
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00458860
push eax
push 0x2f
push 0x410014
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_HttpSendRequestA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
jmp 0x40f4fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.0043ba8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
lea eax, [ebp - 0x107c]
mov edx, 0x28
call sym.WeiXun.exe__Auutils_InitMSRecord_qqrpvi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
call fcn.00458860
mov dword [ebp - 0x1074], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
call fcn.00458668
mov dword [ebp - 0x1070], eax
mov eax, dword [ebp - 0x1070]
mov dword [ebp - 0x106c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov dword [ebp - 0x1060], eax
push 0
push 8
push 0
lea eax, [ebp - 0x107c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_HttpSendRequestExA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40f4fc
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.0043ba78
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x124], edx
jmp 0x40f493
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x124]
add eax, dword [ebp - 0x1014]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x120]
jbe 0x40f417
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x124]
mov dword [ebp - 0x100c], eax
jmp 0x40f423
mov eax, dword [ebp - 0x1014]
mov dword [ebp - 0x100c], eax
lea eax, [ebp - 0x100c]
push eax
mov eax, dword [ebp - 0x100c]
push eax
mov eax, dword [ebp - 0x1048]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x124]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_InternetWriteFile
test eax, eax
je 0x40f4a2
cmp dword [ebp - 0x100c], 0
je 0x40f4a2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x100c]
add dword [eax + 0x124], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x40f493
mov eax, dword [ebp - 4]
push eax
push sym.WeiXun.exe__Auhttp_TauCustomHTTP_CallUploadProgress_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10c]
call sym.WeiXun.exe__Authread_TauCustomThread_Synchronize_qqrynpqqrv_v
push ebp
call fcn.0040e77c
pop ecx
test al, al
je 0x40f3d4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_HttpEndRequestA
test eax, eax
jne 0x40f4fc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x2f00
jne 0x40f4fc
mov eax, dword [ebp - 4]
mov byte [eax + 0x115], 1
jmp 0x40f77a
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_HttpSendRequestA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
jne 0x40f536
mov eax, dword [ebp - 4]
cmp dword [eax + 0x110], 0
je 0x40ffa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.00457660
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x110], edx
jmp 0x40ffa0
push ebp
call fcn.0040e77c
pop ecx
push ebp
mov eax, 0x13
call fcn.0040e7c0
pop ecx
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40f58a
lea eax, [ebp - 0x1098]
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
mov eax, dword [ebp - 0x1098]
xor edx, edx
call fcn.00446794
mov edx, dword [ebp - 4]
mov dword [edx + 0x188], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0x1a0
jne 0x40f60c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
je 0x40f60c
push ebp
call fcn.0040eab8
pop ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x12c]
je 0x40ffa0
mov eax, dword [ebp - 4]
mov dword [eax + 0x188], 0xffffffff
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x12c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x140], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.WININET.DLL_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x13c], edx
jmp 0x40ef17
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0x191
jne 0x40f711
mov eax, dword [ebp - 4]
cmp word [eax + 0xf2], 0
je 0x40f711
push ebp
mov eax, 0x28
call fcn.0040e7c0
pop ecx
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40f6c7
mov eax, dword [ebp - 4]
add eax, 0x14c
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14c]
mov eax, 0x41004c
call fcn.004589a4
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x100c], 0
je 0x40f6d4
add dword [ebp - 0x100c], 2
mov eax, dword [ebp - 4]
add eax, 0x14c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00458668
mov ecx, eax
sub ecx, dword [ebp - 0x100c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
mov edx, dword [ebp - 0x100c]
call fcn.004588c0
jmp 0x40f6d4
mov eax, dword [ebp - 4]
add eax, 0x14c
call fcn.004583b0
mov eax, dword [ebp - 4]
push eax
push sym.WeiXun.exe__Auhttp_TauCustomHTTP_CallPasswordRequest_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10c]
call sym.WeiXun.exe__Authread_TauCustomThread_Synchronize_qqrynpqqrv_v
push ebp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, 0x1c
call fcn.0040e80c
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, 0x1d
call fcn.0040e80c
pop ecx
jmp 0x40f77a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0x197
jne 0x40f77a
mov eax, dword [ebp - 4]
cmp word [eax + 0xfa], 0
je 0x40f77a
mov eax, dword [ebp - 4]
push eax
push sym.WeiXun.exe__Auhttp_TauCustomHTTP_CallProxyAuthenticationRequest_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10c]
call sym.WeiXun.exe__Authread_TauCustomThread_Synchronize_qqrynpqqrv_v
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x104c], eax
push ebp
mov eax, dword [ebp - 0x104c]
mov edx, dword [eax + 0x14]
mov eax, 0x2b
call fcn.0040e80c
pop ecx
push ebp
mov eax, dword [ebp - 0x104c]
mov edx, dword [eax + 0x18]
mov eax, 0x2c
call fcn.0040e80c
pop ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x115], 0
jne 0x40f2a4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x110], 0
je 0x40f7af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
call fcn.00457660
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x110], edx
push ebp
call fcn.0040e77c
pop ecx
push ebp
mov eax, 1
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f7de
mov eax, dword [ebp - 4]
add eax, 0x14c
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
push ebp
mov eax, 5
call fcn.0040e7c0
pop ecx
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40f82d
lea eax, [ebp - 0x109c]
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
mov eax, dword [ebp - 0x109c]
xor edx, edx
call fcn.00446794
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
jmp 0x40f838
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x120], edx
push ebp
mov eax, 0x35
call fcn.0040e7c0
pop ecx
test al, al
jne 0x40f853
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x12c], edx
mov eax, dword [ebp - 4]
cmp word [eax + 0x82], 0
je 0x40fb6e
push ebp
mov eax, 0x16
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f88e
mov eax, dword [ebp - 4]
add eax, 0x148
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
jmp 0x40f89b
mov eax, dword [ebp - 4]
add eax, 0x148
call fcn.004583b0
push ebp
mov eax, 6
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f8c5
mov eax, dword [ebp - 4]
add eax, 0x150
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
jmp 0x40f8d2
mov eax, dword [ebp - 4]
add eax, 0x150
call fcn.004583b0
push ebp
mov eax, 0x1d
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f8fc
mov eax, dword [ebp - 4]
add eax, 0x154
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
jmp 0x40f909
mov eax, dword [ebp - 4]
add eax, 0x154
call fcn.004583b0
push ebp
mov eax, 0x21
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f933
mov eax, dword [ebp - 4]
add eax, 0x158
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
jmp 0x40f940
mov eax, dword [ebp - 4]
add eax, 0x158
call fcn.004583b0
push ebp
mov eax, 0x36
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f96a
mov eax, dword [ebp - 4]
add eax, 0x15c
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
jmp 0x40f977
mov eax, dword [ebp - 4]
add eax, 0x15c
call fcn.004583b0
push ebp
mov eax, 9
call fcn.0040e7c0
pop ecx
test al, al
je 0x40f9b4
lea eax, [ebp - 0x10a0]
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
mov eax, dword [ebp - 0x10a0]
call sym.WeiXun.exe__Auutils_InternetTimeToDateTime_qqr17System_AnsiString
mov eax, dword [ebp - 4]
fstp qword [eax + 0x160]
wait
jmp 0x40f9c5
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x160], edx
mov dword [eax + 0x164], edx
push ebp
mov eax, 0xb
call fcn.0040e7c0
pop ecx
test al, al
je 0x40fa02
lea eax, [ebp - 0x10a4]
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
mov eax, dword [ebp - 0x10a4]
call sym.WeiXun.exe__Auutils_InternetTimeToDateTime_qqr17System_AnsiString
mov eax, dword [ebp - 4]
fstp qword [eax + 0x168]
wait
jmp 0x40fa13
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x168], edx
mov dword [eax + 0x16c], edx
push ebp
mov eax, 0xa
call fcn.0040e7c0
pop ecx
test al, al
je 0x40fa50
lea eax, [ebp - 0x10a8]
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.00458618
mov eax, dword [ebp - 0x10a8]
call sym.WeiXun.exe__Auutils_InternetTimeToDateTime_qqr17System_AnsiString
mov eax, dword [ebp - 4]
fstp qword [eax + 0x170]
wait
jmp 0x40fa61
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x170], edx
mov dword [eax + 0x174], edx
mov eax, dword [ebp - 4]
push eax
push sym.WeiXun.exe__Auhttp_TauCustomHTTP_CallHeaderInfo_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10c]
call sym.WeiXun.exe__Authread_TauCustomThread_Synchronize_qqrynpqqrv_v
mov eax, dword [ebp - 4]
cmp byte [eax + 0x117], 0
je 0x40ffa0
jmp 0x40fb6e
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
mov eax, dword [ebp - 0x1020]
call fcn.00458860
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [ebp - 4]
mov dword [edx + 0x144], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x144], 0xffffffff
jne 0x40fae2
mov eax, dword [ebp - 4]
mov dword [eax + 0x188], 0x194
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x120], edx
jmp 0x40fb6e
mov eax, dword [ebp - 4]
mov dword [eax + 0x188], 0xc8
lea eax, [ebp - 0x100c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
je 0x40fb39
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
push eax
call sub.KERNEL32.DLL_SetFilePointer
jmp 0x40fb6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x1050], eax
mov eax, dword [ebp - 0x1050]
cmp dword [eax + 4], 0
je 0x40fb6e
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
push eax
call sub.KERNEL32.DLL_SetFilePointer
push ebp
call fcn.0040e77c
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xc8
je 0x40fb97
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xce
jne 0x40fcda
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
je 0x40fcda
xor eax, eax
push ebp
push 0x40fc55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
sete al
push eax
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov dl, 1
mov eax, dword [sym.WeiXun.exe__Auhttp_TauFileStream_]
call sym.WeiXun.exe__Auhttp_TauFileStream__bctr_qqrx17System_AnsiStringoo
mov edx, dword [ebp - 4]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
je 0x40fc1c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x12c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
xor ecx, ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x12c]
je 0x40fc1c
mov eax, dword [ebp - 4]
mov dword [eax + 0x188], 0xffffffff
jmp 0x40fc41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dl, byte [0x410050]
cmp dl, byte [eax + 5]
je 0x40fc41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dl, byte [eax + 5]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
call sym.WeiXun.exe__Auutils_SetFileAttr_qqrx17System_AnsiStringx52System__Set_t24Auutils_TauFileAttribute_iuc_0_iuc_5_
mov eax, dword [ebp - 4]
mov byte [eax + 0x116], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40fc95
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xffffffff
jne 0x40fd11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x140], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
push eax
call sub.WININET.DLL_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x13c], edx
jmp 0x40ef17
mov dl, 1
mov eax, dword [0x4376a0]
call fcn.00457630
mov edx, dword [ebp - 4]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40fd11
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x120]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x12c], 0
je 0x40fd29
mov eax, dword [ebp - 4]
cmp byte [eax + 0x116], 0
jne 0x40fd2d
xor eax, eax
jmp 0x40fd2f
mov al, 1
mov byte [ebp - 0x100d], al
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x124], edx
mov eax, dword [ebp - 0x1014]
call fcn.00456570
mov edx, dword [ebp - 4]
mov dword [edx + 0x11c], eax
jmp 0x40ff09
cmp byte [ebp - 0x1039], 0
je 0x40fd95
push 0
lea eax, [ebp - 0x100c]
push eax
mov eax, dword [ebp - 0x1014]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x144]
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
je 0x40ff18
jmp 0x40fdc4
lea eax, [ebp - 0x100c]
push eax
mov eax, dword [ebp - 0x1014]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
push eax
call sub.WININET.DLL_InternetReadFile
test eax, eax
je 0x40ff18
cmp dword [ebp - 0x100c], 0
je 0x40ff18
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x100c]
add dword [eax + 0x124], edx
cmp byte [ebp - 0x100d], 0
je 0x40fec8
mov byte [ebp - 0x100d], 0
mov eax, dword [ebp - 0x1014]
call fcn.00456570
mov dword [ebp - 0x1038], eax
xor eax, eax
push ebp
push 0x40fe6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1038]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, dword [ebp - 0x1014]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x11c]
mov ecx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x1038]
call fcn.004462c0
xor al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x115], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fe72
mov eax, dword [ebp - 0x1038]
call fcn.00456590
ret
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x110]
mov ecx, dword [ebp - 0x100c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
cmp word [eax + 0x9a], 0
je 0x40ff09
mov eax, dword [ebp - 4]
push eax
push sym.WeiXun.exe__Auhttp_TauCustomHTTP_CallProgress_qqrv
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10c]
call sym.WeiXun.exe__Authread_TauCustomThread_Synchronize_qqrynpqqrv_v
push ebp
call fcn.0040e77c
pop ecx
test al, al
je 0x40fd59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.00456590
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x11c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xc8
je 0x40ff53
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0xce
je 0x40ff53
xor eax, eax
jmp 0x40ff55
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x114], 0
je 0x40ffa0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x120], 0
je 0x40ffa0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x110], 0
je 0x40ffa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x124]
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x114], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ffe0
lea eax, [ebp - 0x10a8]
mov edx, 0xb
call fcn.004583d4
lea eax, [ebp - 0x102c]
mov edx, 6
call fcn.004583d4
lea eax, [ebp - 0x1008]
call fcn.004583b0
ret