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

Disassembly:
push 0xffffffffffffffff
push 0x5563f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov eax, dword [esp + 0x27c]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov ebp, ecx
mov dword [esp + 0x10], 0xffffffff
jne 0x4354fe
or eax, 0xffffffff
jmp 0x435888
push esi
push 0x80
push 3
push esi
push 1
mov ecx, 0x5cabc0
push SysReAllocStringLen
push eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], str.http:__bukebo.baofeng.com_upload_upload.do
mov dword [esp + 0x64], str.http:__bukebo.baofeng.com_upload_uploadEffect.do
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], str.DAILY.BKBNOPLAYFILESUCC2
mov dword [esp + 0x7c], str.DAILY.BKBBADPLAYFILESUCC2
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], str.DAILY.BKBNOPLAYFILEFAIL2
mov dword [esp + 0x70], str.DAILY.BKBBADPLAYFILEFAIL2
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], edi
cmp edi, 0xffffffff
mov dword [esp + 0x27c], esi
jne 0x435573
or eax, eax
jmp 0x435888
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
setne al
mov dword [esp + 0x14], ebx
mov byte [esp + 0x38], al
mov dword [esp + 0x3c], ebx
test ebx, ebx
mov byte [esp + 0x27c], 1
jne 0x4355c9
test al, al
je 0x4355ba
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x435888
lea ecx, [esp + 0x28]
push 0
push ecx
push esi
push ebx
push edi
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43586c
cmp dword [esp + 0x28], esi
jne 0x43586c
push 0xc0000
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
setne byte [esp + 0x30]
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0x27c], 2
je 0x43585b
mov edx, dword [esp + 0x288]
push esi
push ebx
push edx
push eax
call fcn.00434da0
mov ecx, 0x14
mov esi, str.multipart_form_data__boundary___________________________7dunplayablefilereport
lea edi, [esp + 0x6c]
mov edx, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x2d
xor eax, eax
lea edi, [esp + 0xbc]
mov dword [esp + 0x10], 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x178]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push edx
mov edx, dword [ebp + 0x60]
push ecx
mov ecx, dword [esp + 0x29c]
mov eax, dword [esp + edx*4 + 0x58]
push eax
call fcn.0054aa60
test eax, eax
jl 0x435773
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x378]
lea esi, [ebp + 0x378]
mov edx, dword [esp + ecx*4 + 0x58]
test eax, eax
mov dword [esp + 0x18], edx
jne 0x435756
push 0x5d2ac0
lea ecx, [esp + 0x18]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x27c], 3
test eax, eax
jne 0x43572c
mov eax, dword [0x5cb044]
test eax, eax
jne 0x43572c
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x27c], 4
je 0x4356fe
push 0
mov ecx, eax
call fcn.00414150
jmp 0x435700
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x284], 3
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x14]
mov edi, dword [0x5cb044]
mov byte [esp + 0x27c], 2
mov edx, dword [ecx]
call dword [edx + 8]
push esi
push 0x5b5ca8
mov ecx, edi
call fcn.00473940
mov eax, dword [esi]
test eax, eax
je 0x435766
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x5b5ca0
push edx
push eax
call dword [ecx + 0x24]
mov dword [esp + 0x10], 1
jmp 0x435853
mov eax, dword [ebp + 0x60]
lea esi, [ebp + 0x378]
mov ecx, dword [esp + eax*4 + 0x4c]
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x20], ecx
jne 0x43583b
push 0x5d2ac0
lea ecx, [esp + 0x1c]
call fcn.00410470
mov eax, dword [0x5cb048]
mov bl, 5
test eax, eax
mov byte [esp + 0x27c], bl
jne 0x43580d
mov eax, dword [0x5cb044]
test eax, eax
jne 0x43580d
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0x27c], 6
je 0x4357df
push 0
mov ecx, eax
call fcn.00414150
jmp 0x4357e1
xor eax, eax
mov edx, dword [0x5b4b90]
mov ecx, 0x5d0190
push edx
push 0x406940
mov byte [esp + 0x284], bl
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x18]
mov edi, dword [0x5cb044]
mov byte [esp + 0x27c], 2
mov eax, dword [ecx]
call dword [eax + 8]
push esi
push 0x5b5ca8
mov ecx, edi
call fcn.00473940
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x43584b
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push 0x5b5ca0
push edx
push eax
call dword [ecx + 0x24]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov cl, byte [esp + 0x30]
test cl, cl
je 0x43586c
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, byte [esp + 0x38]
test al, al
je 0x43587d
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x270
ret 0xc