Function at 0x47cd00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ee11
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 0x47cec0
cmp dword [ecx + 0x98], eax
jbe 0x47d115
lea eax, [ecx + 0x88]
push 0x536ac0
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0047d340
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 0x47ce1a
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ce01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d195
push edx
push ecx
call fcn.004de45a
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 0x47ce6d
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ce63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d195
push edx
push ecx
call fcn.004de45a
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 0x47d115
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 0x47d177
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e0230
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x47cf13
push eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
push 0x5364dc
jmp 0x47cf67
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 0x47cf50
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a760
push 1
push 0x536ac0
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 0x47d05f
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d19a
push edx
push ecx
call fcn.004de45a
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 0x47d0b2
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d0a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d19a
push edx
push ecx
call fcn.004de45a
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 0x47ce6d
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ce63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d19a
jmp 0x47ce63
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x5364dc
mov word [esi], ax
call fcn.0044a760
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x47d177
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47d16d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d19f
push edx
push ecx
call fcn.004de45a
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.004de46d
mov esp, ebp
pop ebp
ret 4
call fcn.004e364a
call fcn.004e364a
call fcn.004e364a
int3