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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574e21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
cmp dword [0x5edf58], 0
jne 0x48efa9
jmp 0x48f235
lea ecx, [ebp - 0x268]
call fcn.00566717
mov dword [ebp - 4], 0
mov dword [ebp - 0x258], 0x41
lea eax, [ebp - 0x150]
push eax
call fcn.00529440
add esp, 4
push str.DBFile_
lea ecx, [ebp - 0x150]
push ecx
call fcn.0054bea0
add esp, 8
push 0x5edec4
lea edx, [ebp - 0x150]
push edx
call fcn.0054bea0
add esp, 8
push 0x5beefc
lea eax, [ebp - 0x150]
push eax
call fcn.0054bea0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0x5edec4
push 0x5eded4
push str._s__s__d.log
lea edx, [ebp - 0x254]
push edx
call fcn.0054c6e3
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x150]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x48f069
mov eax, dword [ebp - 0x258]
or ah, 0x10
mov dword [ebp - 0x258], eax
push 0
mov ecx, dword [ebp - 0x258]
push ecx
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x268]
call fcn.00566829
test eax, eax
je 0x48f203
lea ecx, [ebp - 0x268]
call fcn.00566b23
test eax, eax
ja 0x48f1eb
lea eax, [ebp - 0x4c]
push eax
call fcn.005337a8
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
push str.Controller:_s_r_n
lea edx, [ebp - 0x254]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
call fcn.0054ce70
add esp, 4
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00566980
xor edx, edx
mov dl, byte [0x5c657e]
push edx
xor eax, eax
mov al, byte [0x5c657d]
push eax
xor ecx, ecx
mov cl, byte [0x5c657c]
push ecx
push str.Version:V_d._d._d_r_n
lea edx, [ebp - 0x254]
push edx
call fcn.0054c6e3
add esp, 0x14
lea eax, [ebp - 0x254]
push eax
call fcn.0054ce70
add esp, 4
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00566980
push 0x678e58
push 0x679058
push str.SN:_Start__s_End__s_Serial_r_n
lea edx, [ebp - 0x254]
push edx
call fcn.0054c6e3
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.0054ce70
add esp, 4
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00566980
push 0x67a124
push str.Manufacture_String:_s_r_n
lea edx, [ebp - 0x254]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
call fcn.0054ce70
add esp, 4
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00566980
push 0x67a324
push str.Product_String:_s
lea edx, [ebp - 0x254]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
call fcn.0054ce70
add esp, 4
push eax
lea ecx, [ebp - 0x254]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00566980
lea ecx, [ebp - 0x268]
call fcn.00566a23
lea ecx, [ebp - 0x268]
call fcn.00566a44
jmp 0x48f223
push 0
lea edx, [ebp - 0x150]
push edx
push str.File_Cant_Create
call fcn.0047a0b0
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.0056676c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret