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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x14
add esp, 0xfffff004
push eax
dec eax
jne 0x442dd9
mov eax, dword [ebp - 4]
add esp, 0xfffff62c
push ebx
push esi
push edi
mov edi, eax
mov esi, 0x4b26ec
mov eax, 0x496580
call fcn.00482ea0
cmp byte [0x49596c], 0
jne 0x442e57
mov word [ebp - 0x2058], 8
mov eax, esi
call fcn.0040e004
add dword [ebp - 0x204c], 4
lea eax, [esi + 0xf8]
call fcn.0040e004
add dword [ebp - 0x204c], 4
lea eax, [esi + 0x1f0]
call fcn.0040e004
add dword [ebp - 0x204c], 4
inc dword [ebp - 0x204c]
sub dword [ebp - 0x204c], 0xd
inc byte [0x49596c]
mov dword [0x4b26e0], esi
mov eax, esi
call fcn.0040e19c
lea eax, [esi + 0xf8]
call fcn.0040e19c
lea eax, [esi + 0x1f0]
call fcn.0040e19c
test edi, edi
jne 0x442eb0
push esi
push 0x4388d1
push dword [0x4ad5a8]
push str.FINDFILES
push dword [0x49edec]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x442eb0
mov edx, dword [ebp - 0x2068]
mov dword fs:[0], edx
jmp 0x4435e1
push 0x4394cb
xor ecx, ecx
xor edx, edx
mov eax, 7
call fcn.0046aa14
test edi, edi
je 0x442f8b
push 0x4a80a9
lea ecx, [ebp - 0x2474]
push ecx
call fcn.00482a00
add esp, 8
mov al, 1
mov byte [esi + 0x6ea], al
mov byte [esi + 0x6e9], al
mov byte [esi + 0x6e8], 0
mov edx, 0x495b9e
lea eax, [esi + 0x1f0]
call fcn.0040e1cc
mov ebx, dword [0x4a90b8]
mov eax, esi
mov edx, ebx
call fcn.0040c8e8
lea edx, [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.0040c94c
lea edx, [ebx + 0x20]
lea eax, [esi + 0x20]
call fcn.0040ca08
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 0x443020
mov byte [ebp - 0x2474], 0
cmp byte [esi + 0x2e8], 0
je 0x443020
cmp byte [esi + 0x6eb], 0
je 0x442fbc
push 0x495d1e
lea edx, [ebp - 0x2474]
push edx
call fcn.00482924
add esp, 8
cmp byte [esi + 0x6ec], 0
je 0x442fd9
push 0x495ae7
lea ecx, [ebp - 0x2474]
push ecx
call fcn.00482924
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x442ff6
push 0x495d20
lea eax, [ebp - 0x2474]
push eax
call fcn.00482924
add esp, 8
push 0x495bba
lea edx, [ebp - 0x2474]
push edx
call fcn.00482924
add esp, 8
lea ecx, [esi + 0x2e8]
push ecx
lea eax, [ebp - 0x2474]
push eax
call fcn.00482924
add esp, 8
mov word [ebp - 0x2058], 0x14
xor edx, edx
push 0
mov dword [0x4b26e4], edx
mov byte [0x4b26e9], 0
mov byte [0x4b26e8], 1
push 0
cmp byte [esi + 0x6e8], 0
je 0x44305c
cmp dword [0x4afc0c], 0
jne 0x44305c
mov ecx, 1
jmp 0x44305e
xor ecx, ecx
test edi, edi
jne 0x44306a
lea edx, [esi + 0xf8]
jmp 0x44306c
mov edx, edi
lea eax, [ebp - 0x1424]
call fcn.0041135c
inc dword [ebp - 0x204c]
mov word [ebp - 0x2058], 0x20
lea eax, [ebp - 0x24fc]
call fcn.00411d14
lea eax, [ebp - 0x24d8]
call fcn.00411d14
lea eax, [ebp - 0x24b4]
call fcn.00411d14
jmp 0x443528
call fcn.00440e74
mov eax, dword [0x4b26e4]
test eax, eax
je 0x4430ce
mov edx, eax
mov eax, dword [0x4ad5b4]
call fcn.004382bc
xor edx, edx
mov dword [0x4b26e4], edx
xor ecx, ecx
mov cl, byte [ebp - 0x3110]
cmp ecx, 0x2e
jne 0x4430f0
xor eax, eax
mov al, byte [ebp - 0x310f]
cmp eax, 0x5c
jne 0x4430f0
lea edx, [ebp - 0x310e]
jmp 0x4430f6
lea edx, [ebp - 0x3110]
push edx
lea eax, [ebp - 0x3910]
push eax
call fcn.00482a00
add esp, 8
lea eax, [ebp - 0x3910]
mov edx, 0x50
call fcn.004416dc
push eax
mov eax, 0x523
call fcn.00410804
push eax
lea edx, [ebp - 0x3510]
push edx
call fcn.00486578
add esp, 0xc
lea ecx, [ebp - 0x3510]
push ecx
push 0x9b
push dword [0x4ad5b4]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [esi + 0x6ea], 0
je 0x443416
xor ebx, ebx
mov word [ebp - 0x2058], 0x20
mov byte [ebp - 0x2069], 0
lea eax, [esi + 0x1f0]
call fcn.0040e394
jmp 0x4431a1
lea edx, [ebp - 0x3110]
xor ecx, ecx
mov eax, edi
call fcn.00410af8
test al, al
je 0x4431a1
mov bl, 1
xor eax, eax
mov al, byte [edi]
cmp eax, 0x2a
jne 0x4431b2
cmp byte [edi + 1], 0
jne 0x4431b2
mov byte [ebp - 0x2069], 1
jmp 0x4431b2
lea eax, [esi + 0x1f0]
call fcn.0040e314
mov edi, eax
test eax, eax
jne 0x443174
test bl, bl
je 0x443416
cmp byte [ebp - 0x2069], 0
je 0x4431e4
cmp dword [0x4afc0c], 0
jne 0x4431e4
push 0
push 0
lea edx, [ebp - 0x3110]
mov eax, 0x4adfd0
xor ecx, ecx
call fcn.004590e0
mov ebx, eax
test bl, bl
je 0x443416
cmp byte [ebp - 0x2474], 0
setne al
and eax, 1
push eax
push 1
lea ecx, [ebp - 0x2d10]
lea edx, [ebp - 0x3110]
mov eax, 0x4adfd0
call fcn.00457b40
mov word [ebp - 0x2058], 0x20
cmp eax, 2
je 0x44354a
dec eax
jne 0x443416
push 0
push 0
lea ecx, [ebp - 0x3d10]
lea edx, [ebp - 0x3110]
mov eax, 0x4adfd0
call fcn.004590e0
mov ebx, eax
lea edx, [ebp - 0x3d10]
lea eax, [ebp - 0x3110]
call fcn.0040d81c
test eax, eax
je 0x4432e7
lea ecx, [ebp - 0x3d10]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x443275
xor ebx, ebx
jmp 0x4432e7
mov edx, 0x495d22
lea eax, [ebp - 0x3d10]
call fcn.0040ac28
lea edx, [ebp - 0x3d10]
lea eax, [ebp - 0x3110]
call fcn.0040d81c
test eax, eax
je 0x4432af
lea ecx, [ebp - 0x3d10]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4432af
xor ebx, ebx
jmp 0x4432e7
mov edx, 0x495b9a
lea eax, [ebp - 0x3d10]
call fcn.0040ac28
lea edx, [ebp - 0x3d10]
lea eax, [ebp - 0x3110]
call fcn.0040d81c
test eax, eax
je 0x4432e7
lea ecx, [ebp - 0x3d10]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4432e7
xor ebx, ebx
test bl, bl
je 0x443528
cmp byte [ebp - 0x2474], 0
jne 0x443376
xor edi, edi
jmp 0x44334e
inc edi
test edi, 0x1f
jne 0x44330a
call fcn.00440e74
mov eax, esi
call fcn.0040e394
jmp 0x443341
lea edx, [ebp - 0x4940]
mov ecx, 3
mov eax, ebx
call fcn.00410af8
test al, al
je 0x443341
mov ecx, 0x495a5d
lea edx, [ebp - 0x4940]
lea eax, [ebp - 0x3110]
call fcn.00443670
jmp 0x44334e
mov eax, esi
call fcn.0040e314
mov ebx, eax
test eax, eax
jne 0x443313
lea edx, [ebp - 0x4940]
mov eax, 0x4adfd0
mov cl, 1
call fcn.0045869c
test eax, eax
je 0x443528
cmp dword [0x4afc18], 0
je 0x4432fc
jmp 0x443528
lea edx, [ebp - 0x49d8]
mov eax, 0x4adfd0
call fcn.00459040
call fcn.0044f218
mov ecx, 0x4a88b8
mov edx, 0x4a84b8
mov eax, 0x4adfd0
call fcn.0045900c
mov edx, dword [ebp - 0x49c8]
mov dword [0x4a7c9c], edx
mov eax, dword [0x4a90b8]
call fcn.0040e19c
mov eax, esi
call fcn.0040e394
jmp 0x4433ca
mov edx, ebx
mov eax, dword [0x4a90b8]
call fcn.0040e1cc
mov eax, esi
call fcn.0040e314
mov ebx, eax
test eax, eax
jne 0x4433be
mov byte [0x4a77c2], 1
xor edx, edx
mov dword [0x4a7778], edx
xor ecx, ecx
mov dword [0x4a779c], ecx
lea eax, [ebp - 0x2474]
push eax
push 0x495d26
push 0x4a80a8
call fcn.00486578
add esp, 0xc
mov eax, 0x4adfd0
call fcn.00454be0
jmp 0x443528
cmp byte [esi + 0x6e9], 0
je 0x443528
xor ebx, ebx
mov word [ebp - 0x2058], 0x20
mov eax, esi
call fcn.0040e394
jmp 0x443451
lea edx, [ebp - 0x3110]
mov ecx, 3
mov eax, edi
call fcn.00410af8
test al, al
je 0x443451
mov bl, 1
jmp 0x44345e
mov eax, esi
call fcn.0040e314
mov edi, eax
test eax, eax
jne 0x443437
test bl, bl
je 0x443528
mov word [ebp - 0x2058], 0x2c
lea eax, [ebp - 0x2044]
call fcn.00408a64
inc dword [ebp - 0x204c]
mov word [ebp - 0x2058], 0x38
push 1
push 0
lea ecx, [ebp - 0x2d10]
lea edx, [ebp - 0x3110]
lea eax, [ebp - 0x2044]
call fcn.00408b50
test al, al
jne 0x4434c0
dec dword [ebp - 0x204c]
lea eax, [ebp - 0x2044]
mov edx, 2
call fcn.00408b08
jmp 0x443528
push 0
lea ecx, [ebp - 0x3110]
push ecx
lea ecx, [ebp - 0x2474]
xor edx, edx
xor eax, eax
call fcn.0040dd2c
jmp 0x4434ed
push 0
push 0
lea eax, [ebp - 0x149d8]
xor ecx, ecx
mov edx, ebx
call fcn.0040dd2c
lea edx, [ebp - 0x149d8]
lea eax, [ebp - 0x2044]
mov ecx, 0x10000
call fcn.00409054
mov ebx, eax
test eax, eax
jne 0x4434da
dec dword [ebp - 0x204c]
lea eax, [ebp - 0x2044]
mov edx, 2
call fcn.00408b08
mov word [ebp - 0x2058], 0x20
lea edx, [ebp - 0x3110]
lea eax, [ebp - 0x1424]
call fcn.00411470
test eax, eax
jne 0x44354a
cmp dword [0x4afc18], 0
je 0x4430ac
mov byte [0x4b26e8], 0
mov eax, dword [0x4b26e4]
test eax, eax
je 0x44356e
mov edx, eax
mov eax, dword [0x4ad5b4]
call fcn.004382bc
xor edx, edx
mov dword [0x4b26e4], edx
mov byte [0x4b26e9], 0
mov eax, 0x270
call fcn.00410804
push eax
push 0x9b
push dword [0x4ad5b4]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x4afc18], 0
je 0x4435a6
push dword [0x4ad5b4]
call sub.USER32.DLL_DestroyWindow
jmp 0x4435ab
call fcn.0046c2f0
cmp dword [0x4afc0c], 0
je 0x4435be
mov eax, 0x4ad5bc
call fcn.0045b6f8
dec dword [ebp - 0x204c]
lea eax, [ebp - 0x1424]
mov edx, 2
call fcn.00411414
mov ecx, dword [ebp - 0x2068]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret