Function at 0x41ba60
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4bcb88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x41bd8e
mov dword [esp + 0x14], ebx
push ebx
push 0x80
push 4
push ebx
push ebx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x5c]
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x41bafe
call fcn.00407290
cmp eax, ebx
je 0x41bb02
mov edi, dword [esi + 0x18]
push str.erropenloc1
add edi, 0x1c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
je 0x41bae6
mov esi, eax
mov edx, str.erropenloc1
mov eax, edi
call fcn.00403750
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41bd8e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41bd8e
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041be10
add esp, 4
test al, al
je 0x41bb50
mov edi, dword [esi + 0x18]
push str.locok1
add edi, 0x1c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
je 0x41bb3a
mov esi, eax
mov edx, str.locok1
mov eax, edi
call fcn.00403750
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41bb49
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41bd90
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
mov edx, 2
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00407cf0
test eax, eax
je 0x41bb7f
mov eax, dword [esi + 0x18]
mov edi, str.erropenloc2
call fcn.00413330
jmp 0x41bae6
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.00413260
test eax, eax
je 0x41bba2
mov eax, dword [esi + 0x18]
mov edi, str.erropenloc3
call fcn.00413330
jmp 0x41bae6
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
cmp eax, ebx
ja 0x41bbb2
cmp ebp, ebx
jbe 0x41bbc4
push eax
mov eax, dword [esi]
push ebp
push 0x15
push eax
call sym.PinyinUp.exe_curl_easy_setopt
add esp, 0x10
mov dword [esi + 0x1c], ebp
mov ecx, dword [esp + 0x44]
push esi
push ecx
mov edi, 0x41bdb0
lea ebx, [esp + 0x1c]
mov ecx, esi
call fcn.0040f4d0
test al, al
jne 0x41bc76
mov eax, dword [esi]
lea edx, [esp + 0x4c]
push edx
push 0x200002
xor ebx, ebx
push eax
mov dword [esp + 0x58], ebx
call sym.PinyinUp.exe_curl_easy_getinfo
mov ecx, dword [0x4f9f84]
add esp, 0xc
mov dword [esp + 0x44], ecx
mov byte [esp + 0x3c], 1
mov edx, dword [esp + 0x4c]
push edx
push str.err_d
lea edx, [esp + 0x4c]
call fcn.00407a00
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0x18]
add esp, 8
call fcn.00413330
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00413260
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
sub eax, ebp
lea esi, [esp + 0x14]
mov dword [ecx + 0x20], eax
call fcn.004072b0
cmp dword [esp + 0x4c], 0x1a0
jne 0x41bc6d
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x44]
jmp 0x41bd80
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
push 0x200002
push ecx
mov dword [esp + 0x24], 0
call sym.PinyinUp.exe_curl_easy_getinfo
mov eax, dword [esp + 0x24]
lea edx, [eax - 0xc8]
add esp, 0xc
cmp edx, 0x63
ja 0x41bd4f
mov ecx, dword [esi]
fldz
lea eax, [esp + 0x24]
fstp qword [esp + 0x24]
push eax
push 0x300008
push ecx
call sym.PinyinUp.exe_curl_easy_getinfo
fld qword [esp + 0x30]
add esp, 0xc
call fcn.004a13a0
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], eax
fld qword [esp + 0x24]
call fcn.004a13a0
test eax, eax
jle 0x41bce7
mov edi, dword [esi + 0x18]
push eax
push eax
call fcn.00420f90
push 0
push 0
lea eax, [esp + 0x1c]
push eax
xor edx, edx
call fcn.00407cf0
test eax, eax
je 0x41bd0a
mov eax, dword [esi + 0x18]
mov edi, str.errmd5
call fcn.00413330
jmp 0x41bd85
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041be10
add esp, 4
test al, al
jne 0x41bd42
mov eax, dword [esi + 0x18]
mov edi, str.errmd5
call fcn.00413330
lea esi, [esp + 0x14]
call fcn.004072b0
mov edx, dword [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41bd85
lea esi, [esp + 0x14]
call fcn.004072b0
mov al, 1
jmp 0x41bd90
mov ecx, dword [0x4f9f84]
mov dword [esp + 0x48], ecx
push eax
push str.err_d
lea edx, [esp + 0x50]
mov byte [esp + 0x44], 2
call fcn.00407a00
mov edi, dword [esp + 0x50]
mov eax, dword [esi + 0x18]
add esp, 8
call fcn.00413330
lea esi, [esp + 0x48]
call fcn.004035c0
lea esi, [esp + 0x14]
call fcn.004072b0
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc