Function at 0x408f80
Capabilities:
Check http status code
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4929f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x55c
push ebx
push esi
push edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], esp
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [0x4be818]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
push edi
push 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0048cf83
mov eax, dword [0x4be818]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x64]
push edx
push eax
push ecx
mov byte [ebp - 4], 7
call fcn.0048ce52
test eax, eax
jne 0x409018
mov esi, dword [ebp + 8]
push 0x4c2d98
mov ecx, esi
call fcn.004844a1
mov dword [ebp - 0x30], edi
jmp 0x409823
push 0
lea edx, [ebp - 0x18]
push 4
mov esi, 0x7530
push edx
push 2
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], esi
call fcn.0048d0c6
push 0
lea eax, [ebp - 0x18]
push 4
push eax
push 6
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], esi
call fcn.0048d0c6
push 0
lea ecx, [ebp - 0x18]
push 4
push ecx
push 5
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], esi
call fcn.0048d0c6
push 0
lea edx, [ebp - 0x18]
push 4
push edx
push 8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], esi
call fcn.0048d0c6
push 0
lea eax, [ebp - 0x18]
push 4
push eax
push 7
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], esi
call fcn.0048d0c6
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x20]
push 0
push 0
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.0048d07e
mov edx, dword [ebp + 0x1c]
push 0x84000000
push 0
xor ecx, ecx
mov ebx, eax
mov eax, dword [ebp - 0x24]
push 0
push edi
test edx, edx
push 0
push eax
sete cl
push ecx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.0048da4d
mov esi, eax
push 0xffffffffffffffff
push 0x10000000
push str.Accept:__
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0048dbd7
mov edx, dword [ebp + 0x10]
push 0x4c2d98
push edx
call fcn.0046f2f7
add esp, 8
test eax, eax
je 0x40911d
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0x1c]
push eax
push str.Referer:
push ecx
call fcn.0048473c
push 0x10000000
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.0048dc0a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.00484433
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x409137
push 0xffffffffffffffff
push 0x10000000
push str.x_flash_version:_10_0_53_64
mov ecx, esi
call fcn.0048dbd7
push 0xffffffffffffffff
push 0x10000000
push str.Accept_Language:_zh_cn
mov ecx, esi
call fcn.0048dbd7
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x409164
push 0xffffffffffffffff
push 0x10000000
push str.Content_Type:_application_x_www_form_urlencoded
mov ecx, esi
call fcn.0048dbd7
push 0xffffffffffffffff
push 0x10000000
push str.Accept_Encoding:_gzip_deflate
mov ecx, esi
call fcn.0048dbd7
push 0xffffffffffffffff
push 0x10000000
push str.User_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_2.0.50727_
mov ecx, esi
call fcn.0048dbd7
lea edx, [ebp - 0x20]
lea eax, [ebp + 0x1c]
push edx
push str.Host:
push eax
call fcn.0048473c
push 0x10000000
push eax
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0048dc0a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.00484433
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4091cb
mov ecx, dword [ebp + 0x14]
push eax
push ecx
jmp 0x4091cf
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0048dc20
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x567]
mov byte [ebp - 0x568], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 7
call dword [edx + 0x30]
mov eax, dword [0x4be818]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x38], 0x194
call fcn.0048dc53
lea ecx, [ebp - 0x28]
push 0
push ecx
push 0x1d
mov ecx, esi
call fcn.0048dc92
lea edx, [ebp - 0x2c]
push 0
push edx
push 1
mov ecx, esi
call fcn.0048dc92
lea ecx, [ebp - 0x2c]
call fcn.0048490c
lea ecx, [ebp - 0x28]
call fcn.0048490c
mov eax, dword [ebp - 0x28]
push str.gzip
push eax
call fcn.0046f2f7
add esp, 8
test eax, eax
jne 0x4096dc
push 0x4c2de0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4c2e04]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x4c2e04]
inc edx
mov dword [0x4c2e04], edx
mov eax, dword [0x4c2e04]
cmp eax, 0x1e
jl 0x40929e
mov dword [0x4c2e04], 0
push 0x4c2de0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4be818]
mov dword [ebp + 0x24], eax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x167]
mov byte [ebp - 0x168], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push ecx
stosb byte es:[edi], al
call fcn.00409c20
add esp, 4
push 0x4b935c
lea edx, [ebp + 0x14]
push eax
push edx
mov byte [ebp - 4], 0xf
call fcn.004846c8
mov eax, dword [eax]
lea ecx, [ebp - 0x168]
push ecx
push 0
push str.ZipFile
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp + 0x14]
mov edi, eax
call fcn.00484433
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00484433
test edi, edi
je 0x40932f
lea edx, [ebp - 0x168]
lea ecx, [ebp + 0x24]
push edx
call fcn.004845bc
jmp 0x409382
lea eax, [ebp - 0x18]
push eax
call fcn.00409c20
add esp, 4
push 0x4b935c
lea ecx, [ebp + 0x14]
push eax
push ecx
mov byte [ebp - 4], 0x10
call fcn.004846c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp + 0x24]
push str._sgz_02d.gz
push ecx
mov byte [ebp - 4], 0x11
call fcn.004827a3
add esp, 0x10
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x10
call fcn.00484433
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.00484433
lea ecx, [ebp - 0x48]
call fcn.0048883e
mov edx, dword [ebp + 0x24]
push 0
push 0x9001
push edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.00488950
test eax, eax
jne 0x409456
mov esi, dword [ebp + 8]
push 0x4b9450
mov ecx, esi
call fcn.004844a1
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0xe
call fcn.00488893
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0xd
call fcn.00484433
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00484433
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00484433
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00484433
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00484433
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0048cf3e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00484433
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00484433
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00484433
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0
call fcn.00484433
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea ecx, [ebp - 0x568]
push 0x3ff
push ecx
mov ecx, esi
call dword [eax + 0x34]
test eax, eax
je 0x409494
lea edx, [ebp - 0x568]
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00488aa7
mov eax, dword [esi]
lea ecx, [ebp - 0x568]
push 0x3ff
push ecx
mov ecx, esi
call dword [eax + 0x34]
test eax, eax
jne 0x40946d
lea ecx, [ebp - 0x48]
call fcn.00488b6b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
test esi, esi
je 0x4094b7
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
je 0x4094c4
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.0048d028
lea ecx, [ebp + 0x14]
push ecx
call fcn.00409c20
add esp, 4
push 0x4b935c
lea edx, [ebp + 0x1c]
push eax
push edx
mov byte [ebp - 4], 0x13
call fcn.004846c8
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x15
call fcn.00484433
mov eax, dword [0x4be818]
mov dword [ebp + 0x18], eax
push 0x4b9358
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x16
call fcn.0048241d
test eax, eax
jge 0x409541
lea ecx, [ebp + 0x24]
lea edx, [ebp - 0x1c]
push ecx
push 0x4b8634
push edx
call fcn.0048473c
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x17
call fcn.0048484b
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.00484433
jmp 0x40954d
lea eax, [ebp + 0x24]
lea ecx, [ebp + 0x1c]
push eax
call fcn.0048456c
push 0x5c
lea ecx, [ebp + 0x1c]
call fcn.004823fb
test eax, eax
jl 0x409583
lea ecx, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp + 0x1c]
call fcn.00482358
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x18
call fcn.0048456c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.00484433
jmp 0x40958f
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x18]
push edx
call fcn.0048456c
push ecx
lea eax, [ebp + 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004841a8
push ecx
lea edx, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 0x19
call fcn.004841a8
mov byte [ebp - 4], 0x16
call fcn.00409c70
add esp, 8
test eax, eax
jne 0x4095e5
mov eax, dword [0x4c2e00]
test eax, eax
jne 0x4095d8
push 0
push 0
push 0x4b9300
call fcn.0048c07d
push 0x4b9418
lea ecx, [ebp - 0x14]
call fcn.004845bc
lea eax, [ebp + 0x1c]
lea ecx, [ebp + 0x20]
push eax
call fcn.004841a8
mov bl, 0x1a
push 0x2e
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], bl
call fcn.004823fb
test eax, eax
jl 0x409629
lea ecx, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp + 0x20]
call fcn.00482358
push eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1b
call fcn.0048456c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00484433
mov edx, dword [ebp + 0x20]
push 0
push 0
push edx
lea ecx, [ebp - 0x48]
call fcn.00488950
test eax, eax
je 0x409689
lea ecx, [ebp - 0x48]
call fcn.00488c4a
inc eax
push eax
call fcn.00484998
add esp, 4
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00488c4a
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00488a6d
lea ecx, [ebp - 0x48]
call fcn.00488c4a
push esi
lea ecx, [ebp - 0x14]
mov byte [eax + esi], 0
call fcn.004845bc
push esi
call fcn.004849c1
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.00488b6b
mov eax, dword [ebp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov ecx, dword [ebp + 0x1c]
push ecx
call esi
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x16
call fcn.00484433
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x15
call fcn.00484433
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00484433
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.00488893
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0xd
call fcn.00484433
jmp 0x409767
mov byte [ebp - 4], 0x1c
mov edx, dword [esi]
lea eax, [ebp - 0x568]
push 0x3ff
push eax
mov ecx, esi
call dword [edx + 0x34]
test eax, eax
je 0x409730
lea ecx, [ebp - 0x568]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0048480f
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x568]
rep stosd dword es:[edi], eax
jmp 0x4096e0
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xd
call dword [edx + 0x4c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
test esi, esi
je 0x409752
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
je 0x40975f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.0048d028
push str.charsetutf_8
lea ecx, [ebp - 0x2c]
call fcn.0048241d
test eax, eax
jl 0x4097d9
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
lea edx, [eax*4]
push edx
call fcn.00484998
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edi, esi
add esp, 4
mov ecx, dword [eax - 8]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
lea ecx, [ebp - 0x14]
push eax
push esi
push eax
push 0
call fcn.00484863
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004848b2
push esi
lea ecx, [ebp - 0x14]
call fcn.004845e3
push esi
call fcn.004849c1
add esp, 4
mov eax, dword [ebp - 0x38]
cmp eax, 0xc8
je 0x4097f5
push eax
lea edx, [ebp - 0x14]
push str._errorContent_:_HTTP
push edx
call fcn.004827a3
add esp, 0xc
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004841a8
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
or al, 1
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], eax
call fcn.00484433
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00484433
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00484433
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00484433
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0048cf3e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00484433
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00484433
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00484433
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0
call fcn.00484433
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret