Function at 0x4088b0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x540
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x4be818]
mov dword [ebp - 0x20], eax
push edi
push edi
push edi
push edi
push 1
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0048cf83
mov eax, dword [0x4be818]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push eax
push ecx
push edx
mov byte [ebp - 4], 7
call fcn.0048ce52
cmp eax, edi
je 0x408af8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
push edi
push edi
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0048d07e
mov edx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
and edx, 0x84000000
mov ebx, eax
mov eax, dword [ebp - 0x18]
push edx
push edi
push edi
cmp esi, edi
push 1
push edi
push eax
sete cl
push ecx
mov ecx, ebx
call fcn.0048da4d
mov esi, eax
push 0xffffffffffffffff
push 0x10000000
push str.Accept:__
mov ecx, esi
call fcn.0048dbd7
mov edx, dword [ebp + 0x10]
push 0x4c2d98
push edx
call fcn.0046f2f7
add esp, 8
test eax, eax
je 0x4089ba
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0x2c]
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 + 0x2c]
mov byte [ebp - 4], 7
call fcn.00484433
push 0xffffffffffffffff
push 0x10000000
push str.Accept_Language:_zh_cn
mov ecx, esi
call fcn.0048dbd7
cmp dword [ebp + 0x20], edi
je 0x4089e5
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 - 0x14]
lea eax, [ebp + 0x2c]
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 + 0x2c]
mov byte [ebp - 4], 7
call fcn.00484433
mov ecx, dword [ebp + 0x24]
push 0x4c2d98
push ecx
call fcn.0046f2f7
add esp, 8
test eax, eax
je 0x408a7e
lea edx, [ebp + 0x24]
lea eax, [ebp + 0x2c]
push edx
push str.Cookie:
push eax
call fcn.0048473c
push 0x10000000
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.0048dc0a
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 7
call fcn.00484433
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0xb
cmp eax, edi
je 0x408a90
mov ecx, dword [ebp + 0x14]
push eax
push ecx
jmp 0x408a92
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0048dc20
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], 7
cmp eax, edi
je 0x408aba
lea edx, [ebp + 0x2c]
mov ecx, esi
push edx
push eax
push 0x2b
mov dword [ebp + 0x2c], edi
call fcn.0048dc92
lea ecx, [ebp - 0x34]
call fcn.0048883e
mov eax, dword [ebp + 0xc]
push edi
push 0x9001
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.00488950
test eax, eax
jne 0x408b6e
push edi
push edi
push str.Unable_to_open_file
call fcn.0048c07d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00488893
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00484433
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00484433
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0048cf3e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00484433
lea ecx, [ebp + 8]
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
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00484433
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [0x4be818]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
push edi
push ecx
push 0x1d
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0048dc92
lea ecx, [ebp - 0x1c]
call fcn.0048490c
mov edx, dword [esi]
lea eax, [ebp - 0x54c]
push 0x3ff
push eax
mov ecx, esi
call dword [edx + 0x34]
cmp eax, edi
je 0x408bd5
lea ecx, [ebp - 0x54c]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00488aa7
mov edx, dword [esi]
lea eax, [ebp - 0x54c]
push 0x3ff
push eax
mov ecx, esi
call dword [edx + 0x34]
cmp eax, edi
jne 0x408bae
lea ecx, [ebp - 0x34]
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]
cmp esi, edi
je 0x408bf8
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
cmp ebx, edi
je 0x408c05
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x48]
call fcn.0048d028
mov ecx, dword [ebp - 0x1c]
push str.gzip
push ecx
call fcn.0046f2f7
add esp, 8
test eax, eax
jne 0x408dba
lea edx, [ebp + 0x18]
push edx
call fcn.00409c20
add esp, 4
push 0x4b935c
push eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 0xf
push eax
call fcn.004846c8
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0x11
call fcn.00484433
mov ecx, dword [0x4be818]
mov dword [ebp + 0x20], ecx
push 0x4b9358
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x12
call fcn.0048241d
test eax, eax
jge 0x408c9c
lea edx, [ebp + 0xc]
lea eax, [ebp + 0x14]
push edx
push 0x4b8634
push eax
call fcn.0048473c
push eax
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0x13
call fcn.0048484b
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x12
call fcn.00484433
jmp 0x408ca8
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 0x2c]
call fcn.0048456c
push 0x5c
lea ecx, [ebp + 0x2c]
call fcn.004823fb
cmp eax, edi
jl 0x408cde
lea edx, [ebp + 0x14]
push eax
push edx
lea ecx, [ebp + 0x2c]
call fcn.00482358
push eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x14
call fcn.0048456c
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x12
call fcn.00484433
jmp 0x408cea
lea eax, [ebp + 0x2c]
lea ecx, [ebp + 0x20]
push eax
call fcn.0048456c
push ecx
lea edx, [ebp + 0x20]
mov ecx, esp
mov dword [ebp + 0x14], esp
push edx
call fcn.004841a8
push ecx
lea eax, [ebp + 0x2c]
mov ecx, esp
mov dword [ebp + 0x28], esp
push eax
mov byte [ebp - 4], 0x15
call fcn.004841a8
mov byte [ebp - 4], 0x12
call fcn.00409c70
add esp, 8
cmp eax, edi
jne 0x408d31
mov eax, dword [0x4c2e00]
cmp eax, edi
jne 0x408d31
push edi
push edi
push 0x4b9300
call fcn.0048c07d
lea ecx, [ebp + 0x2c]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.004841a8
mov bl, 0x16
push 0x2e
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], bl
call fcn.004823fb
cmp eax, edi
jl 0x408d75
lea edx, [ebp + 0x14]
push eax
push edx
lea ecx, [ebp + 0x1c]
call fcn.00482358
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x17
call fcn.0048456c
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], bl
call fcn.00484433
mov eax, dword [ebp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x1c]
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp + 0x1c]
push eax
call esi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00484433
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x11
call fcn.00484433
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xe
call fcn.00484433
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00484433
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00488893
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00484433
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00484433
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0048cf3e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00484433
lea ecx, [ebp + 8]
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
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00484433
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret