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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x509c84
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
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 0x48977e
mov eax, dword [eax + 0xb4]
sub eax, 0x10
call fcn.0045cad0
add eax, 0x10
mov dword [esp + 0x18], eax
push 0xd
mov dword [esp + 0x104], ebx
push 0x51f198
lea ebx, [esp + 0x20]
call fcn.0045b2d0
push 0x44
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004e8ae0
mov edi, dword [esp + 0x24]
add edi, 0xfffffff0
add esp, 0xc
mov eax, edi
mov dword [esp + 0x90], 0x80
call fcn.0045cad0
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x11
push str.___________0___0_
lea ebx, [esp + 0x1c]
mov byte [esp + 0x108], 1
call fcn.0045b2d0
mov esi, dword [esp + 0x14]
cmp dword [esi - 4], 1
jle 0x4896e6
mov ecx, dword [esi - 0xc]
push ecx
mov edx, ebx
push edx
call fcn.00459540
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.004e68a0
add esp, 8
test eax, eax
js 0x489774
cmp eax, dword [esi - 8]
jg 0x489774
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 0x489747
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 0x489de2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x489de2
push 0x80070057
call fcn.0045a310
mov ecx, dword [0x559d8c]
mov edi, 1
cmp dword [ecx + 0x40], edi
jne 0x4897f1
lea esi, [esp + 0x28]
mov eax, ecx
call fcn.00469fe0
mov eax, dword [eax]
mov dword [esp + 0x18], edi
mov ecx, 0x5191b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4897ca
cmp dx, bx
je 0x4897c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4897ca
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4897a4
xor eax, eax
jmp 0x4897cf
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
je 0x4897f1
mov eax, dword [0x559d8c]
cmp byte [eax + 0xb8], bl
jne 0x4897f1
cmp byte [eax + 0xba], bl
jne 0x4897f1
mov bl, 1
jmp 0x4897f3
xor bl, bl
test byte [esp + 0x18], 1
je 0x48981a
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 0x48981a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x489838
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 [0x559d8c]
lea esi, [esp + 0x1c]
call fcn.0046a010
mov dword [esp + 0x100], 2
mov ecx, dword [0x559d8c]
cmp dword [ecx + 0x40], edi
je 0x489894
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489894
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.0045cad0
add eax, 0x10
mov dword [edi], eax
call fcn.00489ea0
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4898a6
mov edx, 0x5191b4
lea edi, [esp + 0x1c]
call fcn.00459460
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb4]
sub eax, 0x10
call fcn.0045cad0
add eax, 0x10
mov dword [esp + 0x38], eax
push 0xd
push 0x51f198
lea ebx, [esp + 0x40]
mov byte [esp + 0x108], 3
call fcn.0045b2d0
push 0x44
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.004e8ae0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xd8], 0x80
mov dword [esp + 0x34], eax
call fcn.0045cad0
add eax, 0x10
mov dword [esp + 0x14], eax
push 1
push 0x51b464
lea ebx, [esp + 0x1c]
mov byte [esp + 0x108], 4
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov eax, dword [esi - 0xc]
push eax
push esi
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
push 1
push 0x51b464
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov eax, dword [0x559d8c]
lea esi, [esp + 0x20]
call fcn.00469fe0
mov byte [esp + 0x100], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call fcn.0045b2d0
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 0x4899a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x51c540
lea ebx, [esp + 0x1c]
call fcn.0045b2d0
mov edx, dword [0x550f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x550f18
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x100], 6
mov ecx, dword [0x559d8c]
cmp byte [ecx + 0xb8], 0
je 0x4899f8
mov edx, str.http:__dl.baofeng.com_BFVCenter_BF_BFVCenter__y24__.exe
lea edi, [esp + 0x18]
call fcn.00459460
mov esi, dword [esp + 0x18]
push 1
push 0x51b464
lea ebx, [esp + 0x1c]
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov eax, dword [esi - 0xc]
push eax
push esi
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov edx, dword [0x550f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x550f18
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x100], 7
mov ecx, dword [0x559d8c]
cmp byte [ecx + 0xba], 0
lea edi, [esp + 0x24]
mov edx, 0x51e90c
jne 0x489a66
mov edx, 0x51e820
call fcn.00459460
push 1
push 0x51b464
lea ebx, [esp + 0x1c]
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov edx, dword [0x550f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x550f18
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov edx, 0x51e820
lea edi, [esp + 0x30]
mov byte [esp + 0x100], 8
call fcn.00459460
push 1
push 0x51b464
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call fcn.0045b2d0
push 1
push 0x51c540
call fcn.0045b2d0
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 0x489b2d
mov ecx, dword [esi - 0xc]
push ecx
mov edx, ebx
push edx
call fcn.00459540
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.004e68a0
add esp, 8
test eax, eax
js 0x489774
cmp eax, dword [esi - 8]
jg 0x489774
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp ebx, 1
jne 0x489b8d
test edi, edi
je 0x489ba0
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x489b98
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x489cf6
mov eax, dword [0x559d8c]
xor edi, edi
cmp byte [eax + 0xb8], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0
je 0x489bc8
mov dword [esp + 0x2c], 1
cmp byte [eax + 0xb9], 0
je 0x489bd9
mov dword [esp + 0x3c], 1
cmp byte [eax + 0xba], 0
je 0x489be7
mov edi, 1
lea eax, [esp + 0x20]
push eax
mov ecx, str.5.36.0428.2211
call fcn.004594a0
mov byte [esp + 0x100], 9
mov edx, dword [0x550f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x550f18
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.0048bb80
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.004596f0
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 0x489c88
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.0045cad0
add eax, 0x10
mov dword [esi], eax
mov esi, ebx
call fcn.004744b0
mov byte [esp + 0x100], 9
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x489cca
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 0x489cf2
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 0x489d1e
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 0x489d46
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 0x489d6e
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 0x489d92
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 0x489db7
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 0x489de2
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