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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4cfc64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4399a9
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 - 0x20], eax
mov byte [ebp - 4], 2
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4399d6
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.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x439a03
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov ecx, 0x4b263c
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x439af4
mov edx, ecx
movzx edi, dx
push edi
call fcn.00487f55
mov ebx, eax
test ebx, ebx
je 0x439b0f
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x439b0f
push edi
push eax
push ebx
call fcn.0042066d
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x439b0f
movzx edi, word [ebx]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x439a8c
push edi
lea ecx, [ebp - 0x10]
call fcn.004204f5
mov esi, dword [ebp - 0x10]
movzx eax, word [ebx]
add ebx, 2
cmp eax, 0xffffffff
jne 0x439aa1
push ebx
call fcn.0048e8dc
add esp, 4
inc eax
lea edx, [eax + eax]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push esi
mov dword [ebp - 0x1c], ecx
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x439ac2.1
movzx eax, byte [eax + 0x43a0bc]
jmp dword [eax*4 + 0x43a0ac]
call fcn.0048059d
call fcn.004805d5
test edi, edi
jl 0x439aea
cmp edi, dword [esi - 8]
jg 0x439aea
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [esi - 0xc], edi
mov word [edx + esi], cx
jmp 0x439b0f
push 0x80070057
call fcn.00420000
push 0x4b263c
call fcn.0048e8dc
add esp, 4
push eax
push 0x4b263c
lea ecx, [ebp - 0x10]
call fcn.00421168
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push str._____Cameyo_dependency_____r_n
push ecx
mov byte [ebp - 4], 5
xor esi, esi
call fcn.0042a971
add esp, 0xc
mov edi, eax
push str._t_dependency__r_n
mov byte [ebp - 4], 6
call fcn.0048e8dc
add esp, 4
push eax
push str._t_dependency__r_n
mov ecx, edi
call fcn.00423eda
mov edi, dword [edi]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00423eda
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439b7c
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.0048e8dc
add esp, 4
push eax
push str._t_t__dependentAssembly__r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t_t_t__assemblyIdentity_r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t_t_t__assemblyIdentity_r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t_t_t_t_name_SysDlls__r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t_t_t_t_name_SysDlls__r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t_t_t_t_version_1.0.0.0__r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t_t_t_t_version_1.0.0.0__r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t_t_t_t_type_win32__r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t_t_t_t_type_win32__r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t_t_t____r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t_t_t____r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t_t___dependentAssembly__r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t_t___dependentAssembly__r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push str._t__dependency__r_n
call fcn.0048e8dc
add esp, 4
push eax
push str._t__dependency__r_n
lea ecx, [ebp - 0x10]
call fcn.00423eda
push 0x4b9314
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00424858
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 0x439c9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, esi
je 0x439d84
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x4b9314
lea edx, [ebp + 8]
push edx
push ecx
mov dword [ebp - 0x18], esi
lea ebx, [ebp - 0x18]
lea edi, [ebp - 0x1c]
call fcn.00424858
add esp, 0xc
call fcn.00456520
add esp, 8
cmp eax, 0xffffffff
je 0x439d84
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jbe 0x439d74
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.00456280
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov edi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x439d4c
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x439d3f
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x439d3f
push eax
call fcn.00421e21
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x439d37
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x439d4c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00421168
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 0x439d6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e6f5
add esp, 4
test esi, esi
jne 0x439dae
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00421e21
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0045a890
add esp, 8
test eax, eax
je 0x439df0
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jl 0x439eb9
push str.__assembly_
push esi
call fcn.0048f59c
add esp, 8
test eax, eax
je 0x439eb9
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x439eb9
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0042a887
jmp 0x439eb9
lea eax, [ebp - 0x10]
push eax
lea ecx, [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 ecx
call fcn.0042a971
add esp, 0xc
push str._r_n__assembly_
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 8
call fcn.00424858
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov edi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x439e73
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x439e66
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x439e66
push eax
call fcn.00421e21
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x439e5e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x439e73
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00421168
mov byte [ebp - 4], 8
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 0x439e96
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 0x439eb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
push ecx
add esi, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push esi
mov dword [ebp - 0x24], esi
call fcn.00421e21
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00456480
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x439fea
lea edx, [eax + 1]
jmp 0x439ef0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439ef0
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.00421e21
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004567d0
push ebx
call fcn.0048e6f5
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 0x439f47
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 0x439f67
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 - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439f8a
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 0x439fad
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 0x439fd3
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 0x43a00d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a02a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 1
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 0x43a04d
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 0x43a070
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 0x43a096
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