Function at 0x414820
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e2403
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
mov ecx, dword [esp + 0x284]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x10], 0xffffffff
je 0x414c13
mov ebp, dword [esp + 0x288]
cmp ebp, esi
je 0x414c13
cmp ebp, 3
jge 0x414c13
push esi
push 0x80
push 3
push esi
push 1
mov eax, 0x533fe0
push closesocket
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], str.http:__bukebo.baofeng.com_upload_upload.do
mov dword [esp + 0x60], str.http:__bukebo.baofeng.com_upload_uploadEffect.do
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], str.DAILY.BKBNOPLAYFILESUCC2
mov dword [esp + 0x78], str.DAILY.BKBBADPLAYFILESUCC2
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], str.DAILY.BKBNOPLAYFILEFAIL2
mov dword [esp + 0x6c], str.DAILY.BKBBADPLAYFILEFAIL2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x60], ebx
cmp ebx, 0xffffffff
mov dword [esp + 0x274], esi
je 0x414c13
lea eax, [esp + 0x24]
push edi
push eax
push ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x4000
jbe 0x414c05
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
setne byte [esp + 0x38]
test edi, edi
mov byte [esp + 0x278], 1
je 0x414bf4
lea ecx, [esp + 0x1c]
push 0
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414bf4
cmp dword [esp + 0x1c], esi
jne 0x414bf4
push 0xc0000
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
setne byte [esp + 0x30]
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x278], 2
je 0x414be3
mov edx, dword [esp + 0x284]
push esi
push edi
push edx
push eax
call fcn.004140b0
mov ecx, 7
mov esi, str.multipart_form_data__boundary
lea edi, [esp + 0x68]
mov edx, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x39
xor eax, eax
lea edi, [esp + 0x87]
lea ebx, [esp + 0x68]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, str.___________________________7dunplayablefilereport
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], 0x104
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, 3
and ecx, ebx
lea eax, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
mov edi, 1
push eax
lea ecx, [esp + 0x18]
push edi
lea eax, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push edx
mov edx, dword [esp + ebp*4 + 0x54]
push ecx
mov ecx, dword [esp + 0x298]
push edx
call fcn.004dba50
test eax, eax
jl 0x414b03
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + ebp*4 + 0x58]
lea esi, [eax + 0x38c]
mov eax, dword [eax + 0x38c]
test eax, eax
jne 0x414aea
push 0x53a380
lea ecx, [esp + 0x14]
call fcn.00404b80
mov eax, dword [0x53404c]
mov byte [esp + 0x278], bl
test eax, eax
jne 0x414ac0
mov eax, dword [0x534048]
test eax, eax
jne 0x414ac0
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x278], 4
je 0x414a96
push 0
mov ecx, eax
call fcn.00404ab0
jmp 0x414a98
xor eax, eax
mov ecx, dword [0x525b68]
mov byte [esp + 0x278], bl
push ecx
push 0x404a80
mov ecx, 0x538d90
mov dword [0x534048], eax
call fcn.00402180
mov dword [0x53404c], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [0x534048]
mov byte [esp + 0x278], 2
mov edx, dword [ecx]
call dword [edx + 8]
push esi
push 0x526410
mov ecx, edi
call fcn.0043f470
mov eax, dword [esi]
test eax, eax
je 0x414af6
mov ecx, dword [eax]
push 0x5257bc
push ebp
push eax
call dword [ecx + 0x24]
mov dword [esp + 0x14], 1
jmp 0x414bd7
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + ebp*4 + 0x4c]
mov eax, dword [edx + 0x38c]
lea esi, [edx + 0x38c]
test eax, eax
jne 0x414bc3
push 0x53a380
lea ecx, [esp + 0x14]
call fcn.00404b80
mov eax, dword [0x53404c]
mov bl, 5
test eax, eax
mov byte [esp + 0x278], bl
jne 0x414b99
mov eax, dword [0x534048]
test eax, eax
jne 0x414b99
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x278], 6
je 0x414b70
push 0
mov ecx, eax
call fcn.00404ab0
jmp 0x414b72
xor eax, eax
mov dword [0x534048], eax
mov eax, dword [0x525b68]
push eax
push 0x404a80
mov ecx, 0x538d90
mov byte [esp + 0x280], bl
call fcn.00402180
mov dword [0x53404c], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [0x534048]
mov byte [esp + 0x278], 2
mov edx, dword [ecx]
call dword [edx + 8]
push esi
push 0x526410
mov ecx, edi
call fcn.0043f470
mov eax, dword [esi]
test eax, eax
je 0x414bcf
mov ecx, dword [eax]
push 0x5257bc
push ebp
push eax
call dword [ecx + 0x24]
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x30]
test cl, cl
je 0x414bf4
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, byte [esp + 0x38]
test al, al
je 0x414c05
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
jmp 0x414c16
or eax, 0xffffffff
mov ecx, dword [esp + 0x26c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x26c
ret 0x10