Function at 0x487380
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506a14
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x54c2c0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp byte [eax + 0xc8], bl
je 0x4874ee
mov eax, dword [eax + 0xb4]
sub eax, 0x10
call fcn.0045c680
add eax, 0x10
mov dword [esp + 0x18], eax
push 0xd
mov dword [esp + 0x104], ebx
push 0x51be90
lea ebx, [esp + 0x20]
call fcn.0045ae80
push 0x44
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004e5590
mov edi, dword [esp + 0x24]
add edi, 0xfffffff0
add esp, 0xc
mov eax, edi
mov dword [esp + 0x90], 0x80
call fcn.0045c680
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xd
push str.___________0_
lea ebx, [esp + 0x1c]
mov byte [esp + 0x108], 1
call fcn.0045ae80
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
jle 0x487456
mov ecx, dword [esi - 0xc]
push ecx
mov edx, ebx
push edx
call fcn.004591f0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e30a4
add esp, 8
test eax, eax
js 0x4874e4
cmp eax, dword [esi - 8]
jg 0x4874e4
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
lea eax, [esi - 0x10]
mov byte [esp + 0x100], dl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4874b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x100], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487b52
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x487b52
push 0x80070057
call fcn.00459ec0
mov ecx, dword [0x554ce8]
mov edi, 1
cmp dword [ecx + 0x40], edi
jne 0x487561
lea esi, [esp + 0x28]
mov eax, ecx
call fcn.004696a0
mov eax, dword [eax]
mov dword [esp + 0x18], edi
mov ecx, 0x51966c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48753a
cmp dx, bx
je 0x487536
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48753a
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x487514
xor eax, eax
jmp 0x48753f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
je 0x487561
mov eax, dword [0x554ce8]
cmp byte [eax + 0xb8], bl
jne 0x487561
cmp byte [eax + 0xba], bl
jne 0x487561
mov bl, 1
jmp 0x487563
xor bl, bl
test byte [esp + 0x18], 1
je 0x48758a
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48758a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4875a8
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x554ce8]
lea esi, [esp + 0x1c]
call fcn.004696d0
mov dword [esp + 0x100], 2
mov ecx, dword [0x554ce8]
cmp dword [ecx + 0x40], edi
je 0x487604
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487604
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x38], esp
mov edi, esp
call fcn.0045c680
add eax, 0x10
mov dword [edi], eax
call fcn.00487c10
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x487616
mov edx, 0x51966c
lea edi, [esp + 0x1c]
call fcn.004593d0
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb4]
sub eax, 0x10
call fcn.0045c680
add eax, 0x10
mov dword [esp + 0x38], eax
push 0xd
push 0x51be90
lea ebx, [esp + 0x40]
mov byte [esp + 0x108], 3
call fcn.0045ae80
push 0x44
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.004e5590
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xd8], 0x80
mov dword [esp + 0x34], eax
call fcn.0045c680
add eax, 0x10
mov dword [esp + 0x14], eax
push 1
push 0x51843c
lea ebx, [esp + 0x1c]
mov byte [esp + 0x108], 4
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov eax, dword [esi - 0xc]
push eax
push esi
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
push 1
push 0x51843c
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov eax, dword [0x554ce8]
lea esi, [esp + 0x20]
call fcn.004696a0
mov byte [esp + 0x100], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.0045ae80
mov byte [esp + 0x100], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x519508
lea ebx, [esp + 0x1c]
call fcn.0045ae80
mov edx, dword [0x54bf18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54bf18
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x100], 6
mov ecx, dword [0x554ce8]
cmp byte [ecx + 0xb8], 0
je 0x487768
mov edx, str.http:__dl.baofeng.com_BFVCenter_BF_BFVCenter__y24__.exe
lea edi, [esp + 0x18]
call fcn.004593d0
mov esi, dword [esp + 0x18]
push 1
push 0x51843c
lea ebx, [esp + 0x1c]
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov eax, dword [esi - 0xc]
push eax
push esi
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov edx, dword [0x54bf18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54bf18
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x100], 7
mov ecx, dword [0x554ce8]
cmp byte [ecx + 0xba], 0
lea edi, [esp + 0x24]
mov edx, 0x51b664
jne 0x4877d6
mov edx, 0x51b578
call fcn.004593d0
push 1
push 0x51843c
lea ebx, [esp + 0x1c]
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov edx, dword [0x54bf18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54bf18
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov edx, 0x51b578
lea edi, [esp + 0x30]
mov byte [esp + 0x100], 8
call fcn.004593d0
push 1
push 0x51843c
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call fcn.0045ae80
push 1
push 0x519508
call fcn.0045ae80
push str.Global6954C14C_BEE9_4E85_AE70_E71CEE7EE129
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
mov edi, eax
jle 0x48789d
mov ecx, dword [esi - 0xc]
push ecx
mov edx, ebx
push edx
call fcn.004591f0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xb0]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004e30a4
add esp, 8
test eax, eax
js 0x4874e4
cmp eax, dword [esi - 8]
jg 0x4874e4
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp ebx, 1
jne 0x4878fd
test edi, edi
je 0x487910
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x487908
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x487a66
mov eax, dword [0x554ce8]
xor edi, edi
cmp byte [eax + 0xb8], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0
je 0x487938
mov dword [esp + 0x2c], 1
cmp byte [eax + 0xb9], 0
je 0x487949
mov dword [esp + 0x3c], 1
cmp byte [eax + 0xba], 0
je 0x487957
mov edi, 1
lea eax, [esp + 0x20]
push eax
mov ecx, str.5.27.0731.1111
call fcn.00459410
mov byte [esp + 0x100], 9
mov edx, dword [0x54bf18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54bf18
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x40]
mov eax, ebx
mov byte [esp + 0x100], 0xa
call fcn.00489070
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
push edi
push ecx
push edx
mov byte [esp + 0x10c], 0xb
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x54]
push eax
push ecx
push edx
push str.http:__sclog.moviebox.baofeng.com_logger.php
push str._s_ltypebfv_binduid_sver_spidbfvmsgditchid:_s_recommendBFV:_d_recommendBOV:_d_recommendBFG:_d
lea edi, [esp + 0x48]
call fcn.00458e60
mov byte [esp + 0x120], 0xa
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4879f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x30], esp
mov esi, esp
call fcn.0045c680
add eax, 0x10
mov dword [esi], eax
mov esi, ebx
call fcn.004731a0
mov byte [esp + 0x100], 9
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487a3a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x100], 8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487a62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov byte [esp + 0x100], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487a8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x100], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487ab6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x100], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487ade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x100], 3
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487b02
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x34]
mov byte [esp + 0x100], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x100], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487b52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4