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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e26b9
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x677000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x624ff8
mov ecx, esi
mov dword [ebp - 0x7c], esi
mov word [esi], ax
call fcn.00406400
mov dword [ebp - 4], 0
push 3
xor eax, eax
push 0x624350
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
call fcn.00406400
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00409910
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4c], 8
jb 0x402e61
push dword [ebp - 0x60]
call fcn.0049500b
add esp, 4
xor eax, eax
push 0x16
push str.LET_GET_IJPLM_DLL_PATH
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
call fcn.00406400
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov ecx, dword [0x74e2f0]
push eax
call fcn.00461e40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
jb 0x402ebe
push dword [ebp - 0x44]
call fcn.0049500b
add esp, 4
push 9
xor eax, eax
push str.IJPLM_DLL
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00406400
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
mov ecx, dword [0x74e2f4]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ecx + 0xc]
call fcn.00409910
mov edi, eax
cmp esi, edi
je 0x402f2c
cmp dword [esi + 0x14], 8
jb 0x402f11
push dword [esi]
call fcn.0049500b
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push edi
mov ecx, esi
mov word [esi], ax
call fcn.00405f10
cmp dword [ebp - 0x64], 8
jb 0x402f3d
push dword [ebp - 0x78]
call fcn.0049500b
add esp, 4
xor eax, eax
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
jb 0x402f62
push dword [ebp - 0x44]
call fcn.0049500b
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x402f6c
mov eax, dword [esi]
jmp 0x402f6e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x402fc2
cmp dword [esi + 0x14], 8
jb 0x402f84
mov eax, dword [esi]
jmp 0x402f86
mov eax, esi
push eax
push str.CAlmInfo::GetIJPLMDLLPath_GetFileAttributes_____Failed_:__s
push 0xffffffffffffffff
push 0x1000
push 0x74e818
call fcn.005b8769
add esp, 0x14
push 0x74e818
call fcn.00418730
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402fbb
mov eax, dword [esi]
jmp 0x402fbd
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x18], 8
jb 0x402fd3
push dword [ebp - 0x2c]
call fcn.0049500b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b7f8f
mov esp, ebp
pop ebp
ret 4