Function at 0x47cd50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eab1
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
cmp dword [ecx + 0x24], eax
je 0x47cf10
cmp dword [ecx + 0x98], eax
jbe 0x47d165
lea eax, [ecx + 0x88]
push 0x536960
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0047d390
add esp, 0xc
push 0xe
push str.beacon_sdk.dll
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044aee0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x220]
movq qword [ebp - 0x26c], xmm1
movups xmmword [ebp - 0x27c], xmm0
cmp edx, 8
jb 0x47ce6a
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ce51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d1e5
push edx
push ecx
call fcn.004de0ea
movups xmm0, xmmword [ebp - 0x27c]
add esp, 8
movq xmm1, qword [ebp - 0x26c]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x238]
movq qword [ebp - 0x224], xmm1
movups xmmword [ebp - 0x234], xmm0
cmp edx, 8
jb 0x47cebd
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ceb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d1e5
push edx
push ecx
call fcn.004de0ea
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47d165
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
jmp 0x47d1c7
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dfec0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x47cf63
push eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
push 0x53637c
jmp 0x47cfb7
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
lea edx, [ecx + 2]
mov word [ebp - 0x264], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cfa0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a770
push 1
push 0x536960
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.0044aee0
mov dword [ebp - 0x24c], 0
xor ecx, ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xe
push str.beacon_sdk.dll
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.0044aee0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x220]
movq qword [ebp - 0x26c], xmm1
movups xmmword [ebp - 0x27c], xmm0
cmp edx, 8
jb 0x47d0af
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d096
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d1ea
push edx
push ecx
call fcn.004de0ea
movups xmm0, xmmword [ebp - 0x27c]
add esp, 8
movq xmm1, qword [ebp - 0x26c]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x238]
movq qword [ebp - 0x224], xmm1
movups xmmword [ebp - 0x234], xmm0
cmp edx, 8
jb 0x47d102
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d0f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d1ea
push edx
push ecx
call fcn.004de0ea
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
cmp edx, 8
jb 0x47cebd
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ceb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d1ea
jmp 0x47ceb3
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x53637c
mov word [esi], ax
call fcn.0044a770
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x47d1c7
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d1bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d1ef
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 4
call fcn.004e32da
call fcn.004e32da
call fcn.004e32da
int3