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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x15
add esp, 0xfffff004
push eax
dec eax
jne 0x446409
mov eax, dword [ebp - 4]
add esp, 0xfffff208
push ebx
push esi
push edi
mov edi, eax
mov esi, 0x4be090
mov eax, 0x49da3c
call fcn.0048dbf8
cmp byte [0x49c8d2], 0
jne 0x446487
mov word [ebp - 0x3060], 8
mov eax, esi
call fcn.0040ee04
add dword [ebp - 0x3054], 4
lea eax, [esi + 0xf8]
call fcn.0040ee04
add dword [ebp - 0x3054], 4
lea eax, [esi + 0x1f0]
call fcn.0040ee04
add dword [ebp - 0x3054], 4
inc dword [ebp - 0x3054]
sub dword [ebp - 0x3054], 0xd
inc byte [0x49c8d2]
mov dword [0x4be084], esi
mov eax, esi
call fcn.0040ef9c
lea eax, [esi + 0xf8]
call fcn.0040ef9c
lea eax, [esi + 0x1f0]
call fcn.0040ef9c
cmp dword [0x4bc1a8], 0
setne dl
and edx, 1
test edi, edi
mov byte [esi + 0x6ee], dl
jne 0x4464f3
push esi
push 0x43b2d4
push dword [0x4b9820]
push str.FINDFILES
push dword [0x4a6fb8]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x4464f3
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
jmp 0x446c70
push 0x43bee8
xor ecx, ecx
xor edx, edx
mov eax, 7
call fcn.00475d6c
mov eax, 0x1390
call fcn.00477cb0
test edi, edi
je 0x4465d8
push 0x4b1a95
lea edx, [ebp - 0x347c]
push edx
call fcn.0048d758
add esp, 8
mov cl, 1
mov byte [esi + 0x6ea], cl
mov byte [esi + 0x6e9], cl
mov byte [esi + 0x6e8], 0
mov edx, 0x49cb51
lea eax, [esi + 0x1f0]
call fcn.0040efcc
mov ebx, dword [0x4b32c4]
mov eax, esi
mov edx, ebx
call fcn.0040d800
lea edx, [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.0040d864
lea edx, [ebx + 0x20]
lea eax, [esi + 0x20]
call fcn.0040d920
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 0x44666d
mov byte [ebp - 0x347c], 0
cmp byte [esi + 0x2e8], 0
je 0x44666d
cmp byte [esi + 0x6eb], 0
je 0x446609
push str.cfg_
lea edx, [ebp - 0x347c]
push edx
call fcn.0048d67c
add esp, 8
cmp byte [esi + 0x6ec], 0
je 0x446626
push 0x49ca76
lea ecx, [ebp - 0x347c]
push ecx
call fcn.0048d67c
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x446643
push 0x49cd1f
lea eax, [ebp - 0x347c]
push eax
call fcn.0048d67c
add esp, 8
push 0x49cb72
lea edx, [ebp - 0x347c]
push edx
call fcn.0048d67c
add esp, 8
lea ecx, [esi + 0x2e8]
push ecx
lea eax, [ebp - 0x347c]
push eax
call fcn.0048d67c
add esp, 8
mov word [ebp - 0x3060], 0x14
xor edx, edx
push 0
mov dword [0x4be088], edx
mov byte [0x4be08d], 0
mov byte [0x4be08c], 1
push 0
cmp byte [esi + 0x6e8], 0
je 0x4466a9
cmp byte [esi + 0x6ee], 0
jne 0x4466a9
mov ecx, 1
jmp 0x4466ab
xor ecx, ecx
test edi, edi
jne 0x4466b7
lea edx, [esi + 0xf8]
jmp 0x4466b9
mov edx, edi
lea eax, [ebp - 0x242c]
call fcn.0041232c
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x20
lea eax, [ebp - 0x391c]
call fcn.00412df4
lea eax, [ebp - 0x38f0]
call fcn.00412df4
lea eax, [ebp - 0x38c4]
call fcn.00412df4
jmp 0x446bb7
call fcn.00444258
mov eax, dword [0x4be088]
test eax, eax
je 0x44671b
mov edx, eax
mov eax, dword [0x4b982c]
call fcn.0043acbf
xor edx, edx
mov dword [0x4be088], edx
xor ecx, ecx
mov cl, byte [ebp - 0x4530]
cmp ecx, 0x2e
jne 0x44673d
xor eax, eax
mov al, byte [ebp - 0x452f]
cmp eax, 0x5c
jne 0x44673d
lea edx, [ebp - 0x452e]
jmp 0x446743
lea edx, [ebp - 0x4530]
push edx
lea eax, [ebp - 0x4d30]
push eax
call fcn.0048d758
add esp, 8
lea eax, [ebp - 0x4d30]
mov edx, 0x50
call fcn.00444a90
push eax
mov eax, 0x523
call fcn.004116e0
push eax
lea edx, [ebp - 0x4930]
push edx
call fcn.00490628
add esp, 0xc
lea ecx, [ebp - 0x4930]
push ecx
push 0x9b
push dword [0x4b982c]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [esi + 0x6ea], 0
je 0x446a6c
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov byte [ebp - 0x3071], 0
lea eax, [esi + 0x1f0]
call fcn.0040f194
jmp 0x4467ee
lea edx, [ebp - 0x4530]
xor ecx, ecx
mov eax, edi
call fcn.00411a10
test al, al
je 0x4467ee
mov bl, 1
xor eax, eax
mov al, byte [edi]
cmp eax, 0x2a
jne 0x4467ff
cmp byte [edi + 1], 0
jne 0x4467ff
mov byte [ebp - 0x3071], 1
jmp 0x4467ff
lea eax, [esi + 0x1f0]
call fcn.0040f114
mov edi, eax
test eax, eax
jne 0x4467c1
test bl, bl
je 0x446a6c
cmp byte [ebp - 0x3071], 0
je 0x446833
cmp byte [esi + 0x6ee], 0
jne 0x446833
push 0
push 0
push 0
lea edx, [ebp - 0x4530]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045d1d0
mov ebx, eax
test bl, bl
je 0x446a6c
cmp byte [ebp - 0x347c], 0
setne al
and eax, 1
push eax
push 1
lea ecx, [ebp - 0x4130]
lea edx, [ebp - 0x4530]
mov eax, 0x4ba564
call fcn.0045bbc8
mov word [ebp - 0x3060], 0x20
cmp eax, 2
je 0x446bd9
dec eax
jne 0x446a6c
mov byte [ebp - 0x5130], 0
push 0
push 0
push 0
lea ecx, [ebp - 0x5130]
lea edx, [ebp - 0x4530]
mov eax, 0x4ba564
call fcn.0045d1d0
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x4530]
call fcn.0040e61c
test eax, eax
je 0x44693d
lea edx, [ebp - 0x5130]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4468cb
xor ebx, ebx
jmp 0x44693d
mov edx, 0x49cd21
lea eax, [ebp - 0x5130]
call fcn.0040b88c
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x4530]
call fcn.0040e61c
test eax, eax
je 0x446905
lea ecx, [ebp - 0x5130]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x446905
xor ebx, ebx
jmp 0x44693d
mov edx, 0x49cb4d
lea eax, [ebp - 0x5130]
call fcn.0040b88c
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x4530]
call fcn.0040e61c
test eax, eax
je 0x44693d
lea ecx, [ebp - 0x5130]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44693d
xor ebx, ebx
test bl, bl
je 0x446bb7
cmp byte [ebp - 0x347c], 0
jne 0x4469cc
xor edi, edi
jmp 0x4469a4
inc edi
test edi, 0x1f
jne 0x446960
call fcn.00444258
mov eax, esi
call fcn.0040f194
jmp 0x446997
lea edx, [ebp - 0x5d60]
mov ecx, 3
mov eax, ebx
call fcn.00411a10
test al, al
je 0x446997
mov ecx, 0x49c9d5
lea edx, [ebp - 0x5d60]
lea eax, [ebp - 0x4530]
call fcn.00446d00
jmp 0x4469a4
mov eax, esi
call fcn.0040f114
mov ebx, eax
test eax, eax
jne 0x446969
lea edx, [ebp - 0x5d60]
mov eax, 0x4ba564
mov cl, 1
call fcn.0045c720
test eax, eax
je 0x446bb7
cmp dword [0x4bc1b4], 0
je 0x446952
jmp 0x446bb7
lea edx, [ebp - 0x5dfc]
mov eax, 0x4ba564
call fcn.0045d130
call fcn.004524d0
mov ecx, 0x4b2ac4
mov edx, 0x4b26c4
mov eax, 0x4ba564
call fcn.0045d0fc
mov edx, dword [ebp - 0x5dec]
mov dword [0x4b127c], edx
mov eax, dword [0x4b32c4]
call fcn.0040ef9c
mov eax, esi
call fcn.0040f194
jmp 0x446a20
mov edx, ebx
mov eax, dword [0x4b32c4]
call fcn.0040efcc
mov eax, esi
call fcn.0040f114
mov ebx, eax
test eax, eax
jne 0x446a14
mov byte [0x4b09a2], 1
xor edx, edx
mov dword [0x4b0948], edx
xor ecx, ecx
mov dword [0x4b0974], ecx
lea eax, [ebp - 0x347c]
push eax
push 0x49cd25
push 0x4b1a94
call fcn.00490628
add esp, 0xc
mov eax, 0x4ba564
call fcn.00458a2c
jmp 0x446bb7
cmp byte [esi + 0x6e9], 0
je 0x446bb7
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov eax, esi
call fcn.0040f194
jmp 0x446aa7
lea edx, [ebp - 0x4530]
mov ecx, 3
mov eax, edi
call fcn.00411a10
test al, al
je 0x446aa7
mov bl, 1
jmp 0x446ab4
mov eax, esi
call fcn.0040f114
mov edi, eax
test eax, eax
jne 0x446a8d
test bl, bl
je 0x446bb7
cmp byte [ebp - 0x347c], 0
jne 0x446af5
push 0
lea edx, [ebp - 0x4530]
push edx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040eb2c
push 0
push 0
lea eax, [ebp - 0x15dfc]
xor ecx, ecx
xor edx, edx
call fcn.0040eb2c
jmp 0x446bb7
mov word [ebp - 0x3060], 0x2c
lea eax, [ebp - 0x304c]
call fcn.00409020
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x38
push 1
push 0
lea ecx, [ebp - 0x4130]
lea edx, [ebp - 0x4530]
lea eax, [ebp - 0x304c]
call fcn.00409118
test al, al
jne 0x446b4f
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004090d0
jmp 0x446bb7
push 0
lea ecx, [ebp - 0x4530]
push ecx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040eb2c
jmp 0x446b7c
push 0
push 0
lea eax, [ebp - 0x15dfc]
xor ecx, ecx
mov edx, ebx
call fcn.0040eb2c
lea edx, [ebp - 0x15dfc]
lea eax, [ebp - 0x304c]
mov ecx, 0x10000
call fcn.004096a4
mov ebx, eax
test eax, eax
jne 0x446b69
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004090d0
mov word [ebp - 0x3060], 0x20
lea edx, [ebp - 0x4530]
lea eax, [ebp - 0x242c]
call fcn.00412460
test eax, eax
jne 0x446bd9
cmp dword [0x4bc1b4], 0
je 0x4466f9
mov byte [0x4be08c], 0
mov eax, dword [0x4be088]
test eax, eax
je 0x446bfd
mov edx, eax
mov eax, dword [0x4b982c]
call fcn.0043acbf
xor edx, edx
mov dword [0x4be088], edx
mov byte [0x4be08d], 0
mov eax, 0x270
call fcn.004116e0
push eax
push 0x9b
push dword [0x4b982c]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x4bc1b4], 0
je 0x446c35
push dword [0x4b982c]
call sub.USER32.DLL_DestroyWindow
jmp 0x446c3a
call fcn.00477a0c
cmp dword [0x4bc1a8], 0
je 0x446c4d
mov eax, 0x4b9834
call fcn.0045fa58
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x242c]
mov edx, 2
call fcn.00412404
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret