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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5750ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1944c
call fcn.0054c740
lea ecx, [ebp - 0x19328]
call fcn.00566717
mov dword [ebp - 4], 0
cmp dword [0x5e91cc], 0
jne 0x4ac4d2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19328]
call fcn.0056676c
jmp 0x4ad1a9
cmp dword [0x5edfa0], 0
je 0x4ac557
push 0x5ebfb8
call fcn.0054ce70
add esp, 4
test eax, eax
ja 0x4ac557
lea eax, [ebp - 0x1932c]
push eax
call fcn.005600cb
lea ecx, [ebp - 0x1932c]
call fcn.004be260
push eax
lea ecx, [ebp - 0x1932c]
call fcn.004be240
push eax
lea ecx, [ebp - 0x1932c]
call fcn.004be220
push eax
lea ecx, [ebp - 0x1932c]
call fcn.004bde60
push eax
lea ecx, [ebp - 0x1932c]
call fcn.004bde40
push eax
lea ecx, [ebp - 0x1932c]
call fcn.004bde20
push eax
push 0x5eb8e0
push str._s__.4d__.2d__.2d__.2d__.2d__.2d
push 0x5ebfb8
call fcn.0054c6e3
add esp, 0x24
push 0x104
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.0054bf90
add esp, 0xc
cmp dword [0x5e91cc], 2
jne 0x4ac5e5
push 0x5ec0b8
lea edx, [ebp - 0x110]
push edx
call fcn.0054be90
add esp, 8
push 0x5c34e8
lea eax, [ebp - 0x110]
push eax
call fcn.0054bea0
add esp, 8
push 0x5ebfb8
lea ecx, [ebp - 0x110]
push ecx
call fcn.0054bea0
add esp, 8
cmp dword [0x5edfa0], 0
je 0x4ac5d1
push str..Txt
lea edx, [ebp - 0x110]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x4ac5e5
push 0x5c34f4
lea eax, [ebp - 0x110]
push eax
call fcn.0054bea0
add esp, 8
lea ecx, [ebp - 0x110]
push ecx
call fcn.0054ce70
add esp, 4
test eax, eax
ja 0x4ac693
lea edx, [ebp - 0x110]
push edx
call fcn.00529440
add esp, 4
cmp dword [0x5edfa4], 0
je 0x4ac67f
push 0
lea eax, [ebp - 0x193ac]
push eax
call fcn.0052b368
add esp, 8
test eax, eax
je 0x4ac669
push 0x5c34fc
lea ecx, [ebp - 0x110]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x193ac]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.0054bea0
add esp, 8
push str..log
lea ecx, [ebp - 0x110]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x4ac67d
push str.UFD_MPTestLog.log
lea edx, [ebp - 0x110]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x4ac693
push str.UFD_MPTestLog.Log
lea eax, [ebp - 0x110]
push eax
call fcn.0054bea0
add esp, 8
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4ac6bd
push 0
push 0x42
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x19328]
call fcn.00566829
jmp 0x4ac6d6
push 0
push 0x1042
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x19328]
call fcn.00566829
cmp dword [0x5edfc4], 0
je 0x4ac6fb
mov dword [0x5edfc4], 0
lea ecx, [ebp - 0x19328]
call fcn.0044d1c0
mov dword [0x5ea12c], eax
jmp 0x4ac72f
lea ecx, [ebp - 0x19328]
call fcn.0044d1c0
cmp eax, dword [0x5ea12c]
jae 0x4ac71b
lea ecx, [ebp - 0x19328]
call fcn.0044d1c0
jmp 0x4ac72f
push 0
mov ecx, dword [0x5ea12c]
push ecx
lea ecx, [ebp - 0x19328]
call fcn.005669cb
push 0x19000
push 0
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bf90
add esp, 0xc
cmp dword [0x5edfa0], 0
je 0x4ac777
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x19328]
push ecx
call fcn.004ab981
add esp, 0x14
call fcn.004ab660
jmp 0x4ad156
push str._______________________________________________________________________________________r_n_r_n
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
mov dword [ebp - 0x19114], 0
jmp 0x4ac7a6
mov eax, dword [ebp - 0x19114]
add eax, 1
mov dword [ebp - 0x19114], eax
cmp dword [ebp - 0x19114], 8
jge 0x4ac822
mov ecx, dword [ebp - 0x19114]
imul ecx, ecx, 0x1fe
add ecx, 0x5ec1b8
push ecx
call fcn.0054ce70
add esp, 4
test eax, eax
je 0x4ac81d
mov edx, dword [ebp - 0x19114]
imul edx, edx, 0x1fe
add edx, 0x5ec2b7
push edx
mov eax, dword [ebp - 0x19114]
imul eax, eax, 0x1fe
add eax, 0x5ec1b8
push eax
push 0x5c359c
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x19318]
push edx
lea eax, [ebp - 0x19110]
push eax
call fcn.0054bea0
add esp, 8
jmp 0x4ac797
mov ecx, dword [0x673ea0]
mov dword [ebp - 0x19458], ecx
cmp dword [ebp - 0x19458], 1
je 0x4ac84b
cmp dword [ebp - 0x19458], 2
je 0x4ac86e
cmp dword [ebp - 0x19458], 3
je 0x4ac891
jmp 0x4ac8b4
push 0x5c35a8
push 0x5c35b0
push 0x5c35bc
lea edx, [ebp - 0x19318]
push edx
call fcn.0054c6e3
add esp, 0x10
jmp 0x4ac935
push 0x5c35c8
push 0x5c35d0
push 0x5c35dc
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0x10
jmp 0x4ac935
push 0x5c35e8
push 0x5c35f0
push 0x5c35fc
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x10
jmp 0x4ac935
push 0x5c3608
push str._25s_:_Un_Known_r_n
lea edx, [ebp - 0x19318]
push edx
call fcn.0054c6e3
add esp, 0xc
mov dword [ebp - 0x19114], 0
jmp 0x4ac8e8
mov eax, dword [ebp - 0x19114]
add eax, 1
mov dword [ebp - 0x19114], eax
cmp dword [ebp - 0x19114], 0x11
jge 0x4ac935
mov ecx, dword [ebp - 0x19114]
imul ecx, ecx, 0xc
mov edx, dword [0x673ea0]
cmp edx, dword [ecx + 0x5cb0e0]
jne 0x4ac933
mov eax, dword [ebp - 0x19114]
imul eax, eax, 0xc
mov ecx, dword [eax + 0x5cb0d8]
push ecx
push 0x5c3628
push 0x5c3634
lea edx, [ebp - 0x19318]
push edx
call fcn.0054c6e3
add esp, 0x10
jmp 0x4ac935
jmp 0x4ac8d9
lea eax, [ebp - 0x19318]
push eax
lea ecx, [ebp - 0x19110]
push ecx
call fcn.0054bea0
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.0054ce70
add esp, 4
test eax, eax
je 0x4ac98b
mov eax, dword [ebp + 8]
push eax
push 0x5c3640
push 0x5c364c
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
push 0x5edd80
call fcn.0054be90
add esp, 8
jmp 0x4ac9a9
push 0x5edd80
push 0x5c3658
push 0x5c3664
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0x10
lea ecx, [ebp - 0x19318]
push ecx
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4ac9ed
mov eax, dword [ebp + 0xc]
push eax
push 0x5c3670
push 0x5c3680
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov dword [0x5ea148], edx
jmp 0x4aca0c
mov eax, dword [0x5ea148]
push eax
push str.ISP_CheckSum
push str._25s_:_0x_.8X_r_n
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x19318]
push edx
lea eax, [ebp - 0x19110]
push eax
call fcn.0054bea0
add esp, 8
push 0x6785ac
call fcn.0054ce70
add esp, 4
test eax, eax
je 0x4acacf
mov dword [ebp - 0x19450], 0
push 0x6785ac
call fcn.0054ce70
add esp, 4
mov dword [ebp - 0x1944c], eax
jmp 0x4aca65
mov ecx, dword [ebp - 0x1944c]
sub ecx, 1
mov dword [ebp - 0x1944c], ecx
cmp dword [ebp - 0x1944c], 0
jle 0x4aca93
mov edx, dword [ebp - 0x1944c]
movsx eax, byte [edx + 0x6785ac]
cmp eax, 0x5c
jne 0x4aca91
mov ecx, dword [ebp - 0x1944c]
add ecx, 1
mov dword [ebp - 0x19450], ecx
jmp 0x4aca93
jmp 0x4aca56
mov edx, dword [ebp - 0x19450]
add edx, 0x6785ac
push edx
push str.INI_File_Name
push 0x5c36c0
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0x10
lea ecx, [ebp - 0x19318]
push ecx
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
mov ecx, 0x5ea150
call fcn.004be260
push eax
mov ecx, 0x5ea150
call fcn.004be240
push eax
mov ecx, 0x5ea150
call fcn.004be220
push eax
mov ecx, 0x5ea150
call fcn.004bde60
push eax
mov ecx, 0x5ea150
call fcn.004bde40
push eax
mov ecx, 0x5ea150
call fcn.004bde20
push eax
push 0x5c36cc
push 0x5c36d8
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0x24
lea ecx, [ebp - 0x19318]
push ecx
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
mov ecx, 0x5ea14c
call fcn.004be260
push eax
mov ecx, 0x5ea14c
call fcn.004be240
push eax
mov ecx, 0x5ea14c
call fcn.004be220
push eax
mov ecx, 0x5ea14c
call fcn.004bde60
push eax
mov ecx, 0x5ea14c
call fcn.004bde40
push eax
mov ecx, 0x5ea14c
call fcn.004bde20
push eax
push str.Finish_Time
push str._25s_:__.4d__.2d__.2d__.2d:_.2d:_.2d_r_n
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0x24
lea ecx, [ebp - 0x19318]
push ecx
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
push str.Serial_Number_Begin_
push 0x5c374c
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x10
lea edx, [ebp - 0x19318]
push edx
lea eax, [ebp - 0x19110]
push eax
call fcn.0054bea0
add esp, 8
mov ecx, dword [ebp + 0x14]
push ecx
push str.Serial_Number__End__
push str._25s_:__s_r_n
lea edx, [ebp - 0x19318]
push edx
call fcn.0054c6e3
add esp, 0x10
lea eax, [ebp - 0x19318]
push eax
lea ecx, [ebp - 0x19110]
push ecx
call fcn.0054bea0
add esp, 8
push 0x5c377c
push 0x5c37d4
lea edx, [ebp - 0x19318]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x19318]
push eax
lea ecx, [ebp - 0x19110]
push ecx
call fcn.0054bea0
add esp, 8
mov dword [ebp - 0x193c4], 0
mov dword [ebp - 0x193c8], 0
mov dword [ebp - 0x193c0], 0
mov dword [ebp - 0x19114], 1
jmp 0x4acc7f
mov edx, dword [ebp - 0x19114]
add edx, 1
mov dword [ebp - 0x19114], edx
mov eax, dword [0x673b98]
add eax, 1
cmp dword [ebp - 0x19114], eax
jge 0x4acd34
mov dword [ebp - 0x19118], 0
jmp 0x4accae
mov ecx, dword [ebp - 0x19118]
add ecx, 1
mov dword [ebp - 0x19118], ecx
cmp dword [ebp - 0x19118], 0x35
jge 0x4acd2f
mov edx, dword [ebp - 0x19114]
imul edx, edx, 0xd4
mov eax, dword [ebp - 0x19118]
mov ecx, dword [ebp - 0x193c4]
add ecx, dword [edx + eax*4 + 0x5e91d4]
mov dword [ebp - 0x193c4], ecx
cmp dword [ebp - 0x19118], 0
jne 0x4acd05
mov edx, dword [ebp - 0x19114]
imul edx, edx, 0xd4
mov eax, dword [ebp - 0x193c8]
add eax, dword [edx + 0x5e91d4]
mov dword [ebp - 0x193c8], eax
jmp 0x4acd2a
mov ecx, dword [ebp - 0x19114]
imul ecx, ecx, 0xd4
mov edx, dword [ebp - 0x19118]
mov eax, dword [ebp - 0x193c0]
add eax, dword [ecx + edx*4 + 0x5e91d4]
mov dword [ebp - 0x193c0], eax
jmp 0x4acc9f
jmp 0x4acc70
mov ecx, dword [ebp - 0x193c0]
push ecx
mov edx, dword [ebp - 0x193c8]
push edx
mov eax, dword [ebp - 0x193c4]
push eax
push str.Total_:__10d__tPass_:__10d__tFail_:__10d_r_n
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0x14
lea edx, [ebp - 0x19318]
push edx
lea eax, [ebp - 0x19110]
push eax
call fcn.0054bea0
add esp, 8
cmp dword [0x5e91c8], 0
je 0x4ad001
cmp dword [ebp - 0x193c0], 0
jle 0x4ace58
push 0x5c3808
push 0x5c3860
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x19318]
push edx
lea eax, [ebp - 0x19110]
push eax
call fcn.0054bea0
add esp, 8
push 0x5c3868
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054c6e3
add esp, 8
mov dword [ebp - 0x19114], 1
jmp 0x4acdeb
mov edx, dword [ebp - 0x19114]
add edx, 1
mov dword [ebp - 0x19114], edx
mov eax, dword [0x673b98]
add eax, 1
cmp dword [ebp - 0x19114], eax
jge 0x4ace2e
mov ecx, dword [ebp - 0x19114]
push ecx
push str._Port__.2d
lea edx, [ebp - 0x19448]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x19448]
push eax
lea ecx, [ebp - 0x19318]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x4acddc
push 0x5c3890
lea edx, [ebp - 0x19318]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x19318]
push eax
lea ecx, [ebp - 0x19110]
push ecx
call fcn.0054bea0
add esp, 8
mov dword [ebp - 0x19118], 0
jmp 0x4ace73
mov edx, dword [ebp - 0x19118]
add edx, 1
mov dword [ebp - 0x19118], edx
cmp dword [ebp - 0x19118], 0x35
jge 0x4acffc
mov dword [ebp - 0x193c4], 0
mov dword [ebp - 0x19114], 1
jmp 0x4acea5
mov eax, dword [ebp - 0x19114]
add eax, 1
mov dword [ebp - 0x19114], eax
mov ecx, dword [0x673b98]
add ecx, 1
cmp dword [ebp - 0x19114], ecx
jge 0x4acedd
mov edx, dword [ebp - 0x19114]
imul edx, edx, 0xd4
mov eax, dword [ebp - 0x19118]
mov ecx, dword [ebp - 0x193c4]
add ecx, dword [edx + eax*4 + 0x5e91d4]
mov dword [ebp - 0x193c4], ecx
jmp 0x4ace96
cmp dword [ebp - 0x19118], 0
jle 0x4acff7
cmp dword [ebp - 0x193c4], 0
jle 0x4acff7
push 0x80
push 0
lea edx, [ebp - 0x19448]
push edx
call fcn.0054bf90
add esp, 0xc
lea eax, [ebp - 0x19448]
push eax
mov ecx, dword [ebp - 0x19118]
push ecx
call fcn.004aaff7
add esp, 8
lea edx, [ebp - 0x19448]
push edx
push str._23s__:
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0xc
mov dword [ebp - 0x19114], 1
jmp 0x4acf59
mov ecx, dword [ebp - 0x19114]
add ecx, 1
mov dword [ebp - 0x19114], ecx
mov edx, dword [0x673b98]
add edx, 1
cmp dword [ebp - 0x19114], edx
jge 0x4acfb0
mov eax, dword [ebp - 0x19114]
imul eax, eax, 0xd4
mov ecx, dword [ebp - 0x19118]
mov edx, dword [eax + ecx*4 + 0x5e91d4]
push edx
push 0x5c389c
lea eax, [ebp - 0x193bc]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x193bc]
push ecx
lea edx, [ebp - 0x19318]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x4acf4a
lea eax, [ebp - 0x19318]
push eax
lea ecx, [ebp - 0x19110]
push ecx
call fcn.0054bea0
add esp, 8
mov edx, dword [ebp - 0x193c4]
push edx
push str._:_Total_:__10d_r_n
lea eax, [ebp - 0x19448]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x19448]
push ecx
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x4ace64
jmp 0x4ad156
mov dword [ebp - 0x19454], 1
mov dword [ebp - 0x19118], 0
jmp 0x4ad026
mov eax, dword [ebp - 0x19118]
add eax, 1
mov dword [ebp - 0x19118], eax
cmp dword [ebp - 0x19118], 0x35
jge 0x4ad156
mov dword [ebp - 0x193c4], 0
mov dword [ebp - 0x19114], 1
jmp 0x4ad058
mov ecx, dword [ebp - 0x19114]
add ecx, 1
mov dword [ebp - 0x19114], ecx
mov edx, dword [0x673b98]
add edx, 1
cmp dword [ebp - 0x19114], edx
jge 0x4ad090
mov eax, dword [ebp - 0x19114]
imul eax, eax, 0xd4
mov ecx, dword [ebp - 0x19118]
mov edx, dword [ebp - 0x193c4]
add edx, dword [eax + ecx*4 + 0x5e91d4]
mov dword [ebp - 0x193c4], edx
jmp 0x4ad049
cmp dword [ebp - 0x193c4], 0
jle 0x4ad0db
cmp dword [ebp - 0x19454], 0
je 0x4ad0db
push 0x5c38b4
push str._r_n_s_r_n
lea eax, [ebp - 0x19318]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x19318]
push ecx
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
mov dword [ebp - 0x19454], 0
cmp dword [ebp - 0x19118], 0
jle 0x4ad151
cmp dword [ebp - 0x193c4], 0
jle 0x4ad151
push 0x80
push 0
lea eax, [ebp - 0x19448]
push eax
call fcn.0054bf90
add esp, 0xc
lea ecx, [ebp - 0x19448]
push ecx
mov edx, dword [ebp - 0x19118]
push edx
call fcn.004aaff7
add esp, 8
mov eax, dword [ebp - 0x193c4]
push eax
lea ecx, [ebp - 0x19448]
push ecx
push str._25s_:__:_Total_:__10d_r_n
lea edx, [ebp - 0x19318]
push edx
call fcn.0054c6e3
add esp, 0x10
lea eax, [ebp - 0x19318]
push eax
lea ecx, [ebp - 0x19110]
push ecx
call fcn.0054bea0
add esp, 8
jmp 0x4ad017
push str._r_n_______________________________________________________________________________________r_n_r_n_r_n
lea edx, [ebp - 0x19110]
push edx
call fcn.0054bea0
add esp, 8
lea eax, [ebp - 0x19110]
push eax
call fcn.0054ce70
add esp, 4
push eax
lea ecx, [ebp - 0x19110]
push ecx
lea ecx, [ebp - 0x19328]
call fcn.00566980
lea ecx, [ebp - 0x19328]
call fcn.00566a44
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19328]
call fcn.0056676c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret