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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c28
call fcn.0040a8f0
push edi
mov dword [ebp - 0x2c24], ecx
mov eax, dword [ebp - 0x2c24]
cmp dword [eax + 0x414], 0
jne 0x407567
mov eax, 0xfffffffc
jmp 0x40797d
push 0x425770
mov ecx, dword [ebp - 0x2c24]
mov edx, dword [ecx + 0x414]
push edx
call fcn.0040a4b0
add esp, 8
test eax, eax
jne 0x40758c
xor eax, eax
jmp 0x40797d
mov eax, dword [ebp - 0x2c24]
mov ecx, dword [eax + 0x414]
cmp dword [ecx + 0x18], 0
jne 0x4075a8
mov eax, 0xfffffff9
jmp 0x40797d
mov edx, dword [ebp - 0x2c24]
mov eax, dword [edx + 0x414]
mov ecx, dword [ebp - 0x2c24]
mov edx, dword [ecx + 0x420]
sub edx, dword [eax + 0x18]
mov dword [ebp - 0x280c], edx
mov eax, dword [ebp - 0x280c]
push eax
mov ecx, dword [ebp - 0x2c24]
mov edx, dword [ecx + 0x414]
mov eax, dword [ebp - 0x2c24]
mov ecx, dword [eax + 0x418]
add ecx, dword [edx + 0x18]
push ecx
lea edx, [ebp - 0x2800]
push edx
call fcn.0040a000
add esp, 0xc
mov byte [ebp - 0x2c1c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x2c1b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x2c24]
push eax
lea ecx, [ebp - 0x2a00]
push ecx
call fcn.00409b30
add esp, 8
push str.RsSecure.dll
lea edx, [ebp - 0x2a00]
push edx
call fcn.00409b40
add esp, 8
lea eax, [ebp - 0x2a00]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2a08], eax
cmp dword [ebp - 0x2a08], 0
jne 0x4076b5
push 0x1f4
lea ecx, [ebp - 0x2c1c]
push ecx
mov ecx, dword [ebp - 0x2c24]
call fcn.00407e07
and eax, 0xff
test eax, eax
je 0x4076b5
push 0x425784
lea edx, [ebp - 0x2c1c]
push edx
call fcn.00409b40
add esp, 8
lea eax, [ebp - 0x2a00]
push eax
lea ecx, [ebp - 0x2c1c]
push ecx
call fcn.00409b40
add esp, 8
lea edx, [ebp - 0x2c1c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2a08], eax
cmp dword [ebp - 0x2a08], 0
jne 0x4076c5
xor eax, eax
jmp 0x40797d
push str.RsRSAVerify
mov eax, dword [ebp - 0x2a08]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2a04], eax
cmp dword [ebp - 0x2a04], 0
jne 0x4076fa
mov ecx, dword [ebp - 0x2a08]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x40797d
mov edx, dword [ebp - 0x2c24]
push edx
lea eax, [ebp - 0x2c1c]
push eax
call fcn.00409b30
add esp, 8
push 0x425794
lea ecx, [ebp - 0x2c1c]
push ecx
call fcn.00409b30
add esp, 8
lea edx, [ebp - 0x2c1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40777e
push 0x1f4
lea eax, [ebp - 0x2c1c]
push eax
mov ecx, dword [ebp - 0x2c24]
call fcn.00407e07
and eax, 0xff
test eax, eax
jne 0x40776a
mov ecx, dword [ebp - 0x2a08]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x40797d
push str.PubKey.pem
lea edx, [ebp - 0x2c1c]
push edx
call fcn.00409b40
add esp, 8
lea eax, [ebp - 0x2a18]
push eax
lea ecx, [ebp - 0x2c1c]
push ecx
call fcn.00406df0
add esp, 8
mov dword [ebp - 0x2a0c], eax
cmp dword [ebp - 0x2a0c], 0
jge 0x4077b7
mov edx, dword [ebp - 0x2a08]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x40797d
mov eax, dword [ebp - 0x2a0c]
mov dword [ebp - 0x2a1c], eax
push 4
lea ecx, [ebp - 0x2800]
push ecx
lea edx, [ebp - 0x2c20]
push edx
call fcn.0040a000
add esp, 0xc
push 4
lea eax, [ebp - 0x27fc]
push eax
lea ecx, [ebp - 0x2804]
push ecx
call fcn.0040a000
add esp, 0xc
cmp dword [ebp - 0x2804], 1
jl 0x407813
mov edx, dword [ebp - 0x2804]
imul edx, edx, 0x84
add edx, 8
cmp dword [ebp - 0x2c20], edx
je 0x407839
mov eax, dword [ebp - 0x2a08]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x2a18]
push ecx
call fcn.0040aebf
add esp, 4
mov eax, 0xfffffff9
jmp 0x40797d
mov dword [ebp - 0x2a10], 0
jmp 0x407854
mov edx, dword [ebp - 0x2a10]
add edx, 1
mov dword [ebp - 0x2a10], edx
mov eax, dword [ebp - 0x2a10]
cmp eax, dword [ebp - 0x2804]
jge 0x40795c
mov ecx, dword [ebp - 0x2a10]
xor edx, edx
mov dl, byte [ebp + ecx*4 - 0x27f8]
lea eax, [ebp + edx - 0x2800]
mov dword [ebp - 0x2808], eax
mov ecx, dword [ebp - 0x2804]
sub ecx, 1
cmp dword [ebp - 0x2a10], ecx
jne 0x4078b2
mov edx, dword [ebp - 0x2a10]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x27f8]
mov ecx, dword [ebp - 0x2c20]
sub ecx, eax
mov dword [ebp - 0x2c28], ecx
jmp 0x4078d8
mov edx, dword [ebp - 0x2a10]
xor eax, eax
mov al, byte [ebp + edx*4 - 0x27f4]
mov ecx, dword [ebp - 0x2a10]
xor edx, edx
mov dl, byte [ebp + ecx*4 - 0x27f8]
sub eax, edx
mov dword [ebp - 0x2c28], eax
mov eax, dword [ebp - 0x2c28]
mov dword [ebp - 0x2a14], eax
push 1
mov ecx, dword [ebp - 0x2a14]
push ecx
mov edx, dword [ebp - 0x2808]
push edx
mov eax, dword [ebp - 0x2c24]
mov ecx, dword [eax + 0x414]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x2c24]
mov ecx, dword [eax + 0x418]
push ecx
mov edx, dword [ebp - 0x2a1c]
push edx
mov eax, dword [ebp - 0x2a18]
push eax
call dword [ebp - 0x2a04]
add esp, 0x1c
mov dword [ebp - 0x2a0c], eax
cmp dword [ebp - 0x2a0c], 0
jne 0x407957
mov ecx, dword [ebp - 0x2a08]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x2a18]
push edx
call fcn.0040aebf
add esp, 4
xor eax, eax
jmp 0x40797d
jmp 0x407845
mov eax, dword [ebp - 0x2a08]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x2a18]
push ecx
call fcn.0040aebf
add esp, 4
mov eax, 0xfffffff9
pop edi
mov esp, ebp
pop ebp
ret