Function at 0x458ab0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0d80
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x541100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.004bdbe3
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x458afb
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.004bdbe3
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x458b28
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.004bdbe3
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x458b55
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, 0x50206c
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x458b90
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
cmp eax, esi
je 0x458bab
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00422eb3
jmp 0x458bab
push 0x50206c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50206c
lea ecx, [ebp - 0x10]
call fcn.00423404
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push str._____Cameyo_dependency_____r_n
push ecx
mov byte [ebp - 4], 5
call fcn.00422acb
add esp, 0xc
mov edi, eax
push str._t_dependency__r_n
mov byte [ebp - 4], 6
call fcn.004ccd1a
add esp, 4
push eax
push str._t_dependency__r_n
mov ecx, edi
call fcn.00423b68
mov edi, dword [edi]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00423b68
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x458c16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str._t_t__dependentAssembly__r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t__dependentAssembly__r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t_t_t__assemblyIdentity_r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t_t__assemblyIdentity_r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t_t_t_t_name_SysDlls__r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t_t_t_name_SysDlls__r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t_t_t_t_version_1.0.0.0__r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t_t_t_version_1.0.0.0__r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t_t_t_t_type_win32__r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t_t_t_type_win32__r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t_t_t____r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t_t____r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t_t___dependentAssembly__r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t_t___dependentAssembly__r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push str._t__dependency__r_n
call fcn.004ccd1a
add esp, 4
push eax
push str._t__dependency__r_n
lea ecx, [ebp - 0x10]
call fcn.00423b68
push 0x50b8c0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00422a76
mov eax, dword [ebp - 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x18]
setne cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov edi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x458d38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, esi
je 0x458dcb
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x50b8c0
lea edx, [ebp + 8]
push edx
push ecx
mov dword [ebp - 0x18], esi
lea ebx, [ebp - 0x18]
lea edi, [ebp - 0x20]
call fcn.00422a76
add esp, 0xc
call fcn.00477f70
add esp, 8
cmp eax, 0xffffffff
je 0x458dcb
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
test eax, eax
jbe 0x458dbe
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00477cd0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00422f41
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 1
push edi
call fcn.004ccf97
add esp, 4
test esi, esi
jne 0x458dfb
mov eax, dword [ebp + 8]
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.00423475
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0047d0b0
add esp, 0x14
test eax, eax
je 0x458e3a
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jl 0x458eb8
push str.__assembly_
push esi
call fcn.004ccea1
add esp, 8
test eax, eax
je 0x458eb8
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x458eb8
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
push ecx
call fcn.00443e8e
jmp 0x458eb8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push str.__xml_version_1.0__encoding_UTF_8__standalone_yes____r_n_____Cameyo_assembly_____r_n_assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___r_n
push eax
call fcn.00422acb
add esp, 0xc
push str._r_n__assembly_
push eax
lea ecx, [ebp - 0x20]
mov bl, 8
push ecx
mov byte [ebp - 4], bl
call fcn.00422a76
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.00422f41
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x458e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458eb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x14]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x24], esp
mov ebx, esp
push edi
mov dword [ebp - 0x24], edi
call fcn.00423475
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00477ed0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x458fea
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458ef0
sub eax, edx
mov edi, eax
mov eax, dword [ebp + 0xc]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004781b0
push ebx
call fcn.004ccf97
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458f47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458f67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458f8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458fad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45900d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45902a
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45904d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459070
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459096
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret