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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x16
add esp, 0xfffff004
push eax
dec eax
jne 0x44a5ed
mov eax, dword [ebp - 4]
add esp, 0xfffff608
push ebx
push esi
push edi
mov edi, eax
mov esi, 0x4c58d0
mov eax, 0x4a5e40
call fcn.00495388
cmp byte [0x4a4bde], 0
jne 0x44a66b
mov word [ebp - 0x3060], 8
mov eax, esi
call fcn.0040f5f8
add dword [ebp - 0x3054], 4
lea eax, [esi + 0xf8]
call fcn.0040f5f8
add dword [ebp - 0x3054], 4
lea eax, [esi + 0x1f0]
call fcn.0040f5f8
add dword [ebp - 0x3054], 4
inc dword [ebp - 0x3054]
sub dword [ebp - 0x3054], 0xd
inc byte [0x4a4bde]
mov dword [0x4c58c4], esi
mov eax, esi
call fcn.0040f74c
lea eax, [esi + 0xf8]
call fcn.0040f74c
lea eax, [esi + 0x1f0]
call fcn.0040f74c
cmp dword [0x4c4de0], 0
setne dl
and edx, 1
mov byte [esi + 0x6ee], dl
mov byte [esi + 0x6ef], 0
test edi, edi
jne 0x44a6de
push esi
push 0x43eeb8
push dword [0x4c2440]
push str.FINDFILES
push dword [0x4af754]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x44a6de
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
jmp 0x44ae99
push 0x43facf
xor ecx, ecx
xor edx, edx
mov eax, 7
call fcn.0047cd94
mov eax, 0x1390
call fcn.0047edd4
test edi, edi
je 0x44a7c3
push 0x4ba285
lea edx, [ebp - 0x347c]
push edx
call fcn.00494f58
add esp, 8
mov cl, 1
mov byte [esi + 0x6ea], cl
mov byte [esi + 0x6e9], cl
mov byte [esi + 0x6e8], 0
mov edx, 0x4a4eb5
lea eax, [esi + 0x1f0]
call fcn.0040f77c
mov ebx, dword [0x4bbab4]
mov eax, esi
mov edx, ebx
call fcn.0040dde4
lea edx, [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.00401b6c
lea edx, [ebx + 0x20]
lea eax, [esi + 0x20]
call fcn.0040de48
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov edx, dword [ebx + 0x2c]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x30], ecx
push esi
push edi
lea edi, [esi + 0x34]
lea esi, [ebx + 0x34]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [esi + 0x74]
lea esi, [ebx + 0x74]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [esi + 0xb4]
lea esi, [ebx + 0xb4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebx + 0xf4]
mov dword [esi + 0xf4], eax
jmp 0x44a858
mov byte [ebp - 0x347c], 0
cmp byte [esi + 0x2e8], 0
je 0x44a858
cmp byte [esi + 0x6eb], 0
je 0x44a7f4
push str.cfg_
lea edx, [ebp - 0x347c]
push edx
call fcn.00494e7c
add esp, 8
cmp byte [esi + 0x6ec], 0
je 0x44a811
push 0x4a4dbe
lea ecx, [ebp - 0x347c]
push ecx
call fcn.00494e7c
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x44a82e
push 0x4a5083
lea eax, [ebp - 0x347c]
push eax
call fcn.00494e7c
add esp, 8
push 0x4a4ed6
lea edx, [ebp - 0x347c]
push edx
call fcn.00494e7c
add esp, 8
lea ecx, [esi + 0x2e8]
push ecx
lea eax, [ebp - 0x347c]
push eax
call fcn.00494e7c
add esp, 8
cmp dword [0x4c4de0], 0
je 0x44a877
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c319c
call fcn.004626e4
mov word [ebp - 0x3060], 0x14
xor edx, edx
push 0
mov dword [0x4c58c8], edx
mov byte [0x4c58cd], 0
mov byte [0x4c58cc], 1
push 0
cmp byte [esi + 0x6e8], 0
je 0x44a8b3
cmp byte [esi + 0x6ee], 0
jne 0x44a8b3
mov ecx, 1
jmp 0x44a8b5
xor ecx, ecx
test edi, edi
jne 0x44a8c1
lea edx, [esi + 0xf8]
jmp 0x44a8c3
mov edx, edi
lea eax, [ebp - 0x242c]
call fcn.00412cdc
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x20
lea eax, [ebp - 0x451c]
call fcn.004137a4
lea eax, [ebp - 0x44f0]
call fcn.004137a4
lea eax, [ebp - 0x44c4]
call fcn.004137a4
jmp 0x44adc1
call fcn.0044844c
mov eax, dword [0x4c58c8]
test eax, eax
je 0x44a925
mov edx, eax
mov eax, dword [0x4c244c]
call fcn.0043e88f
xor edx, edx
mov dword [0x4c58c8], edx
xor ecx, ecx
mov cl, byte [ebp - 0x5130]
cmp ecx, 0x2e
jne 0x44a947
xor eax, eax
mov al, byte [ebp - 0x512f]
cmp eax, 0x5c
jne 0x44a947
lea edx, [ebp - 0x512e]
jmp 0x44a94d
lea edx, [ebp - 0x5130]
push edx
lea eax, [ebp - 0x5930]
push eax
call fcn.00494f58
add esp, 8
lea eax, [ebp - 0x5930]
mov edx, 0x50
call fcn.00448cb0
push eax
mov eax, 0x523
call fcn.0041202c
push eax
lea edx, [ebp - 0x5530]
push edx
call fcn.00497eb8
add esp, 0xc
lea ecx, [ebp - 0x5530]
push ecx
push 0x9b
push dword [0x4c244c]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [esi + 0x6ea], 0
je 0x44ac76
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov byte [ebp - 0x3071], 0
lea eax, [esi + 0x1f0]
call fcn.0040f944
jmp 0x44a9f8
lea edx, [ebp - 0x5130]
xor ecx, ecx
mov eax, edi
call fcn.004123ec
test al, al
je 0x44a9f8
mov bl, 1
xor eax, eax
mov al, byte [edi]
cmp eax, 0x2a
jne 0x44aa09
cmp byte [edi + 1], 0
jne 0x44aa09
mov byte [ebp - 0x3071], 1
jmp 0x44aa09
lea eax, [esi + 0x1f0]
call fcn.0040f8c4
mov edi, eax
test eax, eax
jne 0x44a9cb
test bl, bl
je 0x44ac76
cmp byte [ebp - 0x3071], 0
je 0x44aa3d
cmp byte [esi + 0x6ee], 0
jne 0x44aa3d
push 0
push 0
push 0
lea edx, [ebp - 0x5130]
mov eax, 0x4c319c
xor ecx, ecx
call fcn.004627e4
mov ebx, eax
test bl, bl
je 0x44ac76
cmp byte [ebp - 0x347c], 0
setne al
and eax, 1
push eax
push 1
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c319c
call fcn.00461128
mov word [ebp - 0x3060], 0x20
cmp eax, 2
je 0x44ade3
dec eax
jne 0x44ac76
mov byte [ebp - 0x5d30], 0
push 0
push 0
push 0
lea ecx, [ebp - 0x5d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c319c
call fcn.004627e4
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040ee00
test eax, eax
je 0x44ab47
lea edx, [ebp - 0x5d30]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44aad5
xor ebx, ebx
jmp 0x44ab47
mov edx, 0x4a5085
lea eax, [ebp - 0x5d30]
call fcn.0040bd90
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040ee00
test eax, eax
je 0x44ab0f
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44ab0f
xor ebx, ebx
jmp 0x44ab47
mov edx, 0x4a4eb1
lea eax, [ebp - 0x5d30]
call fcn.0040bd90
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040ee00
test eax, eax
je 0x44ab47
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44ab47
xor ebx, ebx
test bl, bl
je 0x44adc1
cmp byte [ebp - 0x347c], 0
jne 0x44abd6
xor edi, edi
jmp 0x44abae
inc edi
test edi, 0x1f
jne 0x44ab6a
call fcn.0044844c
mov eax, esi
call fcn.0040f944
jmp 0x44aba1
lea edx, [ebp - 0x6960]
mov ecx, 3
mov eax, ebx
call fcn.004123ec
test al, al
je 0x44aba1
mov ecx, 0x4a4d11
lea edx, [ebp - 0x6960]
lea eax, [ebp - 0x5130]
call fcn.0044af04
jmp 0x44abae
mov eax, esi
call fcn.0040f8c4
mov ebx, eax
test eax, eax
jne 0x44ab73
lea edx, [ebp - 0x6960]
mov eax, 0x4c319c
mov cl, 1
call fcn.00461c80
test eax, eax
je 0x44adc1
cmp dword [0x4c4df0], 0
je 0x44ab5c
jmp 0x44adc1
lea edx, [ebp - 0x69fc]
mov eax, 0x4c319c
call fcn.00462744
call fcn.00456dc0
mov ecx, 0x4bb2b4
mov edx, 0x4baeb4
mov eax, 0x4c319c
call fcn.00462710
mov edx, dword [ebp - 0x69ec]
mov dword [0x4b9a6c], edx
mov eax, dword [0x4bbab4]
call fcn.0040f74c
mov eax, esi
call fcn.0040f944
jmp 0x44ac2a
mov edx, ebx
mov eax, dword [0x4bbab4]
call fcn.0040f77c
mov eax, esi
call fcn.0040f8c4
mov ebx, eax
test eax, eax
jne 0x44ac1e
mov byte [0x4b918a], 1
xor edx, edx
mov dword [0x4b9120], edx
xor ecx, ecx
mov dword [0x4b914c], ecx
lea eax, [ebp - 0x347c]
push eax
push 0x4a5089
push 0x4ba284
call fcn.00497eb8
add esp, 0xc
mov eax, 0x4c319c
call fcn.0045de20
jmp 0x44adc1
cmp byte [esi + 0x6e9], 0
je 0x44adc1
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov eax, esi
call fcn.0040f944
jmp 0x44acb1
lea edx, [ebp - 0x5130]
mov ecx, 3
mov eax, edi
call fcn.004123ec
test al, al
je 0x44acb1
mov bl, 1
jmp 0x44acbe
mov eax, esi
call fcn.0040f8c4
mov edi, eax
test eax, eax
jne 0x44ac97
test bl, bl
je 0x44adc1
cmp byte [ebp - 0x347c], 0
jne 0x44acff
push 0
lea edx, [ebp - 0x5130]
push edx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f320
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
xor edx, edx
call fcn.0040f320
jmp 0x44adc1
mov word [ebp - 0x3060], 0x2c
lea eax, [ebp - 0x304c]
call fcn.00409448
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x38
push 1
push 0
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x304c]
call fcn.00409540
test al, al
jne 0x44ad59
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004094f8
jmp 0x44adc1
push 0
lea ecx, [ebp - 0x5130]
push ecx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f320
jmp 0x44ad86
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
mov edx, ebx
call fcn.0040f320
lea edx, [ebp - 0x169fc]
lea eax, [ebp - 0x304c]
mov ecx, 0x10000
call fcn.00409acc
mov ebx, eax
test eax, eax
jne 0x44ad73
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004094f8
mov word [ebp - 0x3060], 0x20
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x242c]
call fcn.00412e10
test eax, eax
jne 0x44ade3
cmp dword [0x4c4df0], 0
je 0x44a903
mov byte [0x4c58cc], 0
mov eax, dword [0x4c58c8]
test eax, eax
je 0x44ae07
mov edx, eax
mov eax, dword [0x4c244c]
call fcn.0043e88f
xor edx, edx
mov dword [0x4c58c8], edx
mov byte [0x4c58cd], 0
mov eax, 0x270
call fcn.0041202c
push eax
push 0x9b
push dword [0x4c244c]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x4c4df0], 0
je 0x44ae3f
push dword [0x4c244c]
call sub.USER32.DLL_DestroyWindow
jmp 0x44ae44
call fcn.0047eb2c
cmp dword [0x4c4de0], 0
je 0x44ae76
cmp byte [esi + 0x6ef], 0
jne 0x44ae6c
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c319c
call fcn.0046254c
mov eax, 0x4c2454
call fcn.00465248
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x242c]
mov edx, 2
call fcn.00412db4
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret