Function at 0x44a354
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 0x44a35d
mov eax, dword [ebp - 4]
add esp, 0xfffff608
push ebx
push esi
push edi
mov edi, eax
mov esi, 0x4c48d0
mov eax, 0x4a4e40
call fcn.00494df8
cmp byte [0x4a3bde], 0
jne 0x44a3db
mov word [ebp - 0x3060], 8
mov eax, esi
call fcn.0040f5c0
add dword [ebp - 0x3054], 4
lea eax, [esi + 0xf8]
call fcn.0040f5c0
add dword [ebp - 0x3054], 4
lea eax, [esi + 0x1f0]
call fcn.0040f5c0
add dword [ebp - 0x3054], 4
inc dword [ebp - 0x3054]
sub dword [ebp - 0x3054], 0xd
inc byte [0x4a3bde]
mov dword [0x4c48c4], esi
mov eax, esi
call fcn.0040f714
lea eax, [esi + 0xf8]
call fcn.0040f714
lea eax, [esi + 0x1f0]
call fcn.0040f714
cmp dword [0x4c3de0], 0
setne dl
and edx, 1
mov byte [esi + 0x6ee], dl
mov byte [esi + 0x6ef], 0
test edi, edi
jne 0x44a44e
push esi
push 0x43ec6a
push dword [0x4c1440]
push str.FINDFILES
push dword [0x4ae754]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x44a44e
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
jmp 0x44ac06
push 0x43f881
xor ecx, ecx
xor edx, edx
mov eax, 7
call fcn.0047c8e4
mov eax, 0x1390
call fcn.0047e910
test edi, edi
je 0x44a533
push 0x4b9285
lea edx, [ebp - 0x347c]
push edx
call fcn.004949c8
add esp, 8
mov cl, 1
mov byte [esi + 0x6ea], cl
mov byte [esi + 0x6e9], cl
mov byte [esi + 0x6e8], 0
mov edx, 0x4a3eb5
lea eax, [esi + 0x1f0]
call fcn.0040f744
mov ebx, dword [0x4baab4]
mov eax, esi
mov edx, ebx
call fcn.0040dd20
lea edx, [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.00401b6c
lea edx, [ebx + 0x20]
lea eax, [esi + 0x20]
call fcn.0040dd50
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 0x44a5c8
mov byte [ebp - 0x347c], 0
cmp byte [esi + 0x2e8], 0
je 0x44a5c8
cmp byte [esi + 0x6eb], 0
je 0x44a564
push str.cfg_
lea edx, [ebp - 0x347c]
push edx
call fcn.004948ec
add esp, 8
cmp byte [esi + 0x6ec], 0
je 0x44a581
push 0x4a3dbe
lea ecx, [ebp - 0x347c]
push ecx
call fcn.004948ec
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x44a59e
push 0x4a4083
lea eax, [ebp - 0x347c]
push eax
call fcn.004948ec
add esp, 8
push 0x4a3ed6
lea edx, [ebp - 0x347c]
push edx
call fcn.004948ec
add esp, 8
lea ecx, [esi + 0x2e8]
push ecx
lea eax, [ebp - 0x347c]
push eax
call fcn.004948ec
add esp, 8
cmp dword [0x4c3de0], 0
je 0x44a5e7
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c219c
call fcn.004623c4
mov word [ebp - 0x3060], 0x14
xor edx, edx
push 0
mov dword [0x4c48c8], edx
mov byte [0x4c48cd], 0
mov byte [0x4c48cc], 1
push 0
cmp byte [esi + 0x6e8], 0
mov ecx, 1
je 0x44a621
cmp byte [esi + 0x6ee], 0
je 0x44a622
dec ecx
test edi, edi
jne 0x44a62e
lea edx, [esi + 0xf8]
jmp 0x44a630
mov edx, edi
lea eax, [ebp - 0x242c]
call fcn.00412c98
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x20
lea eax, [ebp - 0x451c]
call fcn.00413750
lea eax, [ebp - 0x44f0]
call fcn.00413750
lea eax, [ebp - 0x44c4]
call fcn.00413750
jmp 0x44ab2e
call fcn.004481c8
mov eax, dword [0x4c48c8]
test eax, eax
je 0x44a692
mov edx, eax
mov eax, dword [0x4c144c]
call fcn.0043e641
xor edx, edx
mov dword [0x4c48c8], edx
xor ecx, ecx
mov cl, byte [ebp - 0x5130]
cmp ecx, 0x2e
jne 0x44a6b4
xor eax, eax
mov al, byte [ebp - 0x512f]
cmp eax, 0x5c
jne 0x44a6b4
lea edx, [ebp - 0x512e]
jmp 0x44a6ba
lea edx, [ebp - 0x5130]
push edx
lea eax, [ebp - 0x5930]
push eax
call fcn.004949c8
add esp, 8
lea eax, [ebp - 0x5930]
mov edx, 0x50
call fcn.00448a2c
push eax
mov eax, 0x523
call fcn.00411fe8
push eax
lea edx, [ebp - 0x5530]
push edx
call fcn.00497928
add esp, 0xc
lea ecx, [ebp - 0x5530]
push ecx
push 0x9b
push dword [0x4c144c]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [esi + 0x6ea], 0
je 0x44a9e3
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov byte [ebp - 0x3071], 0
lea eax, [esi + 0x1f0]
call fcn.0040f90c
jmp 0x44a765
lea edx, [ebp - 0x5130]
xor ecx, ecx
mov eax, edi
call fcn.004123a8
test al, al
je 0x44a765
mov bl, 1
xor eax, eax
mov al, byte [edi]
cmp eax, 0x2a
jne 0x44a776
cmp byte [edi + 1], 0
jne 0x44a776
mov byte [ebp - 0x3071], 1
jmp 0x44a776
lea eax, [esi + 0x1f0]
call fcn.0040f88c
mov edi, eax
test eax, eax
jne 0x44a738
test bl, bl
je 0x44a9e3
cmp byte [ebp - 0x3071], 0
je 0x44a7aa
cmp byte [esi + 0x6ee], 0
jne 0x44a7aa
push 0
push 0
push 0
lea edx, [ebp - 0x5130]
mov eax, 0x4c219c
xor ecx, ecx
call fcn.004624c4
mov ebx, eax
test bl, bl
je 0x44a9e3
cmp byte [ebp - 0x347c], 0
setne al
and eax, 1
push eax
push 1
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c219c
call fcn.00460e08
mov word [ebp - 0x3060], 0x20
cmp eax, 2
je 0x44ab50
dec eax
jne 0x44a9e3
mov byte [ebp - 0x5d30], 0
push 0
push 0
push 0
lea ecx, [ebp - 0x5d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c219c
call fcn.004624c4
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040edcc
test eax, eax
je 0x44a8b4
lea edx, [ebp - 0x5d30]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44a842
xor ebx, ebx
jmp 0x44a8b4
mov edx, 0x4a4085
lea eax, [ebp - 0x5d30]
call fcn.0040bd60
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040edcc
test eax, eax
je 0x44a87c
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44a87c
xor ebx, ebx
jmp 0x44a8b4
mov edx, 0x4a3eb1
lea eax, [ebp - 0x5d30]
call fcn.0040bd60
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040edcc
test eax, eax
je 0x44a8b4
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44a8b4
xor ebx, ebx
test bl, bl
je 0x44ab2e
cmp byte [ebp - 0x347c], 0
jne 0x44a943
xor edi, edi
jmp 0x44a91b
inc edi
test edi, 0x1f
jne 0x44a8d7
call fcn.004481c8
mov eax, esi
call fcn.0040f90c
jmp 0x44a90e
lea edx, [ebp - 0x6960]
mov ecx, 3
mov eax, ebx
call fcn.004123a8
test al, al
je 0x44a90e
mov ecx, 0x4a3d11
lea edx, [ebp - 0x6960]
lea eax, [ebp - 0x5130]
call fcn.0044ac74
jmp 0x44a91b
mov eax, esi
call fcn.0040f88c
mov ebx, eax
test eax, eax
jne 0x44a8e0
lea edx, [ebp - 0x6960]
mov eax, 0x4c219c
mov cl, 1
call fcn.00461960
test eax, eax
je 0x44ab2e
cmp dword [0x4c3df0], 0
je 0x44a8c9
jmp 0x44ab2e
lea edx, [ebp - 0x69fc]
mov eax, 0x4c219c
call fcn.00462424
call fcn.00456acc
mov ecx, 0x4ba2b4
mov edx, 0x4b9eb4
mov eax, 0x4c219c
call fcn.004623f0
mov edx, dword [ebp - 0x69ec]
mov dword [0x4b8a6c], edx
mov eax, dword [0x4baab4]
call fcn.0040f714
mov eax, esi
call fcn.0040f90c
jmp 0x44a997
mov edx, ebx
mov eax, dword [0x4baab4]
call fcn.0040f744
mov eax, esi
call fcn.0040f88c
mov ebx, eax
test eax, eax
jne 0x44a98b
mov byte [0x4b818a], 1
xor edx, edx
mov dword [0x4b8120], edx
xor ecx, ecx
mov dword [0x4b814c], ecx
lea eax, [ebp - 0x347c]
push eax
push 0x4a4089
push 0x4b9284
call fcn.00497928
add esp, 0xc
mov eax, 0x4c219c
call fcn.0045db1c
jmp 0x44ab2e
cmp byte [esi + 0x6e9], 0
je 0x44ab2e
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov eax, esi
call fcn.0040f90c
jmp 0x44aa1e
lea edx, [ebp - 0x5130]
mov ecx, 3
mov eax, edi
call fcn.004123a8
test al, al
je 0x44aa1e
mov bl, 1
jmp 0x44aa2b
mov eax, esi
call fcn.0040f88c
mov edi, eax
test eax, eax
jne 0x44aa04
test bl, bl
je 0x44ab2e
cmp byte [ebp - 0x347c], 0
jne 0x44aa6c
push 0
lea edx, [ebp - 0x5130]
push edx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f2e8
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
xor edx, edx
call fcn.0040f2e8
jmp 0x44ab2e
mov word [ebp - 0x3060], 0x2c
lea eax, [ebp - 0x304c]
call fcn.00409424
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.00409518
test al, al
jne 0x44aac6
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004094d4
jmp 0x44ab2e
push 0
lea ecx, [ebp - 0x5130]
push ecx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f2e8
jmp 0x44aaf3
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
mov edx, ebx
call fcn.0040f2e8
lea edx, [ebp - 0x169fc]
lea eax, [ebp - 0x304c]
mov ecx, 0x10000
call fcn.00409aa0
mov ebx, eax
test eax, eax
jne 0x44aae0
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004094d4
mov word [ebp - 0x3060], 0x20
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x242c]
call fcn.00412dcc
test eax, eax
jne 0x44ab50
cmp dword [0x4c3df0], 0
je 0x44a670
mov byte [0x4c48cc], 0
mov eax, dword [0x4c48c8]
test eax, eax
je 0x44ab74
mov edx, eax
mov eax, dword [0x4c144c]
call fcn.0043e641
xor edx, edx
mov dword [0x4c48c8], edx
mov byte [0x4c48cd], 0
mov eax, 0x270
call fcn.00411fe8
push eax
push 0x9b
push dword [0x4c144c]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x4c3df0], 0
je 0x44abac
push dword [0x4c144c]
call sub.USER32.DLL_DestroyWindow
jmp 0x44abb1
call fcn.0047e668
cmp dword [0x4c3de0], 0
je 0x44abe3
cmp byte [esi + 0x6ef], 0
jne 0x44abd9
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c219c
call fcn.0046222c
mov eax, 0x4c1454
call fcn.00464f18
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x242c]
mov edx, 2
call fcn.00412d70
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret