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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce5a9
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x65a000]
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 0x60ec18
mov ecx, esi
mov dword [ebp - 0x7c], esi
mov word [esi], ax
call fcn.004058d0
mov dword [ebp - 4], 0
push 3
xor eax, eax
push 0x60e1b0
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.004058d0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0x1c]
call fcn.00406e30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4c], 8
jb 0x402a61
push dword [ebp - 0x60]
call fcn.0048166b
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.004058d0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov ecx, dword [0x6fb00c]
push eax
call fcn.004534f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 8
jb 0x402abe
push dword [ebp - 0x44]
call fcn.0048166b
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.004058d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
mov ecx, dword [0x6fb010]
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ecx + 0xc]
call fcn.00406e30
mov edi, eax
cmp esi, edi
je 0x402b2c
cmp dword [esi + 0x14], 8
jb 0x402b11
push dword [esi]
call fcn.0048166b
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.004053e0
cmp dword [ebp - 0x64], 8
jb 0x402b3d
push dword [ebp - 0x78]
call fcn.0048166b
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 0x402b62
push dword [ebp - 0x44]
call fcn.0048166b
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x402b6c
mov eax, dword [esi]
jmp 0x402b6e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x402bc2
cmp dword [esi + 0x14], 8
jb 0x402b84
mov eax, dword [esi]
jmp 0x402b86
mov eax, esi
push eax
push str.CAlmInfo::GetIJPLMDLLPath_GetFileAttributes_____Failed_:__s
push 0xffffffffffffffff
push 0x1000
push 0x6fb428
call fcn.005a4e29
add esp, 0x14
push 0x6fb428
call fcn.00415fc0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402bbb
mov eax, dword [esi]
jmp 0x402bbd
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x18], 8
jb 0x402bd3
push dword [ebp - 0x2c]
call fcn.0048166b
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.005a4646
mov esp, ebp
pop ebp
ret 4